Bug#143117: dpkg-dev: dpkg-gencontrol crashes if more than 1 blank line between sets in debian/control
Appendix C in the Debian Policy Manual tells us:
This file contains version-independent details about the source
package and about the binary packages it creates.
It is a series of sets of control fields, each syntactically similar
to a binary package control file. The sets are separated by one or
more blank lines. The first set is information about the source
package in general; each subsequent set describes one binary package
that the source tree builds.
However, putting more than one blank lines between sets will cause the
following error in dpkg-gencontrol:
dpkg-gencontrol: error: per-package paragraph 1 in control info file
is missing Package line
I was pointed out on debian-mentors that this bug was reported as bug
#56056 previously, patched and closed. It looks like it came back. I
don't know if the patch still applies, though.
-- System Information
Debian Release: 3.0
Kernel: Linux orion 2.2.20 #1 Sun Nov 4 15:44:23 EST 2001 i686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro
Versions of packages dpkg-dev depends on:
ii binutils 220.127.116.11.1-1 The GNU assembler, linker and bina
ii cpio 2.4.2-39 GNU cpio -- a program to manage ar
ii make 3.79.1-13 The GNU version of the "make" util
ii patch 2.5.4-10 Apply a diff file to an original
ii perl [perl5] 5.6.1-7 Larry Wall's Practical Extraction
ii perl-modules 5.6.1-7 Core Perl modules.
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com