[Pkg-rust-maintainers] Bug#1087162: rust-image-hasher: autopkgtest: crash on riscv64 only
Fab Stz
fabstz-it at yahoo.fr
Sat Nov 9 10:04:23 GMT 2024
Source: rust-image-hasher
Version: 1.2.0-1
Severity: important
Dear Maintainer,
autopkgtest is failing on riscv64 only.
The only difference between autopkgtest log and the build log is that the
autopkgtest has "nightly" feature enabled.
Strangely, this fails only on riscv64 and not on other archs.
Build command:
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=image_hasher
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Rafał Mikrut
<mikrutrafal at protonmail.com>:Austin Bonander <austin.bonander at gmail.com>'
CARGO_PKG_DESCRIPTION='A simple library that provides perceptual hashing and
difference calculation for images.' CARGO_PKG_HOMEPAGE=''
CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=image_hasher CARGO_PKG_README=README.md
CARGO_PKG_REPOSITORY='http://github.com/qarmin/img_hash'
CARGO_PKG_RUST_VERSION=1.61.0 CARGO_PKG_VERSION=1.2.0
CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=0
CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/
<<PKGBUILDDIR>> LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --
crate-name image_hasher --edition=2021 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 debuginfo=2 --check-cfg
'cfg(docsrs)' --check-cfg 'cfg(feature, values("nightly"))' -C
metadata=43a04abc39bb7ce7 -C extra-filename=-43a04abc39bb7ce7 --out-dir /
<<PKGBUILDDIR>>/target/riscv64gc-unknown-linux-gnu/debug/deps --target
riscv64gc-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/riscv64gc-
unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/
riscv64gc-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/
debug/deps --extern base64=/<<PKGBUILDDIR>>/target/riscv64gc-unknown-linux-
gnu/debug/deps/libbase64-080a6ce577e9c0a2.rmeta --extern image=/
<<PKGBUILDDIR>>/target/riscv64gc-unknown-linux-gnu/debug/deps/
libimage-1650473d5fef5352.rmeta --extern rustdct=/<<PKGBUILDDIR>>/target/
riscv64gc-unknown-linux-gnu/debug/deps/librustdct-ec877c732b5c9898.rmeta --
extern serde=/<<PKGBUILDDIR>>/target/riscv64gc-unknown-linux-gnu/debug/deps/
libserde-8ce8d31cf3c02798.rmeta --extern transpose=/<<PKGBUILDDIR>>/target/
riscv64gc-unknown-linux-gnu/debug/deps/libtranspose-fc3ec1d1b9c8f419.rmeta -C
debuginfo=2 -C strip=none --cap-lints warn -C linker=riscv64-linux-gnu-gcc -C
link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/
registry/image-hasher-1.2.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/
cargo_registry=/usr/share/cargo/registry`
autopkgtest command:
process didn't exit successfully: `CARGO=/usr/bin/cargo
CARGO_CRATE_NAME=image_hasher CARGO_MANIFEST_DIR=/usr/share/cargo/registry/
image_hasher-1.2.0 CARGO_PKG_AUTHORS='Rafał Mikrut
<mikrutrafal at protonmail.com>:Austin Bonander <austin.bonander at gmail.com>'
CARGO_PKG_DESCRIPTION='A simple library that provides perceptual hashing and
difference calculation for images.' CARGO_PKG_HOMEPAGE=''
CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=image_hasher CARGO_PKG_README=README.md
CARGO_PKG_REPOSITORY='http://github.com/qarmin/img_hash'
CARGO_PKG_RUST_VERSION=1.61.0 CARGO_PKG_VERSION=1.2.0
CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=0
CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/usr/
share/cargo/registry/image_hasher-1.2.0 LD_LIBRARY_PATH=/tmp/tmp.4YNXSsEXGK/
target/debug/deps rustc --crate-name image_hasher --edition=2021 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
debuginfo=2 --cfg 'feature="nightly"' --check-cfg 'cfg(docsrs)' --check-cfg
'cfg(feature, values("nightly"))' -C metadata=4fa3c466da9174f6 -C extra-
filename=-4fa3c466da9174f6 --out-dir /tmp/tmp.4YNXSsEXGK/target/riscv64gc-
unknown-linux-gnu/debug/deps --target riscv64gc-unknown-linux-gnu -C
incremental=/tmp/tmp.4YNXSsEXGK/target/riscv64gc-unknown-linux-gnu/debug/
incremental -L dependency=/tmp/tmp.4YNXSsEXGK/target/riscv64gc-unknown-linux-
gnu/debug/deps -L dependency=/tmp/tmp.4YNXSsEXGK/target/debug/deps --extern
base64=/tmp/tmp.4YNXSsEXGK/target/riscv64gc-unknown-linux-gnu/debug/deps/
libbase64-080a6ce577e9c0a2.rmeta --extern image=/tmp/tmp.4YNXSsEXGK/target/
riscv64gc-unknown-linux-gnu/debug/deps/libimage-1650473d5fef5352.rmeta --
extern rustdct=/tmp/tmp.4YNXSsEXGK/target/riscv64gc-unknown-linux-gnu/debug/
deps/librustdct-ad4e91fda8d188d0.rmeta --extern serde=/tmp/tmp.4YNXSsEXGK/
target/riscv64gc-unknown-linux-gnu/debug/deps/libserde-4debcaa72aa6c7d7.rmeta
--extern transpose=/tmp/tmp.4YNXSsEXGK/target/riscv64gc-unknown-linux-gnu/
debug/deps/libtranspose-fc3ec1d1b9c8f419.rmeta -C debuginfo=2 -C strip=none --
cap-lints warn -C linker=riscv64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --
remap-path-prefix /usr/share/cargo/registry/image_hasher-1.2.0=/usr/share/
cargo/registry/image-hasher-1.2.0 --remap-path-prefix /tmp/tmp.4YNXSsEXGK/
registry=/usr/share/cargo/registry` (signal: 11, SIGSEGV: invalid memory
reference)
-- System Information:
Debian Release: 12.7
APT prefers stable-updates
APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991,
'stable'), (990, 'proposed-updates'), (390, 'oldstable-security'), (390,
'oldstable'), (389, 'oldstable-updates'), (380, 'oldoldstable'), (379,
'oldoldstable-updates'), (370, 'oldoldstable'), (95, 'testing'), (94,
'unstable'), (93, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-26-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the Pkg-rust-maintainers
mailing list