#1155174 xfel FTCBFS: hard codes the build architecture pkg-config

Package:
src:xfel
Source:
src:xfel
Submitter:
Helmut Grohne
Date:
2026-11-24 20:51:15 UTC
Severity:
normal
Tags:
#1155174#5
Date:
2026-11-22 15:40:42 UTC
From:
To:
xfel fails to cross build from source, because the upstream Makefile
hard codes the build architecture pkg-config. I'm attaching a patch to
make it substitutable. Once applying the patch, it completes the build
but fails running help2man. I fear for help2man there is no easy
solution as it is fundamentally incompatible with cross building. The
package could include a pre-generated manual page, have a manually
written manual page, support the nodoc build profile, install the
documentation to a separate -doc package or implement one of a few other
schemes. However, this bug report shall only be concerned with the wrong
use of pkg-config as that has an obvious solution. Please forward the
patch upstream.

Helmut