Your message dated Mon, 27 Oct 2025 14:51:32 +0000
with message-id <[email protected]>
and subject line Bug#1119129: fixed in libgda5 5.2.10-8
has caused the Debian Bug report #1119129,
regarding libgda5 FTCBFS: multiple reasons
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.)


-- 
1119129: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119129
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libgda5
Version: 5.2.10-7
Tags: patch
User: [email protected]
Usertags: ftcbfs

libgda5 fails to cross build from source for three relatively distinct 
reasons.

It fails running vapigen. This tool recently gained a host prefix to 
accommodate cross building, but libgda5 uses it by its unprefixed name. 
Changing AC_PATH_PROG to AC_PATH_TOOL fixes this in a 
backwards-compatible way.

Next up, the gtk-doc scanner fails. This is a common theme and mostly 
unfixable. However, libgda5 - like many other packages - separates its 
documentation into an arch:all package. As such, there is no need to run 
the scanner during an arch-only build and disabling gtk-doc both speeds 
up such a build and helps cross building. Using reproducible builds, I 
verified that this change does not alter output artifacts.

Last but not least, it fails to discover mysql support, because it only 
queries mysql_config and that happens to not work during cross building. 
We prefer using pkg-config for it, so I suggest adding pkg-config as 
another possible detection mechanism.

You'll find all mentioned changes in the attached patch. Once applying 
it, libgda5 cross builds successfully.

Helmut
diff -Nru libgda5-5.2.10/debian/changelog libgda5-5.2.10/debian/changelog
--- libgda5-5.2.10/debian/changelog     2025-09-14 01:04:47.000000000 +0200
+++ libgda5-5.2.10/debian/changelog     2025-10-10 21:55:01.000000000 +0200
@@ -1,3 +1,13 @@
+libgda5 (5.2.10-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Look for vapigen using AC_PATH_TOOL.
+    + Look for libmysqlclient using pkg-config.
+    + Disable gtk-doc in arch-only build.
+
+ -- Helmut Grohne <[email protected]>  Fri, 10 Oct 2025 21:55:01 +0200
+
 libgda5 (5.2.10-7) unstable; urgency=medium
 
   * Fix dh_missing for the architecture-independent build
diff -Nru libgda5-5.2.10/debian/patches/cross.patch 
libgda5-5.2.10/debian/patches/cross.patch
--- libgda5-5.2.10/debian/patches/cross.patch   1970-01-01 01:00:00.000000000 
+0100
+++ libgda5-5.2.10/debian/patches/cross.patch   2025-10-10 21:55:01.000000000 
+0200
@@ -0,0 +1,50 @@
+--- libgda5-5.2.10.orig/configure.ac
++++ libgda5-5.2.10/configure.ac
+@@ -522,7 +522,7 @@
+       enable_vala=no
+ fi
+ 
+-AC_PATH_PROG(VAPIGEN, [vapigen], [no])
++AC_PATH_TOOL(VAPIGEN, [vapigen], [no])
+ 
+ if test x$VAPIGEN = xno -a x$enable_vala = xyes
+ then
+--- libgda5-5.2.10.orig/m4/mysql.m4
++++ libgda5-5.2.10/m4/mysql.m4
+@@ -95,19 +95,23 @@
+                            [mysql_loclibdir=$withval])
+ 
+     # try with the default available mysql_config
+-    if test $try_mysql = true -a "x$mysql_test_dir" = x
+-    then
+-        AC_PATH_PROGS(MYSQL_CONFIG, mysql_config mysql_config5)
+-      if test "x$MYSQL_CONFIG" != x
+-      then
+-          pkgmysql=yes
+-          MYSQL_CFLAGS=`$MYSQL_CONFIG --cflags`
+-          MYSQL_LIBS=`$MYSQL_CONFIG --libs`
+-          mysql_version=`$MYSQL_CONFIG --version`
+-      else
+-          mysql_test_dir="/usr /usr/local /opt/gnome"
+-      fi
+-    fi
++    AS_IF([test $try_mysql = true -a "x$mysql_test_dir" = x],[
++        PKG_CHECK_MODULES([MYSQL],[mysqlclient],[
++            pkgmysql=yes
++            mysql_version=`$PKG_CONFIG --modversion mysqlclient`
++        ],[
++          AC_PATH_PROGS(MYSQL_CONFIG, mysql_config mysql_config5)
++          if test "x$MYSQL_CONFIG" != x
++          then
++              pkgmysql=yes
++              MYSQL_CFLAGS=`$MYSQL_CONFIG --cflags`
++              MYSQL_LIBS=`$MYSQL_CONFIG --libs`
++              mysql_version=`$MYSQL_CONFIG --version`
++          else
++              mysql_test_dir="/usr /usr/local /opt/gnome"
++          fi
++        ])
++    ])
+ 
+     # try to locate mysql_config in places in $mysql_test_dir
+     if test $try_mysql = true
diff -Nru libgda5-5.2.10/debian/patches/series 
libgda5-5.2.10/debian/patches/series
--- libgda5-5.2.10/debian/patches/series        2025-09-14 01:04:47.000000000 
+0200
+++ libgda5-5.2.10/debian/patches/series        2025-10-10 21:54:47.000000000 
+0200
@@ -5,3 +5,4 @@
 gcc-14-compat-1075169.patch
 enable-ssl-ca-993592.patch
 error-function-declaration-without-prototype.patch
