[buildd-tools-devel] Bug#588550: sbuild: Fails to build binNMUs for packages with urgency comments in changelogs

Adam D. Barratt adam at adam-barratt.org.uk
Fri Jul 9 15:20:42 UTC 2010


Package: sbuild
Version: 0.60.0-1
Severity: serious

(Filed as serious as it prevents binNMUing packages which are policy
compliant; I did argue with myself a little over the severity)

Hi,

The recently scheduled binNMUs of the "mandos" package failed due to a
problem with the auto-generated binNMU changelog; from one of the logs:

parsechangelog/debian: warning:     debian/changelog(l1): unrecognised line
LINE:  (1.0.14-1+b1) unstable; urgency=low
parsechangelog/debian: error: Can't call method "as_string" on an
undefined value at /usr/share/perl5/Dpkg/Changelog.pm line 250, <STDIN>
line 8.

This appears to be due to line 830 of lib/Sbuild/Build.pm which does:

$firstline =~ /^(\S+)\s+\((\S+)\)\s+([^;]+)\s*;\s*urgency=(\S+)\s*$/;

The most recent header line from the mandos changelog is:

mandos (1.0.14-1) unstable; urgency=low (HIGH on mips and mipsel)

Although unusual, this form is permitted by section 5.6.17 of Policy.

Regards,

Adam






More information about the Buildd-tools-devel mailing list