Bug#725063: pbuilder: --architecture flag not applied

Drew Parsons dparsons at debian.org
Tue Oct 1 00:45:22 UTC 2013


Package: pbuilder
Version: 0.215
Severity: normal

I'm trying to use pdebuild to build a deb package for the i386
architecture on an amd64 system.  I understand the --architecture flag
is intended to allow this.

But when I try 
    pdebuild --architecture i386  --debbuildopts -i.git --buildresult ..
pdebuild attempts to build an amd64 package regardless.

amd64 gets invoked when installing build-depends:
  I: Obtaining the cached apt archive contents
  I: Installing the build-deps
   -> Attempting to satisfy build-dependencies
    -> Creating pbuilder-satisfydepends-dummy package
    Package: pbuilder-satisfydepends-dummy
    Version: 0.invalid.0
    Architecture: amd64

is found by dpkg-buildpackage
dpkg-buildpackage: host architecture amd64

and is invoked also when building deb packages:
  dh_builddeb
  dpkg-deb: building package libopus0' in ../libopus0_1.1~beta-3.1_amd64.deb'.
  dpkg-deb: building package libopus-dev' in ../libopus-dev_1.1~beta-3.1_amd64.deb'.
  dpkg-deb: building package libopus-dbg' in ../libopus-dbg_1.1~beta-3.1_amd64.deb'.



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

Kernel: Linux 3.10-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  coreutils              8.21-1
ii  debconf [debconf-2.0]  1.5.51
ii  debianutils            4.4
ii  debootstrap            1.0.53
ii  dpkg-dev               1.17.1
ii  wget                   1.14-4

Versions of packages pbuilder recommends:
ii  devscripts  2.13.4
ii  fakeroot    1.20-1
ii  sudo        1.8.7-4

Versions of packages pbuilder suggests:
ii  cowdancer     0.73
ii  gdebi-core    0.9.1
ii  pbuilder-uml  0.215

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



More information about the Pbuilder-maint mailing list