-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing DOI builds on arm32
architectures
#11
Comments
yosifkit
added a commit
to infosiftr/stackbrew
that referenced
this issue
Apr 11, 2024
It looks like something changed in build for #12 167.4 Building wheels for collected packages: cryptography, pyjwkest
#12 167.4 Building wheel for cryptography (pyproject.toml): started
#12 167.8 Building wheel for cryptography (pyproject.toml): finished with status 'error'
#12 167.8 error: subprocess-exited-with-error
#12 167.8
#12 167.8 × Building wheel for cryptography (pyproject.toml) did not run successfully.
#12 167.8 │ exit code: 1
#12 167.8 ╰─> [14 lines of output]
#12 167.8 Running `maturin pep517 build-wheel -i /usr/local/bin/python --compatibility off`
#12 167.8 📦 Including license file "/tmp/pip-install-m5k7bv16/cryptography_0cacdfd8ed694b70880c2ce3c446d276/LICENSE"
#12 167.8 📦 Including license file "/tmp/pip-install-m5k7bv16/cryptography_0cacdfd8ed694b70880c2ce3c446d276/LICENSE.APACHE"
#12 167.8 📦 Including license file "/tmp/pip-install-m5k7bv16/cryptography_0cacdfd8ed694b70880c2ce3c446d276/LICENSE.BSD"
#12 167.8 🍹 Building a mixed python/rust project
#12 167.8 🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.7
#12 167.8 🐍 Not using a specific python interpreter
#12 167.8 📡 Using build options features, locked from pyproject.toml
#12 167.8 error: package `cryptography-cffi v0.1.0 (/tmp/pip-install-m5k7bv16/cryptography_0cacdfd8ed694b70880c2ce3c446d276/src/rust/cryptography-cffi)` cannot be built because it requires rustc 1.65.0 or newer, while the currently active rustc version is 1.63.0
#12 167.8
#12 167.8 💥 maturin failed
#12 167.8 Caused by: Failed to build a native library through cargo
#12 167.8 Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.12-64bit" PYO3_PYTHON="/usr/local/bin/python" PYTHON_SYS_EXECUTABLE="/usr/local/bin/python" "cargo" "rustc" "--features" "pyo3/abi3-py37" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/tmp/pip-install-m5k7bv16/cryptography_0cacdfd8ed694b70880c2ce3c446d276/src/rust/Cargo.toml" "--release" "--lib"`
#12 167.8 Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/local/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
#12 167.8 [end of output] |
Oof, and ppc64le: 😞 > [2/6] RUN set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends cargo dpkg-dev gcc gnupg dirmngr libbluetooth-dev libbz2-dev libc6-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make python3-dev tk-dev uuid-dev wget xz-utils zlib1g-dev ; pip install --no-cache-dir satosa==8.4.0 ; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; mkdir /etc/satosa; chown -R satosa:satosa /etc/satosa:
Building wheel for pyjwkest (setup.py): started
Building wheel for pyjwkest (setup.py): finished with status 'done'
Created wheel for pyjwkest: filename=pyjwkest-1.4.2-py3-none-any.whl size=48061 sha256=c7d505cb47169157495fe809d9c9b35f2343078a0150131fb878be8e8b59b99a
Stored in directory: /tmp/pip-ephem-wheel-cache-rr5yxbx4/wheels/81/bc/df/8a2c4efeaac7663d28487b0bcebfebafb7432e0272b5828360
Successfully built pycryptodomex MarkupSafe pyjwkest
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: pip install --upgrade pip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a few different causes on the
arm32
architectures, but I wanted to open this to make you aware of the build failures. Happy to help where I can.satosa:8.4.0-bookworm
onarm32v7
rustc
available in the stable Debian release (https://packages.debian.org/bookworm/rustc)satosa:8.4.0-bookworm
onarm32v5
rustc
available in the stable Debian release (https://packages.debian.org/bookworm/rustc)satosa:8.4.0-alpine3.19
onarm32v6
c7g.2xlarge
on aws (though it shares processing power witharm32v5
andarm32v7
builds)They've been failing for a while; I think since Satosa
8.4
. Apologies for the delay in reporting these. 🙇 ❤️satosa:8.4.0-alpine3.19
builds fine onarm32v7
and the builds work on all the other arches:amd64
,i386
,arm64v8
,ppc64le
ands390x
.The text was updated successfully, but these errors were encountered: