[debhelper-devel] Bug#784803: Please add a parameter to override dh_installdocs --link-doc version

Jean-Michel Nirgal Vourgère jmv_deb at nirgal.com
Fri May 8 23:02:46 UTC 2015


Package: debhelper
Version: 9.20150101
Severity: wishlist

Hello

This is a follow up about https://bugs.debian.org/747141

Basically, the detected version of the depends introduced by
dh_installdocs --link-doc is now wrong.

The change was introduced here:
https://anonscm.debian.org/cgit/debhelper/debhelper.git/commit/?id=91636c41fe091ea54e1c2c2516ee431ec0332685


You said in https://bugs.debian.org/747141#129 you are not convinced
this is useful, but since there is at least one other package impacted,
I'm filling this as a wish anyway. Fell free to close it if you don't
want to think about it any more.


Some apache2 modules now contains an invalid dependency [1]. These are
transitional packages that will be removed soon, so it's no big deal,
but here's our not-so-uncommon scenario:

Two of the apache modules were maintained separately and are now part of
apache2-bin.
apache2 now yields transitional binary packages for these two, and makes
sure their version is greater.

We have:

DEBIAN_VERSION := $(shell dpkg-parsechangelog -S version)
override_dh_gencontrol:
 dh_gencontrol  -p libapache2-mod-proxy-html -- -v1:$(DEBIAN_VERSION)
 dh_gencontrol  -p libapache2-mod-macro -- -v1:$(DEBIAN_VERSION)
 dh_gencontrol --remaining-packages


So that apache2 source package generates libapache2-mod-proxy-html and
libapache2-mod-macro with these control files (note the epoch):
 Source: apache2 (2.4.12-1)
 Version: 1:2.4.12-1

Also we have:
override_dh_installdocs-arch:
 dh_installdocs --link-doc=apache2-bin -papache2.2-bin \
    -plibapache2-mod-proxy-html \
    -plibapache2-mod-macro

The generated control files contain:
 Depends: apache2-bin (= 1:2.4.12-1)
while we had in jessie:
 Depends: apache2-bin (= 2.4.12-1)

Currently the problem only appears on i386 archictecture that has been
upgraded to a recent version of debhelper, I suppose. [1]

If debhelper can't find the correct version anymore, it would be nice to
be able to force it on the command line without hacking back the substvars.

Thank you!


[1] https://qa.debian.org/excuses.php?package=apache2
* 10 days old (needed 5 days)
* libapache2-mod-macro/i386 unsatisfiable Depends: apache2-bin (=
1:2.4.12-1)
* libapache2-mod-proxy-html/i386 unsatisfiable Depends: apache2-bin (=
1:2.4.12-1)
* Valid candidate

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20150508/c25661c8/attachment-0001.sig>


More information about the debhelper-devel mailing list