KeyError: 'Source'

Bug #1030822 reported by Timmie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-builder
Won't Fix
Low
Unassigned

Bug Description

I do not really see if this is a Bazaar bug or a problem of my recipe:

etrieving 'lp:~pythonxy/spyderlib/spyder_devel_manual' to put at '/home/buildd/build-80663e5fc4559ae3b703f119c7e65719fa34d893/chroot-autobuild/home/buildd/work/tree/recipe-2.1.11+{revno}-0ubuntu1'.
Retrieving 'lp:~pythonxy/spyderlib/spyder_devel_debian' to put at '/home/buildd/build-80663e5fc4559ae3b703f119c7e65719fa34d893/chroot-autobuild/home/buildd/work/tree/recipe-2.1.11+{revno}-0ubuntu1/debian'.
bzr: ERROR: exceptions.KeyError: 'Source'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builder/cmds.py", line 653, in run
    package = debian_source_package_name(control_path)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builder/cmds.py", line 499, in debian_source_package_name
    return control["Source"].encode("ascii")
  File "/var/lib/python-support/python2.5/debian_bundle/deb822.py", line 95, in __getitem__
    return self.__dict[key]
KeyError: 'Source'
(1.0320640000000001, 0.22401399999999999, 0, 0, 0, 0, 24898, 25, 0, 7832, 24120, 0, 0, 0, 2321, 35)
RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['/usr/share/launchpad-buildd/slavebin/scan-for-processes', '80663e5fc4559ae3b703f119c7e65719fa34d893']
Scanning for processes to kill in build /home/buildd/build-80663e5fc4559ae3b703f119c7e65719fa34d893/chroot-autobuild...
RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', '80663e5fc4559ae3b703f119c7e65719fa34d893']
Unmounting chroot for build 80663e5fc4559ae3b703f119c7e65719fa34d893...
RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', '80663e5fc4559ae3b703f119c7e65719fa34d893']
Removing build 80663e5fc4559ae3b703f119c7e65719fa34d893

https://launchpadlibrarian.net/111462093/buildlog.txt.gz

Revision history for this message
Martin Packman (gz) wrote :

Well, it's both a bug in bzr-builder and your packaging. You don't have the Source field in your debian/control file, which is mandatory:

<http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source>
<http://bazaar.launchpad.net/~pythonxy/spyderlib/spyder_devel_debian/view/10/control>

That 'loca' at the beginning looks like an accident.

affects: bzr → bzr-builder
Changed in bzr-builder:
importance: Undecided → Low
status: New → Confirmed
William Grant (wgrant)
Changed in bzr-builder:
status: Confirmed → Won't Fix
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.