Package: debhelper Version: 12.1.1 dh_missing(1) says:
Remember to test different kinds of builds (dpkg-buildpackage -A/-B/...) as you may experience varying results when only a subset of the packages are built. And i've seen those different results (e.g., #930042, where .info files that typically go in the arch-indep packages get flagged as an error by dh_missing --fail-missing). I'd still like the reassurance of dh_missing --fail-missing, but it's not clear to me how to resolve the situation, since upstream builds and installs the .info file no matter what, but the binary-only builds ignore them. It seems to me that dh_missing should be smarter about this, at least for files that are listed in a package that dh in general knows about but aren't being installed in this particular run of dpkg-buildpackage. as it stands, i'm likely to drop --fail-missing from the gnupg2 source package, because i don't see any other way to fix this, but i feel pretty sad doing so. sorry to not have a clear suggestion for how to do this, but i figure the dh developers (or others reading the dh bug reports) might have better suggestions about how to make it safer/easier to use --fail-missing. --dkg
signature.asc
Description: PGP signature