Bug#811199: pbuilder: fails due to syntax error

Mattia Rizzolo mattia at debian.org
Sat Jan 16 18:20:11 UTC 2016


Package: pbuilder
Version: 0.222
User: pbuilder at packages.debian.org
Usertags: pbuilder
Control: submitter -1 Thorsten Glaser <tg at mirbsd.de>

On Thu, Jan 14, 2016 at 10:26:12AM +0000, Thorsten Glaser wrote:
>  This works normally:
> 
> […]
> I: Building the package
> I: Running cd /tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -m'Thorsten Glaser <tg at mirbsd.de>' -e'Thorsten Glaser <tg at mirbsd.de>' -sa -v2.4.9.1+dfsg-1.2 -sa -v2.4.9.1+dfsg-1.2 -rfakeroot
> dpkg-buildpackage: source package opencv
> […]
> 
> It fails when using --binary-arch on the command line though,
> because that somehow doubles the arguments (this is an old bug,
> but previously, the doubling did not break the build):
> 
> […]
> I: Running cd /tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -m'Thorsten Glaser <tg at mirbsd.de>' -e'Thorsten Glaser <tg at mirbsd.de>' -B -m'\''Thorsten Glaser <tg at mirbsd.de>'\'' -e'\''Thorsten Glaser <tg at mirbsd.de>'\'' -B -rfakeroot
> /bin/sh: 2: Syntax error: Unterminated quoted string
> […]
On Fri, Jan 15, 2016 at 12:15 AM, Thorsten Glaser <tg at mirbsd.de> wrote:
>
> This is actually caused by the absence of --debbuildopts -sa
> from the command line, not by the presence of --binary-arch.
>
> Looks as if they are doubled, and in a broken way at that,
> when --debbuildopts is never given.
>
> With:
>
> I: Running cd /tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -m'Thorsten Glaser <tg at mirbsd.de>' -e'Thorsten Glaser <tg at mirbsd.de>' -sa -sa -rfakeroot
>
> Without:
>
> I: Running cd /tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -m'Thorsten Glaser <tg at mirbsd.de>' -e'Thorsten Glaser <tg at mirbsd.de>' -m'\''Thorsten Glaser <tg at mirbsd.de>'\'' -e'\''Thorsten Glaser <tg at mirbsd.de>'\'' -rfakeroot
>
> Looking at this, the -sa is doubled in the with case…

umh, can you also give me the full command line you're running?



> Do you need a new bugreport for that?

yes, I'm very very bad at following/reading otherwise.
So, I'm doing one with this email :P

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20160116/8b9718b0/attachment.sig>


More information about the Pbuilder-maint mailing list