AssertionError in provide during builddeb

Bug #552893 reported by Alex Wolfson
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bzr-builddeb
Fix Released
High
Jelmer Vernooij

Bug Description

I was building a package from bazaar by
bzr bd --split --dont-purge lp:~adana-team/adana/marvell-restricted-extras

The build host was Marvell's Dove X0 board, running Lucid . (This is ARM board)
Second time command succeeded, but it seems that tar was already downloaded first time

"Looking for a way to retrieve the upstream tarball
Upstream tarball already exists in build directory, using that"

This is the error message from the first run

Need to get 2,115B of source archives.
Get: 1 https://private-ppa.launchpad.net/canonical-arm-dev/marvell-dove-private/ubuntu/ lucid/main marvell-restricted-extras 1 (tar) [2,115B]
Fetched 2,115B in 2s (800B/s)
bzr: ERROR: exceptions.AssertionError:

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    attaching the crash file
        /home/ubuntu/.cache/crash/bzr-20100331213855-7606.crash
    and including a description of the problem.

    The crash file is plain text and you can inspect or edit it to remove
    private information.

 Traceback (most recent call last):
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code
     return the_callable(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr
     ret = run(*run_argv)
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases
     return self.run_direct(**all_cmd_args)
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct
     return self._operation.run_simple(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
     self.cleanups, self.func, *args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
     result = func(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/cmds.py", line 388, in run
     builder.export()
   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/builder.py", line 75, in export
     self.distiller.distill(self.target_dir)
   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/source_distiller.py", line 83, in distill
     self._distill(target)
   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/source_distiller.py", line 108, in _distill
     self.upstream_provider.provide(parent_dir)
   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/upstream.py", line 433, in provide
     assert path is not None
 AssertionError

Tags: udd

Related branches

Revision history for this message
Alex Wolfson (awolfson) wrote :
Martin Pool (mbp)
tags: added: udd
description: updated
summary: - bzr: ERROR: exceptions.AssertionError:
+ AssertionError in provide during builddeb
affects: bzr → bzr-builddeb
Revision history for this message
Robert Collins (lifeless) wrote :

James said '
This looks like it might be because the downloaded filename is different
to the version, but I'm not entirely sure.

Thanks for the pointer to the branch to reproduce.

Thanks,' on another related bug.

Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: In Progress → Fix Committed
Max Bowsher (maxb)
Changed in bzr-builddeb:
milestone: none → 2.7
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
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.