Jeff Bailey wrote: > When updating glibc to use debhelper v5 mode instead of v4 mode, I > discovered that the line: > > debian/tmp-amd64/usr/lib*/librpcsvc.a* usr/lib64 > > No longer works for excluding a file. This file is only produced when > natively compiling glibc, but not when cross compiling. We generate the > debhelper install lists from some master versions. In v4 mode, the > wildcard matches nothing as well and debhelper continues on. In v5 > mode, I now get an abort because the file doesn't exist. > > I realize that this might not actually be a bug, but if not then the > changed globbing handling should be documented in the debhelper manpage > as a change from v5. If that's also the case, can you suggest the > current Best Practice for listing a file that might not be there?
This was changed in 4.9.5: * dh_install: in v5 mode, error out if there are wildcards in the file list and the wildcards expand to nothing. Done only for v5 as this is a behavior change. Closes: #249815 The old behavior was never intended to allow file exclusion; it was just a bug. I've documented it in the man page now. There's currently not a way to conditionally install a file with dh_install except stuff like this: -dh_install debian/tmp-amd64/usr/lib*/librpcsvc.a* usr/lib64 -- see shy jo
signature.asc
Description: Digital signature