Bug#968170: apache2-dev: dh_apache2: "dh_missing: warning: ….conf exists in debian/tmp but is not installed to anywhere" despite "conf debian/tmp/….conf" in debian/….apache2
Package: apache2-dev
Version: 2.4.46-1
Severity: important
xymon FTBFS as follows if I switch debhelper compat level 13:
[…]
make[1]: Leaving directory '/home/abe/hobbit/xymon'
dh_install
dh_apache2
[…]
make[1]: Leaving directory '/home/abe/hobbit/xymon'
dh_missing
dh_missing: warning: xymon.conf exists in debian/tmp but is not installed to anywhere
dh_missing: error: missing files, aborting
The following debhelper tools have reported what they installed (with files per package)
* dh_install: xymon (3), xymon-client (2)
* dh_installdocs: xymon (9), xymon-client (7)
* dh_installexamples: xymon (2), xymon-client (0)
* dh_installman: xymon (0), xymon-client (0)
If the missing files are installed by another tool, please file a bug against it.
When filing the report, if the tool is not part of debhelper itself, please reference the
"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
(in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
If the omission is intentional or no other helper can take care of this consider adding the
paths to debian/not-installed.
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
But:
$ git grep xymon.conf debian
debian/changelog: + Rename /etc/apache2/conf.d/xymon to #/conf-available/xymon.conf
debian/rules: mv $S/etc/xymon/xymon-apache.conf debian/tmp/xymon.conf
debian/xymon.apache2:conf debian/tmp/xymon.conf
[…] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It seems as if dh_apache2 does not log the installing of debian/tmp/xymon.conf
to dh_missing as explained im the error message above.
With debhelper compat level 12 the error message above also appears, but just
as a warning. The mentioned file has been installed to the expected location,
though:
$ dpkg-deb --contents ../xymon_4.3.30-1_amd64.deb | fgrep xymon.conf
-rw-r--r-- root/root 5567 2019-09-08 19:57 ./etc/apache2/conf-available/xymon.conf
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.7.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages apache2-dev depends on:
ii debhelper 13.2
ii libapr1-dev 1.6.5-1+b1
ii libaprutil1-dev 1.6.1-4+b1
ii openssl 1.1.1g-1
ii perl 5.30.3-4
apache2-dev recommends no packages.
apache2-dev suggests no packages.
-- no debconf information
Reply to: