[Bug 276281] lang/python39 fails to include tzset in time module

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Jan 2024 00:47:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276281

--- Comment #9 from Warner Losh <imp@FreeBSD.org> ---
ding ding ding
We have a winner

% ./foo
OK
I am: FreeBSD 15.0-CURRENT #58 main-n267479-18469e00dc45-dirty: Wed Jan 10
16:31:01 MST 2024    
imp@rebo:/usr/home/imp/obj/usr/home/imp/git/head/amd64.amd64/sys/GENERIC
15.0-CURRENT
% ./foo-32
Botch hour=10 not 11
Botch isdst=0 not 1
I am: FreeBSD 15.0-CURRENT #58 main-n267479-18469e00dc45-dirty: Wed Jan 10
16:31:01 MST 2024    
imp@rebo:/usr/home/imp/obj/usr/home/imp/git/head/amd64.amd64/sys/GENERIC
15.0-CURRENT
% file ./foo-32
./foo-32: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 15.0
(1500008), FreeBSD-style, with debug_info, not stripped
% file ./foo
./foo: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically
linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 15.0 (1500008),
FreeBSD-style, with debug_info, not stripped

And this suggests it may be i386 specific. On my aarch64 machine:

% ./foo
OK
I am: FreeBSD 15.0-CURRENT #16 main-n267501-62e8ccc3a489: Wed Jan 10 17:11:20
MST 2024    
imp@brazos:/usr/home/imp/obj/usr/home/imp/git/freebsd/arm64.aarch64/sys/GENERIC
15.0-CURRENT
% ./foo-32
OK
I am: FreeBSD 15.0-CURRENT #16 main-n267501-62e8ccc3a489: Wed Jan 10 17:11:20
MST 2024    
imp@brazos:/usr/home/imp/obj/usr/home/imp/git/freebsd/arm64.aarch64/sys/GENERIC
15.0-CURRENT
% file foo foo-32
foo:    ELF 64-bit LSB executable, ARM aarch64, version 1 (FreeBSD),
dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 15.0
(1500008), FreeBSD-style, with debug_info, not stripped
foo-32: ELF 32-bit LSB executable, ARM, EABI5 version 1 (FreeBSD), dynamically
linked, interpreter /libexec/ld-elf.so.1, FreeBSD-style, for FreeBSD 15.0
(1500008), with debug_info, not stripped

So (a) this is clearly a base system bug and (b) only appears to affect i386
(though I've not tested on powerpc since I have no powerpc gear running
FreeBSD).

-- 
You are receiving this mail because:
You are the assignee for the bug.