[Pkg-rust-maintainers] Bug#1154042: dh-cargo: dh_auto_install doesn't honor multiple -X

Fab Stz fabstz-it at yahoo.fr
Sun Nov 15 11:45:51 GMT 2026


Package: dh-cargo
Version: 34
Severity: normal

Dear Maintainer,

dh_auto_install doesn't honor multiple -X

If I have this in d/rules

%:
	dh $@ --buildsystem=cargo
override_dh_auto_install:
	dh_auto_install -X docker-run.sh -X inside-container.sh -X docker-build.sh

Only the last -X is honored in the librust-foo-dev. That is only docker-build.sh is removed. The two others (docker-run.sh and inside-container.sh) are copied anyway

Regards
Fab

-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991, 'stable'), (390, 'oldoldstable-security'), (390, 'oldoldstable'), (389, 'oldoldstable-updates'), (95, 'testing'), (94, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.115+deb13.1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_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

Versions of packages dh-cargo depends on:
pn  cargo      <none>
ii  debhelper  13.24.2
ii  perl       5.40.1-6+deb13u1
ii  python3    3.13.5-1

dh-cargo recommends no packages.

dh-cargo suggests no packages.



More information about the Pkg-rust-maintainers mailing list