On 12/10/23 14:11, Niels Thykier wrote:
```
debian/tmp/usr/share/man/*/man1/foo.1
```

is correctly expanded by dh_install (`d/pkg.install`) but it causes dh_installman (`d/pkg.manpages`) to fail.

Whatever problem you are experiencing, it is *not* that `dh_installman`does not support globs, because definitely does as debhelper itself would FTBFS otherwise (`debian/debhelper.mapages` includes globs).

Hi,

maybe it is the combination of dh_installman + dh-exec?

This is the error message <https://salsa.debian.org/gioele/util-linux/-/jobs/4799773#L2146>:

```
dh_installman: error: open debian/tmp/usr/share/man/*/man1/col.1 failed: No such file or directory
        install -m0755 -d debian/util-linux-locales/usr/share/man/man1/
install -p -m0644 debian/tmp/dh-exec.czfddtTB/usr/share/man/de/man1/rename.ul.1 debian/util-linux-locales/usr/share/man/man1/rename.ul.1
        install -m0755 -d debian/util-linux-locales/usr/share/man/man1/
install -p -m0644 debian/tmp/usr/share/man/uk/man1/col.1 debian/util-linux-locales/usr/share/man/man1/col.1
dh_installman: error: Aborting due to earlier error
```

The `manpages` file starts with:

```
#!/usr/bin/dh-exec
debian/tmp/usr/share/man/de/man1/rename.1 => /usr/share/man/de/man1/rename.ul.1
debian/tmp/usr/share/man/uk/man1/col.1
debian/tmp/usr/share/man/*/man1/col.1
```

And the files are definitely there:

https://salsa.debian.org/gioele/util-linux/-/jobs/4799773#L2146

```
$ find debian/ | grep man | grep col.1 | sort
debian/tmp/usr/share/man/de/man1/col.1
debian/tmp/usr/share/man/man1/col.1
debian/tmp/usr/share/man/sr/man1/col.1
debian/tmp/usr/share/man/uk/man1/col.1
```

Regards,

--
Gioele Barabucci

Reply via email to