Your message dated Wed, 28 Jul 2010 08:06:45 -0400
with message-id <[email protected]>
and subject line Re: Bug#590648: [debuild] username option broken
has caused the Debian Bug report #590648,
regarding [debuild] username option broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
590648: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590648
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.10.65.1
Severity: normal
File: /usr/bin/debuild


According the man page, debuild is suppose to accept --username value
as a valid option:

       --username username
              When signing, use debrsign instead of debsign.  username
specifies the credentials to be used.

So I pass this option through git-buildpackage, which invokes debuild
as follows:

debuild -i -I --username value

however debuild complains:

debuild: unknown dpkg-buildpackage/debuild option: --username
debuild: unknown dpkg-buildpackage/debuild option: value

debuild passes the option through to dpkg-buildpackage, which then
complains some more.

If --username is not a valid option it should not be documented in the man page.

Trying --username=value also generates a similar error.
-- 
Brian May <[email protected]>



--- End Message ---
--- Begin Message ---
On Wed, Jul 28, 2010 at 01:42:18PM +1000, Brian May wrote:
> According the man page, debuild is suppose to accept --username value
> as a valid option:
> 
>        --username username
>               When signing, use debrsign instead of debsign.  username
> specifies the credentials to be used.
> 
> So I pass this option through git-buildpackage, which invokes debuild
> as follows:
> 
> debuild -i -I --username value

That's not correct.  All debuild options must come first, as mentioned
in the man page:

  Note the order of options here: the debuild options come first, then
  the dpkg-buildpackage ones, then finally the checker options.

> however debuild complains:
> 
> debuild: unknown dpkg-buildpackage/debuild option: --username
> debuild: unknown dpkg-buildpackage/debuild option: value
> 
> debuild passes the option through to dpkg-buildpackage, which then
> complains some more.

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.

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

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to