+cross.patch
diff -Nru libgda5-5.2.10/debian/rules libgda5-5.2.10/debian/rules
--- libgda5-5.2.10/debian/rules 2025-09-14 01:04:47.000000000 +0200
+++ libgda5-5.2.10/debian/rules 2025-10-10 21:55:01.000000000 +0200
@@ -36,7 +36,7 @@
                --enable-introspection  \
                --enable-vala           \
                --disable-crypto        \
-               --enable-gtk-doc
+               --$(if $(filter libgda-5.0-doc,$(shell 
dh_listpackages)),en,dis)able-gtk-doc
 
 execute_after_dh_auto_install:
        # Drop trml2{html,pdf} python2 tools, build system in future 6.0/master

--- End Message ---
--- Begin Message ---
Source: libgda5
Source-Version: 5.2.10-8
Done: Jeremy Bícha <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libgda5, 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.
Jeremy Bícha <[email protected]> (supplier of updated libgda5 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: Mon, 27 Oct 2025 10:17:05 -0400
Source: libgda5
Built-For-Profiles: noudeb
Architecture: source
Version: 5.2.10-8
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers 
<[email protected]>
Changed-By: Jeremy Bícha <[email protected]>
Closes: 1119129
Changes:
 libgda5 (5.2.10-8) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Add patch to fix cross building (Closes: #1119129)
   * Only build docs when doing a docs build
 .
   [ Jeremy Bícha ]
   * Support nodoc build profile
   * Remove Suggests: devhelp
Checksums-Sha1:
 e86da86ef3fb1ff1cdcd7d36547c8e175ebc148e 2988 libgda5_5.2.10-8.dsc
 33b165d3d5282e910e6efb31306751e7f4dd1501 28776 libgda5_5.2.10-8.debian.tar.xz
 c869fbf87cfe643153a64430e635b47a1178a431 11607 
libgda5_5.2.10-8_source.buildinfo
Checksums-Sha256:
 7bb6dd56e12415749ac57dec9000d0876e6d968dc043ec81883de4447542201d 2988 
libgda5_5.2.10-8.dsc
 0f01b55c1d3a66a9a21ce041565b30c58ce91e71f0bc96ebce346e46ff3830fa 28776 
libgda5_5.2.10-8.debian.tar.xz
 9a94eefb83475dfdadeb09073bd5327b6aacf024feceeb151ce2ace6e4c4d1cb 11607 
libgda5_5.2.10-8_source.buildinfo
Files:
 45a6dabcde1f1b653374cc6f5f4bd835 2988 libs optional libgda5_5.2.10-8.dsc
 289723cd80afb8b9be4b2b7b93214002 28776 libs optional 
libgda5_5.2.10-8.debian.tar.xz
 f913933074f439f523e51003bb6d9890 11607 libs optional 
libgda5_5.2.10-8_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmj/fysACgkQ5mx3Wuv+
bH2M1w/9GFxmYi5zrZnnadrrEOyipJZAHlZHih5uWEVZKjFljTwl8zWX2IzeZK2G
F1h60cKqZZWNiBgN5beky+cS3JM7IoftJPoUnrjXdLl8a5md8kt12uDm04GYRtE5
g0ZrUEno7o3jQnE2I2c0LoY0G2nqvcMqEVSbkTcZ8I2a3yps+jooJKcxwl6cMEXr
aecVugE8ErAzGTniLYuorK+T5L73iBEjw+uP2SSWFqkNzD6T980fnDJAkPBR2Dj9
JcuESW8K/Bxvweq7bJR9iwvKynsnpJqffaQ+7HaxR+d/S1K3hIu2R19zUcxBo2UX
uW6z0qqjteyWHnWycHvJaehpriSArBEErlmnfurbo0aV/nHPQZAXAUr0H9ajqdI4
HiwSAKkfjFBaA00wBFKbCYZ6UxQTewwOyEPTRAOw7SPX6OAABNVsWtfenHixRz3g
d3aUAGGZ/MKhjmnaXES4w6OmfCG9b8+6LeU+0XJ9pRnezuwDPok623qpnSBHlzx3
qRmMfd5h9exYA/WoGbloj5nAJ76XT4UGpTB7XwSqlxMYFeVUIFIDqnx6xkFZw0vj
LuMG63sDMwvo25cqzymKPa+EjrGj7L8xs2H4y1xVr7Kdnc/FFpQS+u5e55ed0272
AoWObwz/2pjYkE3H6HqH96SbuMX8sl4b/5d5uiLE0dvrhRCnsdY=
=CGEE
-----END PGP SIGNATURE-----

Attachment: pgp6wt2BZTvsK.pgp
Description: PGP signature


--- End Message ---

Reply via email to