Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2023 11:12:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 272600] devel/py-rpds-py: "FileNotFoundError: [Errno 2] No such file or directory: 'maturin'" in build phase for non-default Python
Message-ID:  <bug-272600-21822-PVXxNOJFBN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272600-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272600-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272600

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D00ae5289b23194d0b79413e62abc6ce=
ff960fb09

commit 00ae5289b23194d0b79413e62abc6ceff960fb09
Author:     John Hein <jcfyecrayz@liamekaens.com>
AuthorDate: 2023-08-03 11:04:59 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-08-03 11:04:59 +0000

    devel/py-maturin: Fix command name for non-default Python versions

    If devel/py-maturin is built for a non-default python flavor (e.g.,
    'make FLAVOR=3Dpy38'), the port installs bin/maturin-<ver> and does not
    install bin/maturin which is normal and expected.

    The site-packages/maturin/__init__.py file, however, explicitly defines
    the command to use as 'maturin'.

    Because of this when using maturin to build other ports, they can fail
    with "No such file or directory: 'maturin'". [1]  Fix the issue by
    aligning the command name to the actual Python flavor.

    PR:             272618, 272600 [1]
    Reported by:    John W. O'Brien [1]
    MFH:            2023Q3 (after 1 week)

 devel/py-maturin/Makefile                              |  3 ++-
 devel/py-maturin/files/patch-maturin-__init__.py (new) | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272600-21822-PVXxNOJFBN>