Control: tag -1 pending Hi!
To summarize the case quickly for Niels: if we have a package that has an arch:all and an arch:any binary, and uses dh_install --fail-missing, and dh-exec in either (or both) binary packages' .install file, and we do an arch-indep or arch-only build, --fail-missing will break. This is because debhelper passes DH_CONFIG_ACT_ON_PACKAGES with only the relevant package included in the list. This is correct. However, in this case, dh-exec's install becomes a noop for the other package, and that will break --fail-missing. So the easiest fix for this would be to ignore the noop if we are doing an arch-indep or arch-only build. Problem is, the only currently existing way I can figure out whether this is the case, is DH_INTERNAL_OPTIONS. That has been around for a while, and - as far as I see - has not changed in a way since its introduction that would prevent dh-exec from (ab)using this environment variable. As such, I have a fix prepared[1], that does just this: if -a or -i is in DH_INTERNAL_OPTIONS, then dh-exec will ignore DH_CONFIG_ACT_ON_PACKAGES. This appears to fix the issue, and does not break any of the existing test cases, so I'm fairly sure it should work in practice. [1]: https://github.com/algernon/dh-exec/commit/a92e18250953279a5393e0426d7616736cc9a5dd#diff-369c5eb9f23b41f57a45ad212f711d2c I'm Cc-ing Niels too, in case he has a better idea, and to see if he sees anything wrong with the approach I may have missed. I plan to upload dh-exec sometime next week (likely at the end of it, too), but I'd prefer to hear some feedback from the debhelper side too. Thanks for reporting the bug, and for Niels in advance for his input! -- |8]

