[Pkg-rust-maintainers] Bug#1101734: dh-cargo: should not attempt to build/test/install crate in --arch-all build

Holger Levsen holger at debian.org
Mon Mar 31 10:29:38 BST 2025


Package: dh-cargo
Version: 32
Severity: normal

Dear Maintainer,

from #debian-rust today:

<f_g> for chameleon, you probably want to skip the build for the :all packages
      (those only ship symlinks/docs, right?)
<f_g> could maybe be fixed in dh-cargo, to only build as part of the -arch
      build, and not for -indep
<f_g> something for forky, where I want to split of `build` from `install` as well
<f_g> | h01ger: it's actually the auto_install step that triggers the build atm
        with dh-cargo, so you'd need to override that
<f_g> and maybe auto_test, depending on circumstences
<h01ger> i just looked at 
         https://buildd.debian.org/status/package.php?p=rust-sequoia-chameleon-gnupg
         and it fails in dh_auto_tests
<f_g> I didn't have this particular use case in my mind, because debcargo only
      generates :any packages, but of course it's valid to override d/control
      to add :all packages :-/
<f_g> would you mind filing a dh-cargo bug?
<f_g> this should only affect debcargo+dh-cargo packages that add an :all package..
      a quick grep indicates chameleon is the only such package ;)
<f_g> (there are only 30 crates left that override d/control at all! a lot fewer
      than I thought)

Thanks for maintaining dh-cargo!

-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

Bananas are berries.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20250331/0e2cc48c/attachment.sig>


More information about the Pkg-rust-maintainers mailing list