https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276281

Ken McDonell <k...@kenj.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@kenj.id.au

--- Comment #1 from Ken McDonell <k...@kenj.id.au> ---
Python here seems to be the victim, not the cause.

localtime() is not working correctly for FreeBSD 14.0 and is different to
FreeBSD 13.2 and Linux variants, and this is causing this code fragment in
lang/python39's configure.ac to fail ...

# check tzset(3) exists and works like we expect it to
..
        time_t groundhogday = 1044144000; /* GMT-based */
..
        putenv("TZ=AEST-10AEDT-11,M10.5.0,M3.5.0");
        tzset();
        if (localtime(&groundhogday)->tm_hour != 11)
            exit(1);

and so HAVE_WORKING_TZSET is NOT defined and so the tzset method is omitted
from the time module.

I've extracted the code fragment from configure.ac and FreeBSD 14.0 returns the
incorrect value 10 for tm_hour.

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

Reply via email to