Hi,

On Wed, Sep 7, 2011 at 12:16 PM, David Paleino <da...@debian.org> wrote:
> On Wed, 7 Sep 2011 12:04:59 +0200, Mathieu Malaterre wrote:
>
>> %:
>>       dh $@ --with cli,python2 --parallel
>>
>> Unknown option: with
>> dh_icons: warning: ignored unknown options in DH_OPTIONS
>>    dh_perl -O--parallel
>> Unknown option: with
>> dh_perl: warning: ignored unknown options in DH_OPTIONS
>>    dh_python2 -O--parallel
>> Usage: dh_python2 -p PACKAGE [-V [X.Y][-][A.B]] DIR [-X REGEXPR]
>>
>>
>> dh_python2: error: no such option: --with
>> make: *** [binary] Error 2
>> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status
>> 2
>
> Then it's (probably) a bug in dh_python2 in how it handles unknown options. 
> This
> is a drawback of dh7, IIRC: the same options are passed to all dh_* helpers, 
> and

Looks like this has been reported:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638679

I did not understand at first the relation, now this is clear.

> they should cope with them. See how dh_icons and dh_perl handle the unknown
> (for them) option "--parallel".

I do not understand however your above suggestion. Do you want me to
provide a patch for dh-python2 ?

Thanks
-- 
Mathieu


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+7wusw50+aauvq5dwatr4g0aef9sd_12hybg4aeehv+tpx...@mail.gmail.com

Reply via email to