[Bug 804241] Re: empty leading and comment lines in debian/control break source package name finding

Jelmer Vernooij 804241 at bugs.launchpad.net
Sun Dec 11 17:06:47 UTC 2011


** Summary changed:

- empty leading lines in debian/control break source package name finding
+ empty leading and comment lines in debian/control break source package name finding

** No longer affects: python-debian

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-debian in Ubuntu.
https://bugs.launchpad.net/bugs/804241

Title:
  empty leading and comment lines in debian/control break source package
  name finding

Status in bzr-builder:
  Invalid
Status in Launchpad Auto Build System:
  Triaged
Status in “python-debian” package in Ubuntu:
  Triaged
Status in “python-debian” package in Debian:
  Fix Released

Bug description:
  e.g. building gedit which has the attached control file, the following
  exception is raised:

  
  bzr: ERROR: exceptions.KeyError: 'Source'

  Traceback (most recent call last):
    File "/home/jelmer/src/bzr/foreign/bzrlib/commands.py", line 946, in exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/home/jelmer/src/bzr/foreign/bzrlib/commands.py", line 1150, in run_bzr
      ret = run(*run_argv)
    File "/home/jelmer/src/bzr/foreign/bzrlib/commands.py", line 699, in run_argv_aliases
      return self.run(**all_cmd_args)
    File "/home/jelmer/src/bzr/foreign/bzrlib/commands.py", line 721, in run
      return self._operation.run_simple(*args, **kwargs)
    File "/home/jelmer/src/bzr/foreign/bzrlib/cleanup.py", line 135, in run_simple
      self.cleanups, self.func, *args, **kwargs)
    File "/home/jelmer/src/bzr/foreign/bzrlib/cleanup.py", line 165, in _do_with_cleanups
      result = func(*args, **kwargs)
    File "/home/jelmer/.bazaar/plugins/builder/cmds.py", line 701, in run
      package = debian_source_package_name(control_path)
    File "/home/jelmer/.bazaar/plugins/builder/cmds.py", line 549, in debian_source_package_name
      return control["Source"]
    File "/usr/lib/pymodules/python2.7/debian/deb822.py", line 175, in __getitem__
      value = self.__dict[key]
  KeyError: 'Source'

  You can report this problem to Bazaar's developers by running
      apport-bug /var/crash/bzr.1000.2011-07-01T10:40.crash
  if a bug-reporting window does not automatically appear.

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr-builder/+bug/804241/+subscriptions




More information about the foundations-bugs mailing list