Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909335 - dev-util/maturin-1.1.0 : target/release/maturin: No such file or directory
Summary: dev-util/maturin-1.1.0 : target/release/maturin: No such file or directory
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-28 09:58 UTC by Helmut Jarausch
Modified: 2023-07-08 05:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (maturin-1.1.0.build,26.01 KB, text/plain)
2023-06-28 16:14 UTC, Helmut Jarausch
Details
emerge --info (maturin.info,23.14 KB, text/plain)
2023-06-28 16:16 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2023-06-28 09:58:31 UTC
maturin fails to install

2023-06-28 11:54:14,262 gpep517 INFO Installation complete
 * Using python3.11 in global scope
 * python3_11: running distutils-r1_run_phase python_compile_all
/var/tmp/portage/dev-util/maturin-1.1.0/temp/environment: line 3561: target/release/maturin: No such file or directory
 * ERROR: dev-util/maturin-1.1.0::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4165:  Called distutils-r1_src_compile
 *   environment, line 2133:  Called _distutils-r1_run_common_phase 'python_compile_all'
 *   environment, line  843:  Called multibuild_foreach_variant 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 3305:  Called _multibuild_run 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 3303:  Called distutils-r1_run_phase 'python_compile_all'
 *   environment, line 2112:  Called python_compile_all
 *   environment, line 3561:  Called die
 * The specific snippet of code:
 *           ${maturin} completions bash > "${T}"/${PN} || die;
 

Many thanks for a hint,
Helmut
Comment 1 Mike Gilbert gentoo-dev 2023-06-28 15:54:36 UTC
Please attach the build log and provide emerge --info. Then change the bug status to UNCONFIRMED.
Comment 2 Helmut Jarausch 2023-06-28 16:14:57 UTC
Created attachment 864788 [details]
build log
Comment 3 Helmut Jarausch 2023-06-28 16:16:26 UTC
Created attachment 864789 [details]
emerge --info
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-28 16:33:26 UTC
Please share emerge -pvO dev-python/scikit-build-core output.
Comment 5 Ionen Wolkens gentoo-dev 2023-06-28 16:49:03 UTC
Yeah that looks like the same thing, hopefully it indeed is still due to scikit-build-core (it's currently masked, and no in-tree packages depend on it so very few people have installed) so don't have to figure out what else is breaking setuptools-rust.

Makes me glad that the ebuild checks for the maturin executable, otherwise it'd just install fine *without* the executable.

For that reason, it's possible you have broken packages around because most other setuptools-rust packages (like dev-python/cryptography) will emerge fine but without their rust extensions.
Comment 6 Helmut Jarausch 2023-07-02 12:52:59 UTC
(In reply to Sam James from comment #4)
> Please share emerge -pvO dev-python/scikit-build-core output.

 emerge -pvO dev-python/scikit-build-core

These are the packages that would be merged, in order:


!!! All ebuilds that could satisfy "dev-python/scikit-build-core" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/scikit-build-core-0.4.7::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# MichaŠGórny <mgorny@gentoo.org> (2023-06-24)
# Breaks dev-python/setuptools-rust.
# https://github.com/scikit-build/scikit-build-core/issues/413

- dev-python/scikit-build-core-0.4.6::gentoo (masked by: package.mask)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-02 12:58:20 UTC
I guess I'll backport the patch for it then.
Comment 8 Larry the Git Cow gentoo-dev 2023-07-02 13:11:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d347c82d7d8fc2b5fb27f684aed3433220a4e19

commit 9d347c82d7d8fc2b5fb27f684aed3433220a4e19
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-02 13:10:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-02 13:10:38 +0000

    dev-python/scikit-build-core: backport setuptools hook breakage fix
    
    Bug: https://bugs.gentoo.org/909035
    Closes: https://bugs.gentoo.org/909335
    Signed-off-by: Sam James <sam@gentoo.org>

 .../scikit-build-core-0.4.7-setuptools-hooks.patch | 28 ++++++++++++
 .../scikit-build-core-0.4.7-r1.ebuild              | 52 ++++++++++++++++++++++
 2 files changed, 80 insertions(+)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-02 13:26:16 UTC
Hm, wait. The patch did need backporting anyway to help people with it still installed, but it doesn't appear to have been installed for you.

Could you attach qlist -ICv 'dev-python/*' output? Does the maturin issue still happen for you?