From nobody Fri Apr 24 16:13:03 2026 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 4g2J0L0lY7z6bXDG for ; Fri, 24 Apr 2026 16:13:06 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g2J0L03Ynz3YNh for ; Fri, 24 Apr 2026 16:13:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777047186; 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=rxSjCx3CV8ZtNINlOi7LvEC825Xif2L/3zEN3ZTxh/w=; b=BE0MYYopfdY5x6ep2sVXHTYD8raQKs6Tkz2RrijvK7K72pcnr8Xle2kr/dwYZH03zGGday xc6y+OfEvU2DWtbk7Pgbz6c4Ur1wSktQdXfyFn65mqwOoHW/U0CCyvWpCuGmCyhbzfdu6t Of4Q1ABIiAX0ooQcC2ZloAv6OIzosWjOfRzXJ3BqeXOWVk8k50fKQ+CaNMViGg9mvIkRFv GckEmrAjLdmGkSvdUBWQVC8OEo4VBEpxXj2yBTaJfkIj2BdLyvGe9Ex+wg/YCLH2CihvHX RGN2yoIuj+tCjAJ26fIIvKAZ+ytd52Ea1y6WEQdgzyxrCpTUvbUBvHv1571sfg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777047186; a=rsa-sha256; cv=none; b=Coeiz8y6r6DApi8081sK7ac/CaW13rErvhZ7aXZZ+dGb4UI5O8YLD+kmLdnUqylfEKrUTt 7LVYg0TWaaraFnX5fFe6Mu7/m090rnn4YQ7kh9Lsf+MErL5dy0Y06Rz4VgLDaoMOCes+zW x0ZZziwSFwhryIIlWbka+Ah5hbTlVSO5BA06cdFUCjL8rnfklK791GeSnfuojb4S0Y6xe9 iA8QakVGOwm2J+kAXm6fv/DZS/b4RPznxOx1SUz1TNSDVqY/WeWRO7M3aRP4rRz2eDzvtP fDodHoLTNyhwk4RL7Xt2yV3w3f2sFq3zxboyYzVLzH3SG1dx48GZLIYLaENyjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777047186; 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=rxSjCx3CV8ZtNINlOi7LvEC825Xif2L/3zEN3ZTxh/w=; b=B/5BMzBHhpKWtskY+Zm59Sx4rsvSfn/0gxCtAmwL0NN9oc/5AUmLyOP6QbUCYcUchUoiEq lSazKPNqXXajqHNdAQJrUZltqxDcSUWyfwCo1nqVpy7yjtI8byfOJ/jrJd0oQUC+n8S58O Oi9VnHlfW22eXR7DDBzWfwyTLIFc3/RxnH2LIg76ySjrpavwqae6XHFF6gxmS70G63K8E9 egaoe9565fzAHPE2FQBwVymsmTL2bUuDMaiD46hUdddlIT1w18oD0CvnocsjLZPCKflFKW nARk5cD0A6x6kBp+Zm/BEx2Ya5dLuwpNeeNh7RUwsM7eMtppAc6JhbK7Z6CgWQ== 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 4g2J0K6ZJ4z18xh for ; Fri, 24 Apr 2026 16:13:05 +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 63OGD5HX034004 for ; Fri, 24 Apr 2026 16:13:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 63OGD5UX034003 for python@FreeBSD.org; Fri, 24 Apr 2026 16:13:05 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 294631] devel/py-installer update to 1.0.0 broke several python ports builds Date: Fri, 24 Apr 2026 16:13:03 +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: jcfyecrayz@liamekaens.com 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294631 --- Comment #13 from John Hein --- Up front: Please test with an upstream patch applied (see [[1]]) to see if = it fixes some or all of the ports mentioned here in this bug. Longer discussion to provide more context... This also breaks devel/py-build (during 'make -C devel/py-build stage FLAVOR=3Dpy310') when staging py-build@py310 with py-build@py311 already installed. This is because the _path_with_destdir() function in site-packages/installer/destinations.py uses pathlib.Path.resolve() which follows the bin/pyproject-build -> pyproject-build-3.11 sym link which reso= lves to /usr/local/bin/pyproject-build-3.11 (also mentioned in earlier comments = in this bug). This results in the error during stage: =3D=3D=3D> Creating unique files: Move files needing SUFFIX Makefile error: UNIQUE (suffix): bin/pyproject-build not found This is because work-py310/stage/usr/local/bin/pyproject-build-3.11 was cre= ated (because of the resolve()) instead of work-py310/stage/usr/local/bin/pyproject-build-3.10. reproduction recipe: make -C devel/py-build FLAVOR=3Dpy311 stage && sudo make -C devel/py-build FLAVOR=3Dpy311 install make -C devel/py-build FLAVOR=3Dpy310 stage There are an upstream issue and some upstream pull requests for this partic= ular "resolving sym link" issue and performance regression from using resolve(). This was also noticed (and patched) by poetry: https://github.com/python-poetry/poetry/pull/10821 upstream issue: https://github.com/pypa/installer/issues/325 ("_path_with_destdir does not consider destdir when resolving links") upstream pull requests: https://github.com/pypa/installer/pull/326 https://github.com/pypa/installer/pull/330 (superseded by pr #326) [[1]] above pull request merged to main upstream repo in: https://github.com/pypa/installer/commit/8b72cf945bfa72295fe4e0e8b9ddc13f8d= f32964 This can be applied directly to the FreeBSD ports tree devel/py-build. The= re is no updated release for py-build yet. Please test with that patch applied to see if it fixes some or all of the p= orts mentioned here in this bug. --=20 You are receiving this mail because: You are the assignee for the bug.=