Bug#519306: pbuilder: doesn't grok funny wrappings in debian/control

Eric Pozharski whynot at pozharski.name
Wed Mar 11 14:14:17 UTC 2009


Package: pbuilder
Version: 0.186
Severity: normal
Tags: patch

Accidentally stepped into F<debian/control> with funny wrappings.
Namely B<libmodule-scandeps-perl>, version 0.89-1.  Offending lines are:

	Build-Depends-Indep: perl (>= 5.8.0-7), perl-modules (>= 5.10.0) |
	 libmodule-build-perl (>= 0.28), libversion-perl, libtest-pod-perl,
	 libmodule-pluggable-perl, libprefork-perl

That finishes build with 

	Package: pbuilder-satisfydepends-dummy
	Version: 0.invalid.0
	Architecture: i386
	Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
	Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
	 This package was created automatically by pbuilder and should
	Depends: debhelper (>= 7), quilt (>= 0.40), perl (>= 5.8.0-7), perl-modules (>= 5.10.0) |, libmodule-build-perl (>= 0.28), libversion-perl, libtest-pod-perl, libmodule-pluggable-perl, libprefork-perl
	dpkg-deb: parse error, in file `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy/DEBIAN/control' near line 7 package `pbuilder-satisfydepends-dummy':
	 `Depends' field, missing package name, or garbage where package name expected
	Copying back the cached apt archive contents

Please note C<|,> between B<perl-modules> and B<libmodule-build-perl>.

I'd thought a lot of this and have found that only reliable place to fix
it is inside B<get_control_re> function of
F<pbuilder-satisfydepends-funcs>.  Look, after stripping headers it
would be error prone to recreate records.  Bugfix in attach.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (700, 'testing'), (700, 'stable'), (1, 'testing'), (1, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugfix.diff
Type: text/x-diff
Size: 1165 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20090311/88cb8c9a/attachment.diff 


More information about the Pbuilder-maint mailing list