Bug#875363: "apt build-dep" fails for empty "Build-Depends-Indep:" line
Package: apt
Version: 1.5~rc1
Severity: normal
User: debian-java@lists.debian.org
Usertags: default-java9
The package "src:geotranz" contains a control file like:
...
Maintainer: Roberto Lumbreras <rover@debian.org>
Build-Depends: cdbs (>= 0.4.93~), dh-exec (>=0.3), debhelper (>= 9), default-jdk, giftrans, imagemagick, cpio
Build-Depends-Indep:
Standards-Version: 3.9.5
...
https://sources.debian.net/src/geotranz/3.3-1/debian/control/#L6
Running apt build-dep on this package results in a failure:
% sudo apt build-dep .
Note, using directory '.' to get the build dependencies
Reading package lists... Done
E: Problem parsing dependency: Build-Depends-Indep
E: Unable to get build-dependency information for .
Please either fix apt to accept this, or clarify why this is illegal,
so we can get geotranz fixed.
My guess as to the relevant spec would be 5.1:
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-controlsyntax
> Empty field values are only permitted in source package control
> files (debian/control). Such fields are ignored.
(Personally I feel that geotranz is wrong, and apt is fine here.)
Cheers,
Chris.
Reply to: