Bug#111562: #111562: dpkg-checkbuilddeps: incorrect parsing of empty Build-Depends
reopen 115562
thanks,
On Fri, May 24, 2002 at 09:00:58PM -0500, Adam Heath wrote:
> This was fixed in dpkg 1.9.8, which was uploaded on June 2, 2001.
>
> ==
> adam@gradall:~/debian/mine/dpkg/HEAD/cvs$ dpkg-checkbuilddeps ; echo $?
> 0
> adam@gradall:~/debian/mine/dpkg/HEAD/cvs$ grep -i build-depends debian/control
> Build-Depends: debiandoc-sgml, sgmltools-lite, libncurses-dev, gettext (>=
> 0.10.36), zlib1g-dev
> Build-Depends-Indep:
> ==
Original bug report read:
<Package: dpkg-dev
<Version: 1.9.17
<Severity: normal
<
<Hello,
<
<The control file of my pari package look like
<
<Source: pari
<Build-Depends: debhelper (>= 1.1.17),tetex-bin,tetex-extra,libreadline4-dev,xlib
<s-dev,libncurses5-dev
<Build-Depends-Indep:
<Section: math
<Priority: optional
<Maintainer: Bill Allombert <ballombe@debian.org>
<Standards-Version: 3.5.5.0
This calls for some comments:
1) the bug is against dpkg 1.9.17 and still apply with 1.9.20. Wether or not it
works with dpkg 1.9.8 or with the current CVS version is not particularly relevant.
2) It seems an empty Build-Depends-Indep: line followed by an empty line is
accepted by dpkg-checkbuilddeps, but not if it is followed by another control
line, i.e if Build-Depends-Indep: is not the last line of the Source section.
3) The bug is easily reproducible with the information I gave. Just do
cd /tmp;mkdir -p foo/debian; cd foo; cat >debian/control <<EOF
Source: pari
Build-Depends:
Section: math
Priority: optional
Maintainer: Bill Allombert <ballombe@debian.org>
Standards-Version: 3.5.5.0
EOF
dpkg-checkbuilddeps
and the output is
dpkg-checkbuilddeps: Unmet build dependencies: Section: math
Cheers,
--
Bill. <ballombe@debian.org>
FHS 5.3: As of the date of this release of the standard, system crash were
not supported under Linux.
--
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: