Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1038576 > unrolled thread

Bug#977819: licenseutils FTCBFS: uses the build architecture pkg-config

Started byHelmut Grohne <helmut@subdivi.de>
First post2020-12-21 14:10 +0100
Last post2020-12-21 14:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#977819: licenseutils FTCBFS: uses the build architecture pkg-config Helmut Grohne <helmut@subdivi.de> - 2020-12-21 14:10 +0100

#1038576 — Bug#977819: licenseutils FTCBFS: uses the build architecture pkg-config

FromHelmut Grohne <helmut@subdivi.de>
Date2020-12-21 14:10 +0100
SubjectBug#977819: licenseutils FTCBFS: uses the build architecture pkg-config
Message-ID<Bot6P-7TR-37@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Source: licenseutils
Version: 0.0.9-4
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

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.

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.

Do you have any preference here?

Please close this bug when fixing the pkg-config issue.

Helmut

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web