[Debian-med-packaging] Bug#1107615: gentle FTCBFS: uses mysql_config and the build architecture pkg-config

Helmut Grohne helmut at subdivi.de
Tue Jun 10 15:49:25 BST 2025


Source: gentle
Version: 1.9.5~alpha2+dfsg1-2
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

gentle fails to cross build from source, because upstream hard codes
build architecture build tools in multiple places. The most difficult
one is the use of mysql_config. It is fundamentally incompatible with
cross compilation (as you can either run it or get sensible values, but
not both at the same time). The other aspect is hard coding the build
architecture pkg-config. I'm attaching a patch that converts this to
pkg-config via PKG_CHECK_MODULES in a way that seamlessly falls back to
mysql_config when pkg-config does not work out. Please consider applying
the patch in forky.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 3027 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20250610/fd505dae/attachment.patch>


More information about the Debian-med-packaging mailing list