internal error - bzr builddeb

Bug #376646 reported by Tony Espy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-builddeb
New
Undecided
Unassigned

Bug Description

While excerising my new favorite command, bzr builddeb, I ran into an internal error, so I'm reporting it.

I'm running 9.04, and was trying to build from the following bzr branch ( rev - ) using 'bzr debuild'.

lp:~asac/connman/connman-gnome.ubuntu.head

I branched using '-r 13'.

Here's the command I used to build:

bzr builddeb --merge --dont-purge --builder='dpkg-buildpackage -rfakeroot -b'

Here's the traceback:

espy@zappa:% bzr builddeb --merge --dont-purge --builder='dpkg-buildpackage -rfakeroot -b -us -uc'
Building using working tree
Running in merge mode
Looking for a way to retrieve the upstream tarball
bzr: ERROR: exceptions.SystemError: E:Could not open file /var/lib/apt/lists/private-ppa.launchpad.net_oem-solutions-group_ppa_ubuntu_dists_karmic_main_source_Sources - open (2 No such file or directory)

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 716, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 911, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 547, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/cmds.py", line 396, in run
    builder.export()
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/builder.py", line 74, in export
    self.distiller.distill(self.target_dir)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/source_distiller.py", line 82, in distill
    self._distill(target)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/source_distiller.py", line 123, in _distill
    tarball = self.upstream_provider.provide(parent_dir)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/upstream.py", line 220, in provide
    elif self.provide_with_apt(self.store_dir):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/upstream.py", line 253, in provide_with_apt
    target_dir)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/upstream.py", line 59, in provide_with_apt
    sources = apt_pkg.GetPkgSrcRecords()
SystemError: E:Could not open file /var/lib/apt/lists/private-ppa.launchpad.net_oem-solutions-group_ppa_ubuntu_dists_karmic_main_source_Sources - open (2 No such file or directory)

bzr 1.13.1 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'builddeb', '--merge', '--dont-purge', '--builder=dpkg-buildpackage -rfakeroot -b -us -uc']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  builddeb /usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb [unknown]
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.13]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [unknown]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Revision history for this message
James Westby (james-w) wrote :

Hey Tony,

Thanks for the report. I've marked it a duplicate of bug 375897,
as though the cause is different, the fix is the same.

The patch should be small, so if it's blocking you then I can prioritize
it, but I have a suspicion that an "apt-get update" may make it
go away.

Thanks,

James

affects: bzr → bzr-builddeb
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.