[backportpackage] Doesn't find pbuilder-dist's chroot

Bug #943435 reported by Andrew Starr-Bochicchio
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Low
Stefano Rivera

Bug Description

My understanding is that pbuilder-dist's default location for its chroot is ~/pbuilder/$release-base.tgz and ~/pbuilder/$release-$arch-base.tgz for foreign archs. I haven't changed the defaults, but backportpackage fails. It's looking for ~/pbuilder/$release-$arch-base.tgz even though I'm building on the native arch.

$ apt-cache policy ubuntu-dev-tools
ubuntu-dev-tools:
  Installed: 0.140~daily+bzr1292~oneiric1
  Candidate: 0.140~daily+bzr1292~oneiric1
  Version table:
 *** 0.140~daily+bzr1292~oneiric1 0
        500 http://ppa.launchpad.net/udt-developers/daily/ubuntu/ oneiric/main i386 Packages
        100 /var/lib/dpkg/status
     0.132ubuntu0.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ oneiric-updates/universe i386 Packages
     0.132 0
        500 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages

$ ls ~/pbuilder/
experimental-base.tgz lucid_result natty_result precise_result
experimental_result maverick-base.tgz oneiric-base.tgz sid-base.tgz
local_repo maverick_result oneiric_result sid_result
lucid-base.tgz natty-base.tgz precise-base.tgz

$ uname -a
Linux andrew-laptop 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:50:54 UTC 2012 i686 athlon i386 GNU/Linux

$ cat ~/.pbuilderrc
AUTO_DEBSIGN=yes

HOOKDIR="/home/andrew/.pbuilder-hooks"

# Always turn on DH_VERBOSE
export DH_VERBOSE=1

# http://wiki.debian.org/PbuilderTricks
OTHERMIRROR="deb file:///home/andrew/pbuilder/local_repo ./"
BINDMOUNTS="/home/andrew/pbuilder/local_repo /var/cache/apt/archives"
EXTRAPACKAGES="apt-utils"

DEBOOTSTRAPOPTS=(
    '--variant=buildd'
    )

$ backportpackage --build -B pbuilder-dist -w ./build-area lintian
backportpackage: Downloading lintian_2.5.5.tar.gz from archive.ubuntu.com (1.012 MiB)

...snip...

Successfully signed dsc and changes files
[sudo] password for andrew:
E: File /home/andrew/pbuilder/oneiric-i386-base.tgz does not exist
backportpackage: Error: Failed to build lintian_2.5.5~oneiric1.dsc from source with pbuilder-dist.

Revision history for this message
Stefano Rivera (stefanor) wrote :

Looks likea bug in pbuilder-dist. Please try a daily build >= rev 1293.

Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Fix confirmed. Thanks Stefano!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.140

---------------
ubuntu-dev-tools (0.140) unstable; urgency=low

  [ Stefano Rivera ]
  * Bump Standards-Version to 3.9.3, no changes needed.
  * Update machine-readable copyright Format to 1.0.
  * pbuilder-dist: Use the same chroot, whether the system-architecture was
    the supplied architecture or was chosen by default (LP: #943435)
  * backportpackage
    - Prompt to delete existing workdirs (LP: #885514)
    - Support a BACKPORTPACKAGE_UPLOAD configuration/enviornment variable
      (LP: #693217)
  * requestsync:
    - New packages from non-free or contrib go into multiverse (LP: #935643)
    - Catch SeriesNotFoundException and display a friendly error (LP: #963888)

  [ Daniel Hahler ]
  * ubuntutools/archive.py: use ProxyHandler in _download_file.
    This makes use of the system proxy (e.g. http_proxy).
  * pbuilder-dist: Do not force default value for `--aptcache` argument
    (LP: #956903)

  [ John S Gruber ]
  * Don't use --override-config with operations other than update.
    (LP: #409696)

 -- Stefano Rivera <email address hidden> Thu, 29 Mar 2012 00:01:40 +0200

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.