[Pkg-rust-maintainers] Bug#1011153: dh-cargo, sometimes includes generated cargo.lock in lib package.

James McCoy jamessan at debian.org
Wed Jun 1 12:00:37 BST 2022


On Tue, May 17, 2022 at 04:25:19PM +0100, Peter Green wrote:
> It appears the cause is that librust-rpassword-dev contains a Cargo.lock file which
> was generated from the versions of packages in debian at the time of it's upload.
> 
> Doing some poking around it appears that the Cargo.lock file is generated by the
> "dh_auto_test -- test --all" command in debian/rules. What I haven't figured out
> is under what circumstances this happens, there appears to be at least* one other
> rust library package containing a Cargo.lock file in it's root librust-os-pipe-dev
> and it's autopkgtest is failing in the same way.
> 
> I think the most sensible way to deal with this is to exclude Cargo.lock in dh-cargo,
> does anyone else have any thoughts before I go ahead and do that?

Sounds good to me.  I was just looking into this yesterday and was going
to suggest the same thing.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



More information about the Pkg-rust-maintainers mailing list