Your message dated Wed, 12 Oct 2016 16:26:12 +0200
with message-id <147628237205.14291.3950291931559775790@localhost>
and subject line Re: sbuild: autopkgtest-opts get wrongly appended
has caused the Debian Bug report #837519,
regarding sbuild: autopkgtest-opts get wrongly appended
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 ow...@bugs.debian.org
immediately.)


-- 
837519: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837519
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: sbuild
Version: 0.71.0-2
Severity: normal

Hi,

doing:

sbuild --run-autopkgtest --autopkgtest-opts="-- schroot %r-%a-sbuild"

results in:

autopkgtest [09:01:32]: version 4.0.4
autopkgtest [09:01:32]: host hoothoot; command line: /usr/bin/autopkgtest 
/tmp/botch_0.18-1.dsc /tmp/botch_0.18-1_amd64.changes -- schroot 
UNRELEASED-amd64-sbuild -- schroot UNRELEASED-amd64-sbuild
usage: schroot [-h] [-d] [-s SESSION_ID] schroot
schroot: error: unrecognized arguments: schroot UNRELEASED-amd64-sbuild
autopkgtest [09:01:32]: ERROR: testbed failure: cannot send to testbed: 
['BrokenPipeError: [Errno 32] Broken pipe\n']


Thanks!

cheers, josch

--- End Message ---
--- Begin Message ---
Hi,

On Mon, 12 Sep 2016 09:05:24 +0200 Johannes Schauer <jo...@debian.org> wrote:
> doing:
> 
> sbuild --run-autopkgtest --autopkgtest-opts="-- schroot %r-%a-sbuild"
> 
> results in:
> 
> autopkgtest [09:01:32]: version 4.0.4
> autopkgtest [09:01:32]: host hoothoot; command line: /usr/bin/autopkgtest 
> /tmp/botch_0.18-1.dsc /tmp/botch_0.18-1_amd64.changes -- schroot 
> UNRELEASED-amd64-sbuild -- schroot UNRELEASED-amd64-sbuild
> usage: schroot [-h] [-d] [-s SESSION_ID] schroot
> schroot: error: unrecognized arguments: schroot UNRELEASED-amd64-sbuild
> autopkgtest [09:01:32]: ERROR: testbed failure: cannot send to testbed: 
> ['BrokenPipeError: [Errno 32] Broken pipe\n']
> 

the problem was, that my ~/.sbuildrc said:

$autopkgtest_opts = [ '--', 'schroot', '%r-%a-sbuild' ];

The --autopkgtest-opts command line option would then append to this list. So
the observed behaviour was actually expected. One could say that command line
options should *overwrite* options given in the configuration file but since
--autopkgtest-opts is an option that can be passed multiple times, the option
has no way to figure out whether the content present in the configuration
variable came from the configuration file or from a prior --autopkgtest-opts
argument on the command line.

Thus, this problem is a WONTFIX.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


--- End Message ---

Reply via email to