[Pkg-rust-maintainers] Bug#1100603: rusttup: should not be built on armel

Matthias Geiger werdahias at debian.org
Sat Mar 15 22:04:18 GMT 2025


Source: rustup
Severity: normal
X-Debbugs-Cc: debian-arm at lists.debian.org, werdahias at debian.org
User: debian-arm at lists.debian.org
Usertags: armel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

rustup does not know about / support armel, and fails to build there:
error: failed to run custom build command for `rustup v1.27.1 (/build/reproducible-path/rustup-1.27.1)`

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE=curl-backend,default,reqwest-backend,reqwest-default-tls CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI=eabi CARGO_CFG_TARGET_ARCH=arm CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_HAS_ATOMIC=16,32,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=32 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='-Cdebuginfo=2-Cstrip=none--cap-lintswarn-Clinker=arm-linux-gnueabi-gcc-Clink-arg=-Wl,-z,relro--remap-path-prefix/build/reproducible-path/rustup-1.27.1=/usr/share/cargo/registry/rustup-1.27.1--remap-path-prefix/build/reproducible-path/rustup-1.27.1/debian/cargo_registry=/usr/share/cargo/registry' CARGO_FEATURE_CURL_BACKEND=1 CARGO_FEATURE_DEFAULT=1 CARGO_FEATURE_REQWEST_BACKEND=1 CARGO_FEATURE_REQWEST_DEFAULT_TLS=1 CARGO_MANIFEST_DIR=/build/reproducible-path/rustup-1.27.1 CARGO_MANIFEST_PATH=/build/reproducible-path/rustup-1.27.1/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Manage multiple rust installations with ease' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/rustup' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=rustup CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/rustup' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.27.1 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=27 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' DEBUG=true HOST=armv5te-unknown-linux-gnueabi LD_LIBRARY_PATH='/build/reproducible-path/rustup-1.27.1/target/debug/deps:/build/reproducible-path/rustup-1.27.1/target/debug:/usr/lib/rustlib/armv5te-unknown-linux-gnueabi/lib' NUM_JOBS=8 OPT_LEVEL=0 OUT_DIR=/build/reproducible-path/rustup-1.27.1/target/armv5te-unknown-linux-gnueabi/debug/build/rustup-a5b3626d4856752e/out PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=armv5te-unknown-linux-gnueabi /build/reproducible-path/rustup-1.27.1/target/debug/build/rustup-c5e38eee2bb86dfe/build-script-build` (signal: 6, SIGABRT: process abort signal)
  --- stdout
  cargo:rerun-if-env-changed=RUSTUP_OVERRIDE_BUILD_TRIPLE
  cargo:rerun-if-env-changed=TARGET

  --- stderr
  Unable to parse target 'armv5te-unknown-linux-gnueabi' as a PartialTargetTriple
  If you are attempting to bootstrap a new target you may need to adjust the
  permitted values found in src/dist/triple.rs
warning: build failed, waiting for other jobs to finish...

Thus, it should not be built there.

best,

werdahias


- -- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.17-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled


-----BEGIN PGP SIGNATURE-----

iIsEARYIADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCZ9X5XRUcd2VyZGFoaWFz
QGRlYmlhbi5vcmcACgkQ7L7btge5sr74HwEAuHjaa3tIWzw08hWl32lU4GFLvE9q
qhcvptiGFSrr104A/1JU9pChMd/fMRjBAkYR959B4f2M08ArCjMmtDYmJmkD
=ZNFx
-----END PGP SIGNATURE-----



More information about the Pkg-rust-maintainers mailing list