[Pkg-rust-maintainers] Bug#1121665: rust-hexyl FTBFS on !x86: strip: Unable to recognise the architecture of the input file

Adrian Bunk bunk at debian.org
Sun Nov 30 10:23:13 GMT 2025


Source: rust-hexyl
Version: 0.16.0-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: Jeremy Bícha <jbicha at ubuntu.com>
Control: block 1120009 by -1

https://buildd.debian.org/status/logs.php?pkg=rust-hexyl&ver=0.16.0-1

...
   dh_dwz -a -O--buildsystem=cargo
dwz: debian/librust-hexyl-dev/usr/share/cargo/registry/hexyl-0.16.0/tests/examples/hello_world_elf64: .debug_info section not present
   dh_strip -a -O--buildsystem=cargo
strip: Unable to recognise the architecture of the input file `debian/librust-hexyl-dev/usr/share/cargo/registry/hexyl-0.16.0/tests/examples/hello_world_elf64'
dh_strip: error: strip --remove-section=.comment --remove-section=.note debian/librust-hexyl-dev/usr/share/cargo/registry/hexyl-0.16.0/tests/examples/hello_world_elf64 returned exit code 1
dh_strip: error: Aborting due to earlier error
make: *** [debian/rules:9: binary-arch] Error 25





/usr/share/cargo/registry/hexyl-0.16.0/tests/examples
/usr/share/cargo/registry/hexyl-0.16.0/tests/examples/.gitattributes
/usr/share/cargo/registry/hexyl-0.16.0/tests/examples/ascii
/usr/share/cargo/registry/hexyl-0.16.0/tests/examples/empty
/usr/share/cargo/registry/hexyl-0.16.0/tests/examples/hello_world_elf64
/usr/share/cargo/registry/hexyl-0.16.0/tests/integration_tests.rs

If this integration test data is really wanted in the -dev package,
then then this needs something like:

override_dh_strip:
	dh_strip -Xusr/share/cargo/registry


More information about the Pkg-rust-maintainers mailing list