From nobody Tue Dec 3 13:28:39 2024 X-Original-To: ports-bugs@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 4Y2hLb4Pb7z5g4Lr for ; Tue, 03 Dec 2024 13:28: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y2hLb2c2Dz42Dn for ; Tue, 3 Dec 2024 13:28: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=1733232519; 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; bh=k8VBv3GJHGstU7MSPcr1K7MgIC8g0lPZFhpsEQrM7IY=; b=fM40mjIOH6KPv4k7FISRGsdCo4icDbwS5mXyKKPXef53CMH7LShsla5Dt157fXYQPlFEiF yOWngrbXmgifxEznrNybz9j2swZeef2C3Ppc110MX414saFFqgBiz8D62iwIzFwvTPD9k6 YbkaNDQHSMW2j46w8LxHs1NiwB90Psh0uvrRTvAa6Ji9ZkTaxcPAR+uRxwUaloQnfa52bD RUVgxS/IbrPHwEECWN5keG3YmhZzsAqhXgcrGdrSkqEBqCLGllfaRXHBVY7/ioNxXP9F9P 0GefLIMa+AAb8a+RHq7mHjiwKCPbHmhWCuLK9HYmD5O7xD9R/8MoYEM/MXbJdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733232519; a=rsa-sha256; cv=none; b=tYdC3SlZnJ8Tc5AQkQiB8XnM1QH6xEZHUvw5UhZiZh/dYtt6R302nHh8bDyVdQTfEfa+UW zXg5BEIB8eRp8Ic4eObCiodnMDsmadEm3f+u3MDCGLPPipBxEgRqlfeSXkMs31dzKJjM04 utfR5/Cn/Yd/vBVDPBXKyNtIOGj7pTMzyO8y4zmzghjUzcmomDTvNm+V0goTRr/JZL4qSc ml1n32GuRErlWIuSLhRqbnHp6I23j0JWWW1CJxyIc7dPQqYCmyyszdr57/cfClz+lpe9kL KAA9KYo3XQUSjCtwV89hXBupTseR9bIQAW/DcKo5nA+bQjURIxNeJ3ScrHOgsA== 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 4Y2hLb2DD9zPpq for ; Tue, 3 Dec 2024 13:28: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 4B3DSdvu029591 for ; Tue, 3 Dec 2024 13:28:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4B3DSdqB029590 for ports-bugs@FreeBSD.org; Tue, 3 Dec 2024 13:28: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: ports-bugs@FreeBSD.org Subject: [Bug 283097] python311: backport fix for dev_t Date: Tue, 03 Dec 2024 13:28:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Some People X-Bugzilla-Who: danchr@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283097 Bug ID: 283097 Summary: python311: backport fix for dev_t Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: danchr@gmail.com Python 3.12 includes a fix for `dev_t` being a 64-bit unsigned value rather than a signed value. This can cause issues in certain issues, where native = code _does_ then assume that it's unsigned. I ran into issues with this when tes= ting self-compiled Rust extensions for Mercurial. ``` $ python3.9 -c 'import os; print(os.stat(".hg/dirstate").st_dev)' -1165136122586117506 $ python3.11 -c 'import os; print(os.stat(".hg/dirstate").st_dev)' -1165136122586117506 $ /usr/bin/stat .hg/dirstate 17281607951123434110 53950 -rw-r--r-- 1 dan wheel 0 107163 "Dec 2 16:11:49 2024" "Dec 2 16:11:49 2024" "Dec 2 16:11:49 2024" "Dec 2 16:11:49 2024" 107520 89 0x800 .hg/dirstate ``` As neither Python 3.12 nor 3.13 are currently available as packages, could = you perhaps backport those patches to the ports? https://github.com/python/cpython/issues/89928 https://github.com/python/cpython/pull/120054 --=20 You are receiving this mail because: You are the assignee for the bug.=