[Pkg-bazaar-maint] Bug#429299: bzr-builddeb: Dies with Python traceback
Mark Brown
broonie at sirena.org.uk
Sat Jun 16 20:50:54 UTC 2007
Package: bzr-builddeb
Version: 0.16.2
Severity: important
When invoked with no arguments in a clean checkout of revision 36 of
http://bzr.debian.org/bzr/pkg-nis/nis/debian
bzr-buildpackage dies with a Python traceback, apparently due to trying to
parse one of the historical changelog entries at the foot of the NIS
changelog which are in a non-standard format.
This isn't a great feature of the source package but none of the other
Debian tools mind and there's no need for the program to be parsing these
historical entries. Obviously the error reporting for the parse error isn't
ideal either.
$ bzr-buildpackage
Building branch from revision broonie at damiel-20070616201930-73uecb2a2es8rdou
bzr: ERROR: debian_bundle.changelog.ChangelogParseError: Could not parse changelog: * nis-1.20-2 Tue Jul 2 11:28:30 MET DST 1996
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 718, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 679, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 375, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.4/site-packages/bzrlib/plugins/builddeb/__init__.py", line 223, in run
(changelog, larstiq) = find_changelog(t, merge)
File "/usr/lib/python2.4/site-packages/bzrlib/plugins/builddeb/util.py", line 116, in find_changelog
changelog = Changelog(contents)
File "/var/lib/python-support/python2.4/debian_bundle/changelog.py", line 226, in __init__
raise ChangelogParseError(line)
ChangelogParseError: Could not parse changelog: * nis-1.20-2 Tue Jul 2 11:28:30 MET DST 1996
bzr 0.17.0candidate1 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'builddeb']
** please send this report to bazaar at lists.ubuntu.com
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.21-1-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bzr-builddeb depends on:
ii bzr 0.17~rc1-1 Bazaar, the next-generation distri
ii dpkg-dev 1.14.4 package building tools for Debian
ii fakeroot 1.7.1 Gives a fake root environment
ii python 2.4.4-6 An interactive high-level object-o
ii python-central 0.5.14 register and build utility for Pyt
ii python-deb822 0.3 Read and manipulate RFC822-like fi
ii python-debian 0.1.2 python modules to work with Debian
bzr-builddeb recommends no packages.
-- no debconf information
More information about the Pkg-bazaar-maint
mailing list