Bug#882764: pbuilder: invokes debootstrap with option --arch twice

Mattia Rizzolo mattia at debian.org
Tue Nov 28 10:13:03 UTC 2017


Control: tag -1 moreinfo

On Sun, Nov 26, 2017 at 03:19:20PM +0100, Raphaël Halimi wrote:
> I noticed in pbuilder's debug log that
> debootstrap is invoked with the --arch option twice:
> 
> + debootstrap --arch=amd64 --include=apt --arch amd64 --variant=buildd
> --force-check-gpg wheezy /var/cache/pbuilder/build/12539
> http://ftp.fr.debian.org/debian/
> 
> I guess it's harmless, but it may be confusing when reading the debug logs.

pbuilder is not adding the second instance of --arch, I instead believe
it's coming from your pbuilderrc, could you please check?

This is what it does:
"${DEBOOTSTRAP}" \
    ${ARCHITECTURE:+--arch=$ARCHITECTURE} \
    --include=apt \
    "${DEBOOTSTRAPOPTS[@]}" \
    "$DISTRIBUTION" \
    "$BUILDPLACE" \
    "$MIRRORSITE" \
    $DEBOOTSTRAPSCRIPT

As you can see by comparing this with the command you posted you can see
how the second --arch is coming through ${DEBOOTSTRAPTOPS[@]}.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://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: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20171128/23a82362/attachment.sig>


More information about the Pbuilder-maint mailing list