You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using the quay.io/podman/stable:latest image on aarch64 (Raspberry Pi K3S cluster, as build image in a GitLab CI runner), and since the upgrade to 5.4, building a normal Rust package in an image fails with a segmentation fault.
I have tried to use the quay.io/podman/stable:v5.3 version, and works fine. Even, using the v5.3 version, if I do dnf upgrade -y podman and upgrades to 5.4, the build fails again.
Steps to reproduce the issue
Steps to reproduce the issue
Use the quay.io/podman/stable:v5.4 image or quay.io/podman/stable:v5.3 and upgrade to podman 5.4 in a GitLab runner in aarch64 (example: Raspberry Pi). You can create a new image from it. Example dockerfile:
FROM quay.io/podman/stable:v5.3
RUN dnf upgrade -y podman
Use it to build a Rust image based on docker.io/rust:alpine3.21. In this image, run cargo to build a package. Example dockerfile:
FROM docker.io/rust:alpine3.21
RUN apk add --no-cache build-base
ENV RUSTFLAGS="-C target-feature=-crt-static"RUN cargo install mdbook-mermaid
At some point, after part of the build process, you'll get the error:
error: could not compile `pest` (lib)
Caused by:
process didn't exit successfully: `/usr/local/rustup/toolchains/1.85.0-aarch64-unknown-linux-musl/bin/rustc --crate-name pest --edition=2021 /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/pest-2.7.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("const_prec_climber", "default", "memchr", "miette-error", "pretty-print", "std"))' -C metadata=ad1c6c26bc004204 -C extra-filename=-0e9f56b08d1b76c7 --out-dir /tmp/cargo-installJTny6T/release/deps -C strip=debuginfo -L dependency=/tmp/cargo-installJTny6T/release/deps --extern memchr=/tmp/cargo-installJTny6T/release/deps/libmemchr-9f3e61bb84415a1a.rmeta --extern thiserror=/tmp/cargo-installJTny6T/release/deps/libthiserror-12cc08f65ec944a5.rmeta --extern ucd_trie=/tmp/cargo-installJTny6T/release/deps/libucd_trie-ef6ec1f78939dd4f.rmeta --cap-lints allow -C target-feature=-crt-static` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: failed to compile `mdbook-mermaid v0.14.1`, intermediate artifacts can be found at `/tmp/cargo-installJTny6T`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
subprocess exited with status 101
subprocess exited with status 101
Error: building at STEP "RUN cargo install mdbook-mermaid": exit status 101
Describe the results you received
I receive a segmentation fault
Describe the results you expected
I expected the build to complete successfully, as with v5.3
Issue Description
I was using the
quay.io/podman/stable:latest
image on aarch64 (Raspberry Pi K3S cluster, as build image in a GitLab CI runner), and since the upgrade to 5.4, building a normal Rust package in an image fails with a segmentation fault.I have tried to use the
quay.io/podman/stable:v5.3
version, and works fine. Even, using the v5.3 version, if I dodnf upgrade -y podman
and upgrades to 5.4, the build fails again.Steps to reproduce the issue
Steps to reproduce the issue
Use the
quay.io/podman/stable:v5.4
image orquay.io/podman/stable:v5.3
and upgrade to podman 5.4 in a GitLab runner in aarch64 (example: Raspberry Pi). You can create a new image from it. Example dockerfile:Use it to build a Rust image based on
docker.io/rust:alpine3.21
. In this image, run cargo to build a package. Example dockerfile:Example GitLab configuration:
At some point, after part of the build process, you'll get the error:
Describe the results you received
I receive a segmentation fault
Describe the results you expected
I expected the build to complete successfully, as with v5.3
podman info output
Podman in a container
Yes
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Running in a GitLab runner in a K8S cluster (K3S) in a Raspberry Pi 5.
Additional information
Worked on Podman 5.3, fails on Podman 5.4 (everything else being equal)
The text was updated successfully, but these errors were encountered: