[Pkg-rust-maintainers] Bug#1128788: librust-hexyl-dev: installs pre-built example binary
Helmut Grohne
helmut at subdivi.de
Tue Feb 17 07:26:41 GMT 2026
Package: librust-hexyl-dev
Version: 0.16.0-4
Severity: serious
Justification: probably missing source before too long
The librust-heyxl-dev package includes a program
/usr/share/cargo/registry/hexyl-0.16.0/tests/examples/hello_world_elf64.
That may seem normal until one notices that the exact same amd64 binary
is installed into the arm64 package. I looked how that could happen and
eventually noticed that this binary is included in the source package.
Given rust's static linking it seems very likely that we are missing or
will be missing the corresponding source for it and that would result in
a DFSG violation.
Generally, this looks like an oversight to me more than anything else.
Its presence in the source distribution probably is ok-ish, but I
strongly recommend against including it in the .deb thus resolving the
bug report at hand. It probably can be built from source with ease if
you prefer keeping it.
Helmut
More information about the Pkg-rust-maintainers
mailing list