Bug#434113: pbuilder: Wrong --arch option handling?
Mattia Rizzolo
mattia at mapreri.org
Sat Sep 19 14:31:05 UTC 2015
control: tags -1 + pending
On Sat, Jul 21, 2007 at 06:29:35PM +0200, Cyril Brulebois wrote:
> I'd like to pass --arch=amd64 to debootstrap, but it looks like having
> the following in /root/.pbuilderrc doesn't work properly:
> | DEBOOTSTRAPOPTS="--arch=amd64"
> (either with or without the second '=' sign)
>
> | # pbuilder --create --debootstrap debootstrap
> | Distribution is sid.
> | Building the build environment
> | -> running debootstrap
> | /usr/sbin/debootstrap
> | debootstrap received: --arch=amd64 sid . http://ftp.jp.debian.org/debian
> (I added a print "$@" at the top of the script)
> | E: No such script: http://ftp.jp.debian.org/debian
> | pbuilder: debootstrap failed
> | -> Aborting with an error
> | -> cleaning the build env
> | -> removing directory /var/cache/pbuilder/build//7398 and its subdirectories
>
> I deleted /root/.pbuilderrc, and tried the following:
> | # pbuilder --create --debootstrap debootstrap --debootstrapopts "--arch amd64"
> | W: /root/.pbuilderrc does not exist
> | Distribution is sid.
> | Building the build environment
> | -> running debootstrap
> | /usr/sbin/debootstrap
> | debootstrap received: --variant=buildd --arch amd64 sid . http://ftp.jp.debian.org/debian
> | E: No such script: http://ftp.jp.debian.org/debian
> | pbuilder: debootstrap failed
> | -> Aborting with an error
> | -> cleaning the build env
> | -> removing directory /var/cache/pbuilder/build//7470 and its subdirectories
I don't even know whether in 2007 this option was available, but at
least now there is the --architecture flag available in pbuilder that is
used just for this, and the value is passed as-is to debootstrap.
anyway, I tried to improve the manpage a bit more :)
--
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: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20150919/f2e648de/attachment.sig>
More information about the Pbuilder-maint
mailing list