[Pkg-rust-maintainers] Bug#1048141: rustc: Fails to build source after successful build

Fabian Grünbichler debian at fabian.gruenbichler.email
Sat Feb 14 20:49:15 GMT 2026


Control: tag -1 +pending

On Sat, 14 Feb 2026 21:27:39 +0100 Santiago Vila <sanvila at debian.org> wrote:
> tags 1048141 patch
> severity 1048141 normal
> thanks
> 
> Hello. The current build log when trying to build source after binary build
> is like this:
> 
> dpkg-source: error: cannot represent change to vendor/wit-bindgen-0.45.0/src/rt/wit_bindgen_cabi_realloc.o: binary file contents changed
> dpkg-source: error: add vendor/wit-bindgen-0.45.0/src/rt/wit_bindgen_cabi_realloc.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to vendor/wit-bindgen-0.45.0/src/rt/wit_bindgen_cabi_wasip3.o: binary file contents changed
> dpkg-source: error: add vendor/wit-bindgen-0.45.0/src/rt/wit_bindgen_cabi_wasip3.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: unrepresentable changes to source
> 
> There is actually an attempt at cleaning those files in debian/rules,
> but it's trying to use brace expansion, which does not work in a
> Makefile as is.
> 
> The attached patch will probably work.

Thanks for the patch! I'll include the change in the next upload to unstable,
which will probably be in about a week or so.



More information about the Pkg-rust-maintainers mailing list