[Pkg-rust-maintainers] Bug#886650: dh-cargo: Unclear error message when building

Sylvestre Ledru sylvestre at debian.org
Mon Jan 8 13:58:42 UTC 2018


Package: dh-cargo
Version: 2
Severity: normal

Hello,

Trying to package https://github.com/marco-c/grcov/ using dh-cargo

With debian/rules:
	dh $@ --buildsystem cargo

I am getting
   dh_installdirs -O--buildsystem=cargo
   dh_auto_install -O--buildsystem=cargo
readdir() attempted on invalid dirhandle $dirhandle at /usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm line 118.
closedir() attempted on invalid dirhandle $dirhandle at /usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm line 119.
cp: impossible d'évaluer './debian/cargo-checksum.json': Aucun fichier ou dossier de ce type

dh-cargo should handle better the error and gives proper error (or handle the absence of the directories)

Sylvestre


More information about the Pkg-rust-maintainers mailing list