Your message dated Tue, 09 Dec 2025 16:33:53 +0000
with message-id <[email protected]>
and subject line Bug#1107615: fixed in gentle 1.9.5~alpha2+dfsg1-3
has caused the Debian Bug report #1107615,
regarding gentle FTCBFS: uses mysql_config and the build architecture pkg-config
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1107615: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107615
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gentle
Version: 1.9.5~alpha2+dfsg1-2
Tags: patch upstream
User: [email protected]
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
--- gentle-1.9.5~alpha2+dfsg1.orig/configure.ac
+++ gentle-1.9.5~alpha2+dfsg1/configure.ac
@@ -57,15 +57,13 @@
WX_CXXFLAGS="`$WXCONFIG --cxxflags | sed -e 's/-fno-exceptions//'`"
WX_LIBS="`$WXCONFIG --libs`"
-#TINYXML_CPPFLAGS="`pkg-config --cppflags tinyxml`"
-TINYXML_CXXFLAGS="`pkg-config --cflags tinyxml`"
-TINYXML_LIBS="`pkg-config --libs tinyxml`"
+PKG_CHECK_MODULES([TINYXML],[tinyxml])
GTEST_INCLUDE="`pkg-config --cflags gtest`"
GTEST_LIBS="`pkg-config --libs gtest`"
-CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS $TINYXML_CPPFLAGS"
-CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS $TINYXML_CXXFLAGS"
+CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
+CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS $TINYXML_CFLAGS"
LDFLAGS="$LDFLAGS $TINYXML_LIBS"
if [[ "x" != "x$PREFIX" ]]; then
--- gentle-1.9.5~alpha2+dfsg1.orig/m4/mysql.m4
+++ gentle-1.9.5~alpha2+dfsg1/m4/mysql.m4
@@ -5,31 +5,51 @@
dnl
AC_DEFUN([WITH_MYSQL], [
- AC_MSG_CHECKING(for mysql_config executable)
-
+ MYSQL_ENABLE=auto
AC_ARG_WITH(mysql, AS_HELP_STRING([--with-mysql=PATH],[path to mysql_config binary or mysql prefix dir]), [
- if test -x $withval -a -f $withval -a "no" != "$withval"
+ if test "$withval" = yes || test "$withval" = no
+ then
+ MYSQL_ENABLE=$withval
+ elif test -x $withval -a -f $withval
then
MYSQL_CONFIG=$withval
+ MYSQL_ENABLE=mysql_config
elif test -x $withval/bin/mysql_config -a -f $withval/bin/mysql_config
then
- MYSQL_CONFIG=$withval/bin/mysql_config
- fi
- ], [
- if test -x /usr/local/mysql/bin/mysql_config -a -f /usr/local/mysql/bin/mysql_config
- then
- MYSQL_CONFIG=/usr/local/mysql/bin/mysql_config
- elif test -x /usr/bin/mysql_config -a -f /usr/bin/mysql_config
- then
- MYSQL_CONFIG=/usr/bin/mysql_config
+ MYSQL_CONFIG=$withval/bin/mysql_config
+ MYSQL_ENABLE=mysql_config
fi
])
+ AS_IF([test "$MYSQL_ENABLE" = yes || test "$MYSQL_ENABLE" = auto],[
+ PKG_CHECK_MODULES([MYSQLCLIENT],[mysqlclient],[MYSQL_ENABLE=pkg-config],[])
+ ])
+ AC_MSG_CHECKING(for mysql_config executable)
+ AS_IF([test "$MYSQL_ENABLE" = yes || test "$MYSQL_ENABLE" = auto],[
+ if test -x /usr/local/mysql/bin/mysql_config -a -f /usr/local/mysql/bin/mysql_config
+ then
+ MYSQL_CONFIG=/usr/local/mysql/bin/mysql_config
+ MYSQL_ENABLE=mysql_config
+ elif test -x /usr/bin/mysql_config -a -f /usr/bin/mysql_config
+ then
+ MYSQL_CONFIG=/usr/bin/mysql_config
+ MYSQL_CONFIG=mysql_config
+ fi
+ ])
- if test "x$MYSQL_CONFIG" = "x" -o "x$MYSQL_CONFIG" = "xno"
+ if test "$MYSQL_ENABLE=pkg-config"
+ then
+ CXXFLAGS="$CXXFLAGS $MYSQLCLIENT_CFLAGS"
+ LDFLAGS="$LDFLAGS $MYSQLCLIENT_LIBS"
+
+ AC_MSG_RESULT(found via pkg-config)
+ elif test "$MYSQL_ENABLE" = yes
+ then
+ AC_MSG_ERROR(no)
+ elif test "$MYSQL_ENABLE" = auto
+ then
+ AC_MSG_RESULT(no)
+ elif test "$MYSQL_ENABLE" = mysql_config
then
- AC_MSG_RESULT("MySQL support not configured.")
- #exit 3
- else
AC_PROG_CC
AC_PROG_CXX
--- End Message ---
--- Begin Message ---
Source: gentle
Source-Version: 1.9.5~alpha2+dfsg1-3
Done: Andreas Tille <[email protected]>
We believe that the bug you reported is fixed in the latest version of
gentle, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated gentle package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 09 Dec 2025 17:09:40 +0100
Source: gentle
Architecture: source
Version: 1.9.5~alpha2+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 1107615
Changes:
gentle (1.9.5~alpha2+dfsg1-3) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS: uses mysql_config and the build architecture pkg-config
Closes: #1107615
.
[ Andreas Tille ]
* d/watch: version=5
* Standards-Version: 4.7.2 (routine-update)
* Remove trailing whitespace in debian/changelog (routine-update)
* Trim trailing whitespace.
* Fix day-of-week for changelog entry 1.9+cvs20100605+dfsg1-11.
* d/copyright: use only DEP5 fields
Checksums-Sha1:
9064dac44cae0844fb339b3f53e5ccd7331700de 2163 gentle_1.9.5~alpha2+dfsg1-3.dsc
4c859c48f46b8a44537678eb93ec8dc0f2a8fb7d 27912
gentle_1.9.5~alpha2+dfsg1-3.debian.tar.xz
010770c52da578ee89607867381203e142f1b653 11344
gentle_1.9.5~alpha2+dfsg1-3_amd64.buildinfo
Checksums-Sha256:
1fb32f801f1a7d2d2c9a1d30d918cfac0f80a5cc7d76fd7d1bd2bd0886345712 2163
gentle_1.9.5~alpha2+dfsg1-3.dsc
ac0e3e451510845d2cf20d2d2930b0bb888642137905c62c3ff1a9207a206cb8 27912
gentle_1.9.5~alpha2+dfsg1-3.debian.tar.xz
7a1fbaa035bb5825f043b16abdc7f0eb670a0cd5ccaa2c8ba3cc10483d2166bd 11344
gentle_1.9.5~alpha2+dfsg1-3_amd64.buildinfo
Files:
041ce12abd3188230e3cb05b2d338ad3 2163 science optional
gentle_1.9.5~alpha2+dfsg1-3.dsc
b1db7bd305478aa3990a9142b1944056 27912 science optional
gentle_1.9.5~alpha2+dfsg1-3.debian.tar.xz
c7e2cb9dcb3238daf67388c75fed86e2 11344 science optional
gentle_1.9.5~alpha2+dfsg1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmk4TBsRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtGrmA//Y+fZgQsf3mIvobys2oovxzmHnkcjE1jf
4XKMcU0S7k3kaizdceOTxwSLJUkMVVKpuxocCtPBSrB07ZSl3LFYYKYI+mT3huNO
pxO8qbkabUmMZtsoNNnPfxtMWI6GDgLoFQ71yTJNvj0kqHxcmdBeZ5MbkglvhWIz
VwV0wF7x/TYRfspJAVs+pkQhES6SBckfEIZvjUmEvSNbV4wpMZyRdGUUOzC17C9I
PPhMtc4up0EqvHLg4tC6NZ1ntNxlww5D92Sv8TcT626DEPrZ4+8YYytXUv/t067M
MQCDnM/ubLrrEC1oPj4FvAsa/EX1TmoXZ8Q7Pfa4dx4aTDmHrXnHI6oi/SBdGLpF
2qPoCkmrqkNncg2Ekxk457ckIJ8suC/ZlzJw4V4KlTqArofuUQAZdqE6kRTL9zDm
UYIOQdy+SpHk/PaF7dbR0+rPeNWUDHb0HO8xIHr2YbT4iHuSL/ugMASzFLWZ4RWo
X7LzkOSEU1ds4/8kYWZAmY3KbdLL0s494r8etSpPU64aBkDIcXZ0oQ544hB2Cfj2
vMRV3coOP7M0EUcnMNuT4zQm5IFMGqmFtD+ZDb9uqkWkWBKCF7ooPTt1fABugZn9
HgT+gkW5WdkWijt2dEYaq7r7W2KfNfaE9q1nUkjhd8Fa/KrhpN9FrRkUgHxfsrLD
e3zUYMmZuWU=
=KeNI
-----END PGP SIGNATURE-----
pgpusp2Ei_w2k.pgp
Description: PGP signature
--- End Message ---