From nobody Sat Jan 13 04:12:27 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 4TBlNr1Rtnz56csy for ; Sat, 13 Jan 2024 04:12:28 +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 4TBlNq62fmz4H4J for ; Sat, 13 Jan 2024 04:12:27 +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=1705119147; 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=EboEqn0U8BVTORwa/a6okPft0irD71xbU2FSb+DkC28=; b=gbG9xVqWpH8gPZCOJtrycJX6qReM8OFM5TdxqD7ZaIGbe+fyrgRNW3jIqQ1GHC0N4Wv9J1 jZlJn3cI5XKF1uqfJpJck4qJ0orsqJrHGZh1pvsk08nF6RHpnQkenvs72lXBTrdvAQaV5Z nP3y+92M6iKPXWHoiXRbfjAUjIPZMFcNjgVTI8V/n2PDjcxSQMseB3JFHf9TVA+ONQf8nX qencjt5/gZKDeREUiM2ErrxOW+9fiaEIo/TNxYMwbQap+wAO+xPlbQAWf1PDxgVMw3fvD8 +X1Uzw1eg8/B8XiN0lPvOndA8GpyJnoGZfyHLs8iLO5cVM62HPx2lasqVSrzWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705119147; a=rsa-sha256; cv=none; b=tvMlyrRzoIXckBpJhT+t5WSnVd7cT8Hb5XI9PlOBF0ZxykC/pFzPjUbqSCtTMzeVEyd0xk g7KrR2e8fVY0Dk0B5bPsIsjhXz7VFm1VTlBgZBy34DgtMVKf5vuw7M3PvT76bKokOVKHAP EJORSipQaFC8fULgc6dPYBTDeaoMs447V0etbLNuaBajV34FZPa+0ucPnzHCEetsYa0BP0 b73wGy517i2ms7Wp3X3JlyDw15Td4GJN9FrqI5gs2K6Un+LzgkrfvX3DnxYJCNxph7Iyoa +S/gajadVEpS6oo27mKiGUB99zDl82ShtVOx+UQG597bJqJGVH+ZaW1MJwMPvw== 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 4TBlNq55YGzFtS for ; Sat, 13 Jan 2024 04:12:27 +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 40D4CR6x084130 for ; Sat, 13 Jan 2024 04:12:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40D4CRss084099 for python@FreeBSD.org; Sat, 13 Jan 2024 04:12:27 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, 13 Jan 2024 04:12:27 +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: cc 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 Ken McDonell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kenj@kenj.id.au --- Comment #1 from Ken McDonell --- 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 =3D 1044144000; /* GMT-based */ ... putenv("TZ=3DAEST-10AEDT-11,M10.5.0,M3.5.0"); tzset(); if (localtime(&groundhogday)->tm_hour !=3D 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. --=20 You are receiving this mail because: You are the assignee for the bug.=