Bug#866970: pbuilder: failed to create buster-i386 environment on amd64 host

Kentaro Hayashi hayashi at clear-code.com
Mon Jul 3 06:06:46 UTC 2017


Package: pbuilder
Version: 0.228.7
Severity: normal

Dear Maintainer,

I use pbulder 0.228.7 on amd64 host machine.

% dpkg -l | \grep pbuilder
ii  pbuilder                               0.228.7
all          personal package builder for Debian packages

Then executed the following command.

$ sudo pbuilder --create \
  --distribution buster \
  --architecture i386 \
  --basetgz /tmp/buster-i386.tgz \
  --aptcache /var/cache/pbuilder/aptcache/buster-i386 \
  --mirror "http://ftp.jp.debian.org/debian" \
  --othermirror "deb http://security.debian.org buster/updates main" \
  --components main

I've expected to create buster-i386 enviromnent to build myown deb packages.
But pbuilder created buster amd64 environment instead.

There is a partial log here, it indicates that amd64 packages are installed.

I: Configuring libstdc++-6-dev:amd64...
Get:1 http://ftp.jp.debian.org/debian buster/main amd64 libxapian30 amd64
1.4.3-2 [1067 kB]
Get:2 http://ftp.jp.debian.org/debian buster/main amd64 libsqlite3-0 amd64
3.16.2-5 [572 kB]
Get:3 http://ftp.jp.debian.org/debian buster/main amd64 aptitude-common all
0.8.8-1 [1590 kB]
Get:4 http://ftp.jp.debian.org/debian buster/main amd64 libboost-system1.62.0
amd64 1.62.0+dfsg-4+b1 [32.7 kB]
Get:5 http://ftp.jp.debian.org/debian buster/main amd64 libboost-
filesystem1.62.0 amd64 1.62.0+dfsg-4+b1 [63.6 kB]
Get:6 http://ftp.jp.debian.org/debian buster/main amd64 libboost-
iostreams1.62.0 amd64 1.62.0+dfsg-4+b1 [51.1 kB]
Get:7 http://ftp.jp.debian.org/debian buster/main amd64 libsigc++-2.0-0v5 amd64
2.10.0-1 [61.1 kB]
Get:8 http://ftp.jp.debian.org/debian buster/main amd64 libcwidget3v5 amd64
0.5.17-6 [311 kB]
Get:9 http://ftp.jp.debian.org/debian buster/main amd64 aptitude amd64 0.8.8-1
[1477 kB]
Selecting previously unselected package libxapian30:amd64.
Preparing to unpack .../0-libxapian30_1.4.3-2_amd64.deb ...
Unpacking libxapian30:amd64 (1.4.3-2) ...

This is not expected behavior.



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8), LANGUAGE=ja_JP.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pbuilder depends on:
ii  cdebootstrap           0.7.7+b1
ii  debconf [debconf-2.0]  1.5.61
ii  debootstrap            1.0.90
ii  dpkg-dev               1.18.24
ii  wget                   1.19.1-4

Versions of packages pbuilder recommends:
ii  devscripts  2.17.6
ii  eatmydata   105-5
ii  fakeroot    1.21-3.1
ii  iproute2    4.9.0-1
ii  net-tools   1.60+git20161116.90da8a0-1
ii  sudo        1.8.20p2-1

Versions of packages pbuilder suggests:
pn  cowdancer   <none>
pn  gdebi-core  <none>

-- debconf information:
  pbuilder/nomirror:
  pbuilder/mirrorsite: http://ftp.jp.debian.org/debian/
  pbuilder/rewrite: false



More information about the Pbuilder-maint mailing list