-
Notifications
You must be signed in to change notification settings - Fork 777
Open
Description
Hi easybuilders,
I donk know the exact origin of the problem but on my hpc infra the build of Python-bundle-PyPI fails in rpds extension installation due to undetected maturin. I'm leaving this here because it might help the community.
Relevant easybuild:
Line 524 in ce73734
| ('rpds-py', '0.18.1', { |
Quick fix for me:
Moving maturin from builddependencies to regular dependencies.
Error:
== installing extension rpds-py 0.18.1 (106/133)...
>> defining build environment for GCCcore/13.3.0 toolchain
>> running shell command:
tar xzf /path/to/apps/sources/p/Python-bundle-PyPI/extensions/rpds_py-0.18.1.tar.gz
[started at: 2025-12-04 15:04:40]
[working dir: /path/to/apps/.tmp/easybuild/USER-builds/PythonbundlePyPI/2024.06/GCCcore-13.3.0/rpdspy]
[output and state saved to /tmp/eb-16qemxgt/run-shell-cmd-output/tar-2gj7zhyd]
>> command completed: exit 0, ran in < 1s
== configuring...
== building...
== testing...
== installing...
>> running shell command:
/path/to/apps/software/Python/3.12.3-GCCcore-13.3.0/bin/python -m pip install --prefix=/path/to/apps/software/Python-bundle-PyPI/2024.06-GCCcore-13.3.0 --no-deps --ignore-installed --no-build-isolation .
[started at: 2025-12-04 15:04:41]
[working dir: /path/to/apps/.tmp/easybuild/USER-builds/PythonbundlePyPI/2024.06/GCCcore-13.3.0/rpdspy/rpds_py-0.18.1]
[output and state saved to /tmp/eb-16qemxgt/run-shell-cmd-output/python-k6fb617y]
== ... (took 16 secs)
ERROR: Shell command failed!
full command -> /path/to/apps/software/Python/3.12.3-GCCcore-13.3.0/bin/python -m pip install --prefix=/path/to/apps/software/Python-bundle-PyPI/2024.06-GCCcore-13.3.0 --no-deps --ignore-installed --no-build-isolation .
exit code -> 1
called from -> 'install_step' function in /apps/software/EasyBuild/5.1.2/lib/python3.9/site-packages/easybuild/easyblocks/generic/pythonpackage.py (line 912)
working directory -> /path/to/apps/.tmp/easybuild/USER-builds/PythonbundlePyPI/2024.06/GCCcore-13.3.0/rpdspy/rpds_py-0.18.1
output (stdout + stderr) -> /tmp/eb-16qemxgt/run-shell-cmd-output/python-k6fb617y/out.txt
interactive shell script -> /tmp/eb-16qemxgt/run-shell-cmd-output/python-k6fb617y/cmd.sh
== ... (took 37 mins 8 secs)
== FAILED: Installation ended unsuccessfully: shell command 'python ...' failed with exit code 1 in extensions step for Python-bundle-PyPI-2024.06-GCCcore-13.3.0.eb (took 37 mins 55 secs)
== Results of the build can be found in the log file(s) /path/to/apps/.tmp/easybuild/logs/easybuild-Python-bundle-PyPI-2024.06-20251204.142652.mJzcL.log
== Summary:
* [FAILED] Python-bundle-PyPI/2024.06-GCCcore-13.3.0
ERROR: Installation of Python-bundle-PyPI-2024.06-GCCcore-13.3.0.eb failed: "shell command 'python ...' failed with exit code 1 in extensions step for Python-bundle-PyPI-2024.06-GCCcore-13.3.0.eb"
cat /tmp/eb-16qemxgt/run-shell-/tmp/eb-16qemxgt/run-shell-cmd-output/python-k6fb617y/out.txt
Processing /path/to/apps/.tmp/easybuild/USER-builds/PythonbundlePyPI/2024.06/GCCcore-13.3.0/rpdspy/rpds_py-0.18.1
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
📦 Including license file "/path/to/apps/.tmp/easybuild/USER-builds/PythonbundlePyPI/2024.06/GCCcore-13.3.0/rpdspy/rpds_py-0.18.1/LICENSE"
🔗 Found pyo3 bindings
🐍 Found CPython 3.12 at /path/to/apps/software/Python/3.12.3-GCCcore-13.3.0/bin/python
📡 Using build options features from pyproject.toml
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/eb-16qemxgt/pip-modern-metadata-4rvr7v7c', '--interpreter', '/path/to/apps/software/Python/3.12.3-GCCcore-13.3.0/bin/python']' died with <Signals.SIGILL: 4>.
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/eb-16qemxgt/pip-modern-metadata-4rvr7v7c --interpreter /path/to/apps/software/Python/3.12.3-GCCcore-13.3.0/bin/python`
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Os for reference running on Intel Core Processor (Broadwell, IBRS):
$ cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.6 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.6"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.6 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
VENDOR_NAME="RESF"
VENDOR_URL="https://resf.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.6"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.6"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels