bzr crashed with AssertionError in provide()

Bug #785383 reported by Paul Gevers
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bzr-builddeb
Fix Released
Medium
Unassigned
bzr-builddeb (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: bzr

Recently we created a new project on launchpad (remote-torrent), and I am trying to figure out how to build debian packages from that using bzr functionality (instead of doing it manually).

Now there is no tar ball yet of a release and bzr went out to fetch some. The following is the result:

paul@stromboli ~/offline/remote-torrent/trunk $ bzr-buildpackage
Building using working tree
Building package in normal mode
Purging the build dir: /media/home/paul/offline/remote-torrent/build-area/remote-torrent-1.3.2
Looking for a way to retrieve the upstream tarball
Using apt to look for the upstream tarball.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 39.0 kB of source archives.
Get:1 http://ppa.launchpad.net/chaim-zax/ppa/ubuntu/ maverick/main remote-torrent 1.3.2 (tar) [39.0 kB]
Fetched 39.0 kB in 0s (115 kB/s)
bzr: ERROR: exceptions.AssertionError:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 926, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1126, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 691, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 713, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/cmds.py", line 422, in run
    builder.export()
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/builder.py", line 75, in export
    self.distiller.distill(self.target_dir)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/source_distiller.py", line 83, in distill
    self._distill(target)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/source_distiller.py", line 108, in _distill
    self.upstream_provider.provide(parent_dir)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builddeb/upstream/__init__.py", line 542, in provide
    assert path is not None
AssertionError

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.1000.2011-05-19T19:48.crash
if a bug-reporting window does not automatically appear.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bzr 2.3.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
BzrDebugFlags: set()
BzrVersion: 2.3.1
CommandLine: ['/usr/bin/bzr', 'builddeb']
CrashDb: bzr
Date: Thu May 19 21:48:57 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Kubuntu-Netbook 10.04 "Lucid Lynx" - Alpha i386 (20100112.2)
InterpreterPath: /usr/bin/python2.7
Locale: en_US.UTF-8
PackageArchitecture: all
Platform: Linux-2.6.38-8-generic-i686-with-Ubuntu-11.04-natty
ProcCmdline: /usr/bin/python /usr/bin/bzr builddeb
ProcEnviron:
 LC_TIME=nl_NL.UTF-8
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonVersion: 2.7.1
SourcePackage: bzr
Title: bzr crashed with AssertionError in provide()
UpgradeStatus: Upgraded to natty on 2011-05-11 (8 days ago)
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare users

Revision history for this message
Paul Gevers (paul-climbing) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Jelmer Vernooij (jelmer)
affects: bzr (Ubuntu) → bzr-builddeb (Ubuntu)
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: New → Fix Released
Changed in bzr-builddeb (Ubuntu):
status: New → Fix Released
Revision history for this message
Barry Warsaw (barry) wrote :

I just hit this bug in 11.10. Will apport-collect information be useful?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Can you reproduce this with bzr-builddeb trunk? It no longer has this line.

Changed in bzr-builddeb (Ubuntu):
status: Fix Released → Fix Committed
Changed in bzr-builddeb:
status: Fix Released → Fix Committed
milestone: none → 2.8
importance: Undecided → Medium
Changed in bzr-builddeb (Ubuntu):
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: Fix Committed → Fix Released
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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