[Pkg-rust-maintainers] Bug#946616: dh_auto_install should honor --destdir

Paride Legovini pl at ninthfloor.org
Wed Dec 11 23:22:15 GMT 2019


Package: dh-cargo
Version: 21
Severity: normal

After trying to use `dh_auto_install --destdir` as documented in
dh_auto_install(1) I noticed that the option doesn't produce any effect.
I had a quick look at [1] and it seems that the option is currently
being ignored.

When packaging "binary" crates (= not libraries) it is sometimes very
useful to have the files installed in debian/tmp instead of to
debian/pkgname, as this allows more freedom to choose how to actually
install the files in the Debian package using e.g. dh_install and dh-exec.

Paride

[1] /usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-cargo depends on:
ii  cargo      0.40.0-2
ii  debhelper  12.7.2
ii  perl       5.30.0-9
ii  python3    3.7.5-3

dh-cargo recommends no packages.

dh-cargo suggests no packages.

-- no debconf information



More information about the Pkg-rust-maintainers mailing list