Package: debhelper
Version: 13.11.4
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I have a native package source from which I build multiple binary packages. The
files are organized as they would be on the target system with their full
destination path. As an example, the souirce directory contains:

        ./usr/share/applications/foo.desktop

Now I want to make sure that all files become part of a package and I don't
miss to ship any source files. I have multiple .install files in debian/ for
each package. There isn't any Makefile involved, nor do I install all files
into a temporary location first. I just want to make sure that all files,
except for the debian/ directory, are part of a package.

If I run:

        dh_missing -XREADME.md -Xdebian/ --fail-missing

I don't get any error, even if I missed a file. This can be easily verified by
just removing one of the -X switches. It should throw an error then, but it
doesn't. But if I add the source directory like:

        dh_missing -XREADME.md -Xdebian/ --sourcedir=$(CURDIR) --fail-missing

I get an error for all files, even if they are part of a package. The weird
part is that debhelper then says:

        As an example, you might want to replace:
         * usr/share/applications/foo.desktop
        with:
         * usr/share/applications/foo.desktop

Note that both paths are the same. Also, there is a .install file installing
usr/share/applications/foo.desktop.

This might be a cornercase, but I find it quite weird that it isn't working and
I could really use this. Is that a bug or a feature request?

Regards, Daniel


- -- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'oldstable-updates'), (500, 
'oldstable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), 
(500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.3.0-2-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
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            20220109.1
ii  dh-autoreconf            20
ii  dh-strip-nondeterminism  1.13.1-1
ii  dpkg                     1.21.22
ii  dpkg-dev                 1.21.22
ii  dwz                      0.15-1
ii  file                     1:5.44-3
ii  libdebhelper-perl        13.11.4
ii  libdpkg-perl             1.21.22
ii  man-db                   2.11.2-2
ii  perl                     5.36.0-7
ii  po-debconf               1.0.21+nmu1

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.202301

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmS6rjYACgkQS80FZ8KW
0F0WQQ//Y9WCIzZBOiOPGt6CN57N4l08JE3K0kIt/RqyT8Tif7mVSlvNsih4mV9R
G0i44C2s6RVOJ7LB8bPW3UYH2Jj3VO2I7RbNUc6TSCZ0cH4b5/l3OwktzvAh39AZ
L7zV6rgNfCLFVuy6MCyEGp01k88uE2yYX5swCMlf7vhoD+8N2a0otdyAU0RhlrXe
TQEcsZ3qhwNHU7QIyBrJZSA6Vzg0txrL9+z6mROAo5i0Qyk6f5CFV2PkgPpoU5Xh
6nw8N6C06ScSkbIF28O9WjI8VeI//RRoXZIjAxj8nDpxBLPt1qEGR08x2X5fW+2M
wE+9zb1iKPWzHD/8GsZ6BW4SEYktc6L8UsuprIvHi1d0o493rfGXgCVFF3xuJwGi
LuFfJIkPvL8CesVwYmI4rcL3ttF74LatoI9UxwnlLJLtErMX4FhTmQQwU1s6b1bl
yljR6QycPEZRhqCijO2reP2exMD1MsPkDyRIFSW6u3JKVWr6+Kz0uLsZIFBWGKFm
KgcsZcKk0Cf9K/mGOqvPe7Qb5LydWlZ8rub/Du0aW8T1kiSF1UrleGZgaXt3Ujy9
rDKIGmEZ05zKg6/1O0eHfD4bXJv/QIp+Js5TBNnJMkRMk77LB9AQo90NQBgLuX0y
MLaWIf2RthtcJ0quPoQ/wS1bPVJszusb20N9ySYkzHNfeV5i0Gc=
=L/9u
-----END PGP SIGNATURE-----

Reply via email to