[Pkg-rust-maintainers] Bug#1024724: cargo: FTBFS on armel

Sebastian Ramacher sramacher at debian.org
Wed Nov 23 20:44:19 GMT 2022


Source: cargo
Version: 0.63.1-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=cargo&arch=armel&ver=0.63.1-2&stamp=1668950215&raw=0

failures:

---- lto::doctest stdout ----
running `/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/debug/cargo test --doc --release -v`
thread 'lto::doctest' panicked at '
test failed running `/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/debug/cargo test --doc --release -v`
error: process exited with code 101 (expected 0)
--- stdout

running 1 test
test src/lib.rs - foo (line 4) ... FAILED

failures:

---- src/lib.rs - foo (line 4) stdout ----
/usr/lib/arm-linux-gnueabi/librustc_driver-fc7fba010be85912.so(+0x4dfaf8)[0xb40efaf8]
/lib/arm-linux-gnueabi/libc.so.6(__default_sa_restorer+0x0)[0xb38d68e0]
Couldn't compile the test.

failures:
    src/lib.rs - foo (line 4)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 28.08s


--- stderr
   Compiling bar v0.1.0 (/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/bar)
     Running `rustc --crate-name bar bar/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C metadata=44fca5225a6f9f62 -C extra-filename=-44fca5225a6f9f62 --out-dir /<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/target/release/deps`
   Compiling foo v0.1.0 (/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo)
     Running `rustc --crate-name foo --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C metadata=58c689641ff160d8 -C extra-filename=-58c689641ff160d8 --out-dir /<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/target/release/deps --extern bar=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/target/release/deps/libbar-44fca5225a6f9f62.rmeta`
    Finished release [optimized] target(s) in 0.79s
   Doc-tests foo
     Running `rustdoc --edition=2018 --crate-type lib --crate-name foo --test /<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/src/lib.rs -L dependency=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/target/release/deps -L dependency=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/target/release/deps --extern bar=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/target/release/deps/libbar-44fca5225a6f9f62.rlib --extern foo=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1506/foo/target/release/deps/libfoo-58c689641ff160d8.rlib -C lto --error-format human`
error: test failed, to rerun pass '--doc'
', tests/testsuite/lto.rs:722:10
stack backtrace:
   0: rust_begin_unwind
             at /usr/src/rustc-1.62.1/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.62.1/library/core/src/panicking.rs:142:14
   2: cargo_test_support::panic_error::pe
             at /usr/src/cargo-0.63.1/crates/cargo-test-support/src/lib.rs:66:9
   3: cargo_test_support::panic_error
             at /usr/src/cargo-0.63.1/crates/cargo-test-support/src/lib.rs:58:5
   4: cargo_test_support::Execs::run
             at /usr/src/cargo-0.63.1/crates/cargo-test-support/src/lib.rs:825:13
   5: testsuite::lto::doctest
             at /usr/src/cargo-0.63.1/tests/testsuite/lto.rs:717:5
   6: testsuite::lto::doctest::{{closure}}
             at /usr/src/cargo-0.63.1/tests/testsuite/lto.rs:679:1
   7: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.62.1/library/core/src/ops/function.rs:248:5
   8: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.62.1/library/core/src/ops/function.rs:248:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

---- lto::test_profile stdout ----
running `/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/debug/cargo test -v`
thread 'lto::test_profile' panicked at '
test failed running `/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/debug/cargo test -v`
error: process exited with code 101 (expected 0)
--- stdout

--- stderr
    Updating `dummy-registry` index
 Downloading crates ...
  Downloaded bar v0.0.1 (registry `dummy-registry`)
   Compiling bar v0.0.1
     Running `rustc --crate-name bar /<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/home/.cargo/registry/src/-82190a457c441f66/bar-0.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C linker-plugin-lto -C debuginfo=2 -C metadata=17410d84be58d246 -C extra-filename=-17410d84be58d246 --out-dir /<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps --cap-lints allow`
   Compiling foo v0.1.0 (/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo)
     Running `rustc --crate-name foo --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C linker-plugin-lto -C debuginfo=2 -C metadata=e1094f96a20d105a -C extra-filename=-e1094f96a20d105a --out-dir /<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps --extern bar=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps/libbar-17410d84be58d246.rmeta`
     Running `rustc --crate-name foo --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C lto=thin -C debuginfo=2 --test -C metadata=4fee26ca5f9dce99 -C extra-filename=-4fee26ca5f9dce99 --out-dir /<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps --extern bar=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps/libbar-17410d84be58d246.rlib`
/usr/lib/arm-linux-gnueabi/librustc_driver-fc7fba010be85912.so(+0x4dfaf8)[0xb404faf8]
/lib/arm-linux-gnueabi/libc.so.6(__default_sa_restorer+0x0)[0xb38368e0]
error: could not compile `foo`

Caused by:
  process didn't exit successfully: `rustc --crate-name foo --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C lto=thin -C debuginfo=2 --test -C metadata=4fee26ca5f9dce99 -C extra-filename=-4fee26ca5f9dce99 --out-dir /<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps --extern bar=/<<PKGBUILDDIR>>/target/armv5te-unknown-linux-gnueabi/tmp/cit/t1514/foo/target/debug/deps/libbar-17410d84be58d246.rlib` (signal: 11, SIGSEGV: invalid memory reference)
', tests/testsuite/lto.rs:676:10
stack backtrace:
   0: rust_begin_unwind
             at /usr/src/rustc-1.62.1/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.62.1/library/core/src/panicking.rs:142:14
   2: cargo_test_support::panic_error::pe
             at /usr/src/cargo-0.63.1/crates/cargo-test-support/src/lib.rs:66:9
   3: cargo_test_support::panic_error
             at /usr/src/cargo-0.63.1/crates/cargo-test-support/src/lib.rs:58:5
   4: cargo_test_support::Execs::run
             at /usr/src/cargo-0.63.1/crates/cargo-test-support/src/lib.rs:825:13
   5: testsuite::lto::test_profile
             at /usr/src/cargo-0.63.1/tests/testsuite/lto.rs:660:5
   6: testsuite::lto::test_profile::{{closure}}
             at /usr/src/cargo-0.63.1/tests/testsuite/lto.rs:627:1
   7: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.62.1/library/core/src/ops/function.rs:248:5
   8: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.62.1/library/core/src/ops/function.rs:248:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


failures:
    lto::doctest
    lto::test_profile

test result: FAILED. 2561 passed; 2 failed; 8 ignored; 0 measured; 0 filtered out; finished in 1324.88s

error: test failed, to rerun pass '--test testsuite'
make[1]: *** [debian/rules:48: override_dh_auto_test-arch] Error 101


Cheers
-- 
Sebastian Ramacher



More information about the Pkg-rust-maintainers mailing list