NoSuchRevision error during recipe build

Bug #1433680 reported by Doug Torrance on 2015-03-18
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
Undecided
Unassigned

Bug Description

When building [1], I get the following error (copied and pasted from [2]). The Bazaar branch the recipe uses is imported from a Git repository. Perhaps something is funny with the import?

Whats going wrong? Thanks!

Retrieving 'lp:unity-greeter-badges' to put at '/home/buildd/build-RECIPEBRANCHBUILD-879454/chroot-autobuild/home/buildd/work/tree/recipe-{debupstream}-0~{revno}'.
bzr: ERROR: bzrlib.errors.NoSuchRevision: CHKInventoryRepository('http://bazaar.launchpad.net/~profzoom/unity-greeter-badges/master/.bzr/repository/') has no revision git-v1:450d83da006789589f8c585713106fedc424f34d

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builder/cmds.py", line 398, in run
    package_version.upstream_version, working_basedir)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/builder/deb_util.py", line 125, in extract_upstream_tarball
    tree = branch.repository.revision_tree(revid)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 155, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/vf_repository.py", line 1839, in revision_tree
    inv = self.get_inventory(revision_id)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 155, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/vf_repository.py", line 1732, in get_inventory
    return self.iter_inventories([revision_id]).next()
  File "/usr/lib/python2.7/dist-packages/bzrlib/vf_repository.py", line 1752, in iter_inventories
    raise errors.NoSuchRevision(self, revid)
NoSuchRevision: CHKInventoryRepository('http://bazaar.launchpad.net/~profzoom/unity-greeter-badges/master/.bzr/repository/') has no revision git-v1:450d83da006789589f8c585713106fedc424f34d

[1] https://code.launchpad.net/~profzoom/+recipe/unity-greeter-badges
[2] https://launchpadlibrarian.net/199085204/buildlog.txt.gz

Doug Torrance (profzoom) wrote :

I'm having the same issue with another recipe for another package. See [1] and [2].

[1] https://code.launchpad.net/~profzoom/+recipe/frobby
[2] https://launchpadlibrarian.net/200677371/buildlog.txt.gz

William Grant (wgrant) on 2015-07-29
affects: launchpad → bzr-git
Jelmer Vernooij (jelmer) on 2016-06-07
Changed in bzr-git:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers