Source: debhelper
Version: 10.10
Severity: serious
Control: found -1 10.10.4

Hi,

As of debhelper 10.10, debhelper cannot parse debian/control files with
blank lines before the first paragraph. I originally noticed this when
attemping (and failing) to build golang-1.9 which has a comment at the
top of its debian/control file.

Example running on the debhelper source itself:

$ sed -i '1i\\' debian/control
$ dpkg-buildpackage -T clean
dpkg-buildpackage: info: source package debhelper
dpkg-buildpackage: info: source version 10.10.4
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Niels Thykier <ni...@thykier.net>
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
./run dh clean --without autoreconf --with build-stamp
dh: could not find Source: line in control file.
debian/rules:13: recipe for target 'clean' failed
make: *** [clean] Error 25
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2

I bisected it to this commit:
commit 087be1a300581b989aa38227693a8a6f112408f9 (refs/bisect/bad)
Author: Niels Thykier <ni...@thykier.net>
Date:   Sat Sep 16 14:51:53 2017 +0000

    Add minimal R³ support for debhelper
    
    Signed-off-by: Niels Thykier <ni...@thykier.net>

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to