[debhelper-devel] Bug#868204: dh_installdocs tries to install README.Debian even if it already exists (regression)

Stéphane Glondu glondu at debian.org
Thu Jul 13 03:25:33 UTC 2017


Package: debhelper
Version: 10.6.3
Severity: serious

Hello,

At the moment, ocaml FTBFS in unstable. I think this is because of
debhelper. Indeed, the error message is:

> [...]
> dh_install: ./debian/ld.conf overwrites debian/tmp/usr/lib/ocaml/ld.conf (both installed as: /usr/lib/ocaml/ld.conf)
>    dh_installdocs
> dh_installdocs: copy(debian/README.Debian, debian/ocaml-nox/usr/share/doc/ocaml-nox/README.Debian): No such file or directory
> debian/rules:81: recipe for target 'binary' failed
> make: *** [binary] Error 2

Here, debian/ocaml-nox/usr/share/doc/ocaml-nox/README.Debian exists
already and dh_ocamldoc should not try to overwrite it.

Note that debian/ocaml-nox/usr/share/doc/ocaml-nox/README.Debian at
this moment of the build is a dangling symbolic link, but that
shouldn't matter.

Cheers,

-- 
Stéphane

-- 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.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (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            20161112.1
ii  binutils                 2.28-6
ii  dh-autoreconf            14
ii  dh-strip-nondeterminism  0.035-2
ii  dpkg                     1.18.24
ii  dpkg-dev                 1.18.24
ii  file                     1:5.30-1
ii  libdpkg-perl             1.18.24
ii  man-db                   2.7.6.1-2
ii  perl                     5.24.1-4
ii  po-debconf               1.0.20

debhelper recommends no packages.

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

-- no debconf information


More information about the debhelper-devel mailing list