Package: debhelper
Version: 13.29
Severity: normal
xtensor 0.27.1-1 provides new config files
etc/xeus-cpp/tags.d/xtensor.json
usr/share/xeus-cpp/tagfiles/xtensor.tag
I added them to xtensor's debian/libxtensor-dev.install, and
dh_installs them.
But the build fails with dh_missing reporting:
dh_missing: warning: etc/xeus-cpp/tags.d/xtensor.json exists in debian/tmp but
is not installed to anywhere
dh_missing: warning: A file with an equivalent path was found but did not get
installed. Note that dh_install prefers paths in ./ over paths in ./debian/tmp.
dh_missing: error: missing files, aborting
The following debhelper tools have reported what they installed (with
files per package)
* dh_install: libxtensor-dev (6), xtensor-dev (0), xtensor-doc (0)
* dh_installdocs: libxtensor-dev (0), xtensor-dev (0), xtensor-doc (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.md.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:39: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
But etc/xeus-cpp/tags.d/xtensor.json was indeed installed by dh_install:
$ ls -l debian/*/etc/xeus-cpp/tags.d/xtensor.json
-rw-r--r-- 1 dd dd 85 Feb 9 02:46
debian/libxtensor-dev/etc/xeus-cpp/tags.d/xtensor.json
-rw-r--r-- 1 dd dd 85 Feb 9 02:46 debian/tmp/etc/xeus-cpp/tags.d/xtensor.json
So dh_missing is giving a false error.
If I prepend ./ in libxtensor-dev.install, as
./etc/xeus-cpp/tags.d/xtensor.json
then dh_missing still fails (and dh_install still works)
I can work around the bug by prepending debian/tmp in
libxtensor-dev.install, as
debian/tmp/etc/xeus-cpp/tags.d/xtensor.json
But this makes the line inconsistent with the other lines,
which are using usr/...
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.18.3+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8),
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages debhelper depends on:
ii autotools-dev 20240727.1
ii dh-autoreconf 21+nmu1
ii dh-strip-nondeterminism 1.15.0-1
ii dpkg 1.23.5
ii dpkg-dev 1.23.5
ii dwz 0.16-2
ii file 1:5.46-5+b1
ii libdebhelper-perl 13.29
ii libdpkg-perl 1.23.5
ii man-db 2.13.1-1
ii perl 5.40.1-7
ii po-debconf 1.0.22
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 2.202503
-- no debconf information