On Mon, Dec 21, 2020 at 12:47:05PM +0100, Helmut Grohne wrote: > licenseutils fails to cross build from source, because the configure > script detects the build architecture pkg-config. Please use the > standard macro PKG_PROG_PKG_CONFIG (which is already implicitly used via > PKG_CHECK_MODULES) as it will find the correct pkg-config. I'm attaching > a patch for this.
I've applied the patch and also forwarded upstream. Though upstream seems to have lost interest so I don't expect much at this point. > Beyond this, licenseutils uses help2man and - since it knows that doing > so breaks cross compilation - it skips generating manual pages. > Unfortunately, installing the absent pages fails. There are many > solutions to this problem all with their own disadvantages: > * Stop using help2man and write real manual pages. > * The package can be built twice (once for build and once for host), > but the dependencies of licenseutils seem to complex to allow this. > * Split manual pages to an Architecture: all package (though this > violates a policy should). > * Generate manual pages on the upstream side and skip regenerating them > during build. I prefer the last option here, but I don't plan on implementing it at this time; I'm writing this here as future doc (if anybody will ever discover this bug). -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. More about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature