Skip to content

FTCBFS: hard codes the build architecture pkg-config - #97

Open
vkareh wants to merge 1 commit into
masterfrom
ftcbfs-pkg-config
Open

FTCBFS: hard codes the build architecture pkg-config#97
vkareh wants to merge 1 commit into
masterfrom
ftcbfs-pkg-config

Conversation

@vkareh

@vkareh vkareh commented Aug 6, 2026

Copy link
Copy Markdown
Member

libmatekbd fails to cross build from source, because it hard codes the build architecture pkg-config in libmatekbd/Makefile.am. As a consequence it silently fails looking up the glib_genmarshal variable in glib-2.0.pc and fails running it. Running pkg-config beyond the configure phase is not recommended precisely, because one ends up with such silent failures that only turn into real failures later.

This change moves this invocation into configure.ac where the right pkg-config is known via the PKG_CONFIG variable and where the lookup succeeds in native builds as in cross builds.

Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062792

libmatekbd fails to cross build from source, because it hard codes the
build architecture pkg-config in libmatekbd/Makefile.am. As
a consequence it silently fails looking up the glib_genmarshal variable
in glib-2.0.pc and fails running it. Running pkg-config beyond the
configure phase is not recommended precisely, because one ends up with
such silent failures that only turn into real failures later.

This change moves this invocation into configure.ac where the right
pkg-config is known via the PKG_CONFIG variable and where the lookup
succeeds in native builds as in cross builds.

Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062792
@vkareh
vkareh requested a review from a team August 6, 2026 12:38
@vkareh

vkareh commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

/cc @helmutg This PR is directly from your patch in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062792

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants