reopen 590648
retitle 590648 git-buildpackage calls debuild incorrectly
reassign 590648 git-buildpackage 0.3.3
thanks

As per the below discussion, git-buildpackage's builder command defaults
to "debuild -i\.git -I.git"[0] and any non "--git-..." options are
appended to the default command.  This doesn't work because
debuild-specific options must come first, followed by dpkg-buildpackage
options and then lintian options, if any.

[0]: Actually, that's an inconsistency between the man page and the real
     default of "debuild -i -I".

On Wed, Jul 28, 2010 at 7:02 PM, Brian May
<[email protected]> wrote:
> On 28 July 2010 22:06, James Vega <[email protected]> wrote:
>> This happens because as soon as we see a non-debuild option, we break
>> out of our option parsing and treat the rest as options for the other
>> tools that get invoked.
>
> Errr... Not so fast at closing the bug - it isn't resolved yet...
>
> The problem is that this command line is generated automatically by
> git-buildpackage, and git-buildpackage puts the "-i -I" options first,
> before any other options on given on the git-buildpackage command
> line.
>
> i.e.
>
> git-buildpackage --username value
>
> becomes
>
> debuild -i -I --username value
>
> Are you saying git-buildpackage needs to sort the options and put
> debuild options first? That sounds like debuild needs to have a
> hardcoded list of what options debuild takes, which sounds very error
> prone and likely to break with new versions of debuild.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>




-- 
To unsubscribe, send mail to [email protected].

Reply via email to