Package: python Version: 2.6.7-3 Severity: minor Hi,
If I pass an unknown option to dh_python2, I get an error and a nonzero exit code which fails the build: ,---- | laney@raleigh> DH_NO_ACT=1 dh_clean --foo; echo $? | Unknown option: foo | 0 | laney@raleigh> DH_NO_ACT=1 dh_python2 --foo; echo $? | Usage: dh_python2 -p PACKAGE [-V [X.Y][-][A.B]] DIR [-X REGEXPR] | | | dh_python2: error: no such option: --foo | 2 `---- This is in contradiction to the guarantee given in debhelper(7) (which talks about using DH_OPTIONS. I only gave an example without this for simplicity): ,---- | DH_OPTIONS | Anything in this variable will be prepended to the command line arguments | of all debhelper commands. Command-specific options will be ignored by commands | that do not support them. `---- It'd be nice if dh_python2 respected this. Cheers, Iain -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python depends on: ii python-minimal 2.6.7-3 minimal subset of the Python langu ii python2.6 2.6.7-4 An interactive high-level object-o python recommends no packages. Versions of packages python suggests: pn python-doc <none> (no description available) pn python-tk <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org