Source: dh-cargo Version: 32 Severity: normal Hi,
when creating a new package, I got the following error: dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --buildsystem=cargo --sourcedirectory=crates/hyfetch/ dh_auto_clean -O--buildsystem=cargo -O--sourcedirectory=crates/hyfetch/ dh_auto_clean: error: Could not find any Cargo lib or bin packages to build. make: *** [debian/rules:18: clean] Error 25 dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2 The problem was, that my package was listed as "Architecture: all" instead of "Architecture: any" but above error message did not let me recognize this as the source of the problem until I started treading cargo.pm from src:dh-cargo. I should not have to read the source code of the software producing an error message to find out why the error message is produced. Please be more verbose in explaining why dh-cargo thinks that it could not find lib or bin packages. I was suspecting that there was a problem with my Cargo.toml but not with my debian/control. Thanks! cheers, josch

