Package: debhelper
Version: 11.4
Severity: important
User: [email protected]
Usertags: rebootstrap
Control: affects -1 + src:japa

Cross building japa fails because the build does not run dh_auto_build
and when it builds in dh_auto_install, debhelper does not pass cross
tools to make. The actual bug though is not running dh_auto_build. As
can be seen on wuiet, the last archive build of japa/0.8.4-2 did run
dh_auto_build. It's a debehelper change that made it stop running
dh_auto_build. Niels identified the cause: japa passes
--sourcedir=source (an abbreviated long option) to dh. The noop promise
handling does not properly handle abbreviated long options.

Looking further, I think the overlap in options is quite unfortunate and
contributes to the confusion: dh supports --sourcedirectory and
dh_install supports --sourcedir (with a different meaning).

I estimate that around 20 packages are affected:
https://codesearch.debian.net/search?q=dh+.*--sourcedir%3D

Helmut

Reply via email to