From nobody Sat Jan 20 21:32:39 2024 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4THV7q4v3rz57YM1 for ; Sat, 20 Jan 2024 21:32:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4THV7q2Knqz4wl7 for ; Sat, 20 Jan 2024 21:32:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705786359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cwLZYxRfrvmA/4fu0vQebhWiiqXPWYUpJ5oYZYA+TX0=; b=Hca4CAB8DTqVdwdH3yhHuyd6Vh8rhS08jXyPC8RPZPy8ApGEWqodu/3ozOwF3EEzTmcw06 lfoGLzJrVi5s31Rkp1rYlKYbP+AEj9iaxEIYOCi/sfnaTgEA9SBSvwI6lXcNU/6qliqsUd OgVKtY5dNCZrQZhHmR6oby/sHfOtmQuhsQbM/owAHrAKdMty6ZN8lao+nxKkq0FnAlpqs1 adR5jTb7wjczSanCqhH6ApGp9XDGoX6cfAa8FFNQwEOBPGMhwGVm8ziqJTXAgEnzD8qUzF HCoACj9Ce1ZK7ugTGV/MFYTvylRbDXgi+0wWMUE61AMETLZAuQM0EESNjo9Jxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705786359; a=rsa-sha256; cv=none; b=CwyMFkT3ZjO9amLt4gq728Zbxzc+4SQCv3SxdGaLUGnmb6feqe4KsYz+9LjV+PV8gHHc6I VBCDDuI14vcl5Se3KMDiDnInX3NCIc5Rs4LBS9OZrmJ6OQevKf4N5jgI9ICsaSjOX+jdH2 GM6Hy95/0RvypA5SS0FrsebQDrfkccVUmZWEXbHcZrXYhM0LcIsBsDmowU9KYSMB24thd+ Ck/5bIxtyQnLKn8foz98iEBZZMICkPyKLYEkan7dJ5qv4x4L3XlbKpTTN4lkZmIgSZR844 dn0tNeUbS7VYN8a3SAU9zKojoqozmleFQyWUoRr5u7MNZcSLqmlfktSquIt5/w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4THV7q1PR0zrRj for ; Sat, 20 Jan 2024 21:32:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40KLWdkS043167 for ; Sat, 20 Jan 2024 21:32:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40KLWdd7043165 for python@FreeBSD.org; Sat, 20 Jan 2024 21:32:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 276281] lang/python39 fails to include tzset in time module Date: Sat, 20 Jan 2024 21:32:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kenj@kenj.id.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276281 --- Comment #5 from Ken McDonell --- I'm no bugzilla wizard, nor a FreeBSD bug workflow expert, so please do what you need to ... the root cause appears to be in libc's localtime(). But please note the Python problem is a build-time issue, not a run time is= sue, so once localtime() is fixed, Python will need to be re-built and re-releas= ed. The issue has nothing to do with the system's timezone, the reproducer snip= pet I included originally explicitly sets TZ in the environment, calls tzset() = and localtime() returns the wrong result. I've attached a small C program that reproduces the problem, and here is my output: kenj@vm06:~$ cc groundhog.c=20 kenj@vm06:~$ a.out OK I am: FreeBSD 13.2-RELEASE-p4 GENERIC 13.2-RELEASE-p4 kenj@vm10:~$ cc groundhog.c=20 kenj@vm10:~$ a.out Botch hour=3D10 not 11 Botch isdst=3D0 not 1 I am: FreeBSD 14.0-RELEASE-p3 #0: Mon Dec 11 04:54:25 UTC 2023=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/i386.i386/sys/GENERIC 14.0-RELEASE-p3 --=20 You are receiving this mail because: You are the assignee for the bug.=