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

--- Comment #38 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=644ec0bc04d20ec68fa54b1a1c8e4962df52de63

commit 644ec0bc04d20ec68fa54b1a1c8e4962df52de63
Author:     Tijl Coosemans <[email protected]>
AuthorDate: 2026-04-26 21:08:44 +0000
Commit:     Tijl Coosemans <[email protected]>
CommitDate: 2026-05-04 16:00:40 +0000

    devel/py-installer: Fix destdir problem

    Add a patch based on upstream 8b72cf945bfa (and b5f03f151f0e as
    prerequisite) that replaces a Path.resolve() call with os.path.abspath()
    that does not resolve symlinks.

    This fixes a problem with staging in some ports if the port is already
    installed.  For example, with devel/py-build installed,
    /usr/local/bin/pyproject-build is a symlink to pyproject-build-3.11
    (because of USES=uniquefiles) and if you then build devel/py-build the
    Path.resolve() call caused pyproject-build to be installed in the stage
    directory as pyproject-build-3.11.

    PR:             294631
    Approved by:    sunpoet

 devel/py-installer/Makefile                        |  1 +
 .../patch-src_installer_destinations.py (new)      | 28 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to