[debhelper-devel] Bug#886108: debhelper: dh_installdocs -A at compat=11 installs docs in wrong place

Tomasz Buchert tomasz at debian.org
Tue Jan 2 11:28:13 UTC 2018


Package: debhelper
Version: 11
Severity: normal

Dear Maintainer,

I wanted to switch nghttp2 to compat=11, but this causes binaries-have-file-
conflict:

W: nghttp2 source: binaries-have-file-conflict libnghttp2-dev libnghttp2-doc
usr/share/doc/libnghttp2-dev/AUTHORS
W: nghttp2 source: binaries-have-file-conflict libnghttp2-dev libnghttp2-doc
usr/share/doc/libnghttp2-dev/README.rst.gz

The conflicting files are installed in /usr/share/doc/libnghttp2-dev, although
the package is libnghttp2-doc.

What happens is that "dh_installdocs -A" (which I have in debian/rules) does
autodetection magic which decides to put the docs of libnghttp2-dev in
libnghttp2-doc. The culprit is the code in compute_doc_main_package which
special-cases lib/doc packages, I believe

This can be worked around by using --doc-main-package, but I think there is
something wrong happening here.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  autotools-dev            20171216.1
ii  binutils                 2.29.1-12
ii  dh-autoreconf            15
ii  dh-strip-nondeterminism  0.040-1
ii  dpkg                     1.19.0.4
ii  dpkg-dev                 1.19.0.4
ii  file                     1:5.32-1
ii  libdpkg-perl             1.19.0.4
ii  man-db                   2.7.6.1-4
ii  perl                     5.26.1-3
ii  po-debconf               1.0.20

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201701
pn  dwz      <none>

-- no debconf information




More information about the debhelper-devel mailing list