Your message dated Sun, 22 Nov 2026 20:10:21 +0000
with message-id <[email protected]>
and subject line Bug#1153492: fixed in gecode 6.6.0-1
has caused the Debian Bug report #1153492,
regarding gecode FTBCFS: uses build architecture build tools
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.)


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

gecode fails to cross build from source, because it uses build
architecture build tools in two distinct locations. debian/rules hard
codes the build architecture pkg-config and therefore fails supplying
the relevant include directories for Qt. The easiest way of fixing this
is using dpkg's buildtools.mk. Then, the upstream gecode.m4 locates
qmake6 without an architecture prefix. As a result, Qt link flags are
skipped. qmake6 should be located using AC_CHECK_TOOLS rather than
AC_CHECK_PROGS. Once addressing both, gecode cross builds successfully.
Please consider applying the attached patch.

Helmut
diff -Nru gecode-6.4.0/debian/changelog gecode-6.4.0/debian/changelog
--- gecode-6.4.0/debian/changelog       2026-09-20 07:16:22.000000000 +0200
+++ gecode-6.4.0/debian/changelog       2026-11-07 10:01:59.000000000 +0100
@@ -1,3 +1,12 @@
+gecode (6.4.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dpkg's buildtools.mk supply a cross pkg-config.
+    + cross.patch: Let AC_CHECK_TOOLS locate a cross qmake.
+
+ -- Helmut Grohne <[email protected]>  Sat, 07 Nov 2026 10:01:59 +0100
+
 gecode (6.4.0-2) unstable; urgency=medium
 
   * Upload to unstable
diff -Nru gecode-6.4.0/debian/patches/cross.patch 
gecode-6.4.0/debian/patches/cross.patch
--- gecode-6.4.0/debian/patches/cross.patch     1970-01-01 01:00:00.000000000 
+0100
+++ gecode-6.4.0/debian/patches/cross.patch     2026-11-07 10:01:59.000000000 
+0100
@@ -0,0 +1,11 @@
+--- gecode-6.4.0.orig/gecode.m4
++++ gecode-6.4.0/gecode.m4
+@@ -1277,7 +1277,7 @@
+   AC_ARG_ENABLE([qt],
+     AS_HELP_STRING([--enable-qt],
+       [build with Qt support, requires Qt 5.15 or newer @<:@default=yes@:>@]))
+-  AC_CHECK_PROGS(QMAKE, [qmake6 qmake-qt6 qmake-qt5 qmake5 qmake])
++  AC_CHECK_TOOLS(QMAKE, [qmake6 qmake-qt6 qmake-qt5 qmake5 qmake])
+   MOC=/usr/lib/qt6/libexec/moc
+   AC_CHECK_PROGS(MOC, [/usr/lib/qt6/libexec/moc])
+   AC_MSG_CHECKING(whether to build with Qt support)
diff -Nru gecode-6.4.0/debian/patches/series gecode-6.4.0/debian/patches/series
--- gecode-6.4.0/debian/patches/series  2026-08-30 19:59:18.000000000 +0200
+++ gecode-6.4.0/debian/patches/series  2026-11-07 10:01:59.000000000 +0100
@@ -6,3 +6,4 @@
 remove-uv
 backport-doxygen-1.15
 force-moc6
+cross.patch
diff -Nru gecode-6.4.0/debian/rules gecode-6.4.0/debian/rules
--- gecode-6.4.0/debian/rules   2026-08-30 19:59:18.000000000 +0200
+++ gecode-6.4.0/debian/rules   2026-11-07 10:01:59.000000000 +0100
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildtools.mk
+
 DEB_MAKE_CHECK_TARGET=check LD_LIBRARY_PATH=.
 DEB_DH_BUILDDEB_ARGS=-- -Zxz
 
@@ -8,8 +11,8 @@
        CXXFLAGS += -O3
 endif
 
-CFLAGS += -D_REENTRANT $(CPPFLAGS) $(shell pkg-config --cflags Qt6Core Qt6Gui 
Qt6Widgets Qt6PrintSupport)
-CXXFLAGS += -D_REENTRANT $(CPPFLAGS) $(shell pkg-config --cflags Qt6Core 
Qt6Gui Qt6Widgets Qt6PrintSupport)
+CFLAGS += -D_REENTRANT $(CPPFLAGS) $(shell $(PKG_CONFIG) --cflags Qt6Core 
Qt6Gui Qt6Widgets Qt6PrintSupport)
+CXXFLAGS += -D_REENTRANT $(CPPFLAGS) $(shell $(PKG_CONFIG) --cflags Qt6Core 
Qt6Gui Qt6Widgets Qt6PrintSupport)
 DEB_CONFIGURE_EXTRA_FLAGS += DLLFLAGS="$(LDFLAGS)" GLDFLAGS="$(LDFLAGS)"
 
 %:

--- End Message ---
--- Begin Message ---
Source: gecode
Source-Version: 6.6.0-1
Done: Kari Pahula <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gecode, 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.
Kari Pahula <[email protected]> (supplier of updated gecode 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: Sun, 22 Nov 2026 19:14:57 +0200
Source: gecode
Binary: gecode-flatzinc gecode-flatzinc-dbgsym libgecode-dev 
libgecode-dev-dbgsym libgecode-doc libgecode53 libgecode53-dbgsym 
libgecodeflatzinc53 libgecodeflatzinc53-dbgsym libgecodegist53 
libgecodegist53-dbgsym
Architecture: source amd64 all
Version: 6.6.0-1
Distribution: experimental
Urgency: medium
Maintainer: Kari Pahula <[email protected]>
Changed-By: Kari Pahula <[email protected]>
Description:
 gecode-flatzinc - constraint problem modelling language
 libgecode-dev - generic constraint development environment
 libgecode-doc - generic constraint development environment
 libgecode53 - generic constraint development environment
 libgecodeflatzinc53 - Gecode support for FlatZinc modelling language
 libgecodegist53 - Gecode Interactive Search Tool library
Closes: 1153492
Changes:
 gecode (6.6.0-1) experimental; urgency=medium
 .
   * New upstream release (soname 53)
   * Fix cross build by using AC_CHECK_TOOLS (thanks to Helmut Grohne)
     (Closes: #1153492)
Checksums-Sha1:
 ac04c84e018184adc2d33d801fc29936404d18e2 2263 gecode_6.6.0-1.dsc
 3bef210befa36b31e3c3b563266310dc054796d3 6063675 gecode_6.6.0.orig.tar.gz
 f260d87e5bc036cc514c018cb8898eeacfa712f9 18176 gecode_6.6.0-1.debian.tar.xz
 682a980b57eb6ba42d99465497bd1d7f3f0dca39 162548 
gecode-flatzinc-dbgsym_6.6.0-1_amd64.deb
 0808afad8695888aedc127e450020a0b5bb4410e 106408 
gecode-flatzinc_6.6.0-1_amd64.deb
 2fe9bde4bbe5215a889d0bc3cbbd913ddb75de72 17166 gecode_6.6.0-1_amd64.buildinfo
 5e2d294280e895ec81abcbed292090b3a7a0bc0f 130860 
libgecode-dev-dbgsym_6.6.0-1_amd64.deb
 e7bed25b977ba3295fe63e24151068be2fe98b48 613356 libgecode-dev_6.6.0-1_amd64.deb
 31cb55e31503a13d5a123a98147cac03a9a92696 16627692 libgecode-doc_6.6.0-1_all.deb
 da9475d48a3f3d02b9d4745a95089e55726d7adc 74452600 
libgecode53-dbgsym_6.6.0-1_amd64.deb
 525aa5557f2a288ea564428f4e368344640cf42b 4195644 libgecode53_6.6.0-1_amd64.deb
 b21cfe0f2260c2a51e5d7a63736149963e0095a8 4367296 
libgecodeflatzinc53-dbgsym_6.6.0-1_amd64.deb
 c29a4fce3702ab02a26740843c01176053d908b2 396328 
libgecodeflatzinc53_6.6.0-1_amd64.deb
 4564adced93b2abd3610bae066fb70d3baed7853 4233256 
libgecodegist53-dbgsym_6.6.0-1_amd64.deb
 a0d119e42d95c803c887dd5472162dcf6f2d8144 206492 
libgecodegist53_6.6.0-1_amd64.deb
Checksums-Sha256:
 b0e2613cb9571ec4402dca9c017e509ada28db7e65c33ff13a2ae160e7767154 2263 
gecode_6.6.0-1.dsc
 de6441af2495aeb2b48766caaf51858ece69acf73cab3c39a96341f5b816a564 6063675 
gecode_6.6.0.orig.tar.gz
 8a064e5878ce36081c0782f4e17977468852e7497046d86db44108e2c9774cdf 18176 
gecode_6.6.0-1.debian.tar.xz
 e497ed3aa04c1b742aa7c939ceac8f075b1750ec0399bb56ab9f868360cd4873 162548 
gecode-flatzinc-dbgsym_6.6.0-1_amd64.deb
 814e90f11a1373a883289c08f8ce9aa89e4d20fcc6289fcb4fb0aea18e080bb7 106408 
gecode-flatzinc_6.6.0-1_amd64.deb
 53ad3e75427cca9bbec29a2a97b30106d289c66720f3faf89b102f820a66a240 17166 
gecode_6.6.0-1_amd64.buildinfo
 510eee3e83d23ea09d035e466d22490a2b28b0b620c6471e9c920fe7247fb90c 130860 
libgecode-dev-dbgsym_6.6.0-1_amd64.deb
 bff97bcc01a7c410d3a0d7888c0a9ace7609a2ca4e850aaf880cdaf129efa1a0 613356 
libgecode-dev_6.6.0-1_amd64.deb
 a643591b186184d164ce8118a1d8a1fcab054230ad267ee9b7566a078df31e87 16627692 
libgecode-doc_6.6.0-1_all.deb
 08ba4bbf1a70ba8f33d7f2492745d75f0603c052e743d810a4c4f64ea2cc9521 74452600 
libgecode53-dbgsym_6.6.0-1_amd64.deb
 decbd149aeb402d2f159468df39469614cf190cf320ce2aca5e9cdf02268c358 4195644 
libgecode53_6.6.0-1_amd64.deb
 47dcebc62bb684780a331032aeb02119c7a85aba4b0da8846a154771ccd70a68 4367296 
libgecodeflatzinc53-dbgsym_6.6.0-1_amd64.deb
 2ac369690fd778044a09555ac803084512bc3e648745f5e0627aca2240e12e93 396328 
libgecodeflatzinc53_6.6.0-1_amd64.deb
 2b0d7e0cb03d71ad5f4266e98c520ebde3034b8eaa22490c659ed02c70cf4725 4233256 
libgecodegist53-dbgsym_6.6.0-1_amd64.deb
 4fa37878fef94e9d7cba2c3350a125be2a6adc3a3d1a334f1823160c7d11281e 206492 
libgecodegist53_6.6.0-1_amd64.deb
Files:
 1f9dc119ef1c71158afe8e939ec45e9b 2263 libs optional gecode_6.6.0-1.dsc
 7447061d1aff7c6aebb5a14b43516f36 6063675 libs optional gecode_6.6.0.orig.tar.gz
 53c7002a794ef3c5c7af20a70e09e9c8 18176 libs optional 
gecode_6.6.0-1.debian.tar.xz
 9e09b8d665c0b479d89fd576a0dc1cb2 162548 debug optional 
gecode-flatzinc-dbgsym_6.6.0-1_amd64.deb
 aac3ee2ea6360c81dbc74abe95c0ac9f 106408 devel optional 
gecode-flatzinc_6.6.0-1_amd64.deb
 8946412a7fa3c81234a94b98e16ce325 17166 libs optional 
gecode_6.6.0-1_amd64.buildinfo
 d47949a1a56b55eb0d54143aef1a6e0d 130860 debug optional 
libgecode-dev-dbgsym_6.6.0-1_amd64.deb
 52edfdd58c7d3bc9bebcab1e4986d2dc 613356 libdevel optional 
libgecode-dev_6.6.0-1_amd64.deb
 17dc2b94042154f59be2efa7f369e53e 16627692 doc optional 
libgecode-doc_6.6.0-1_all.deb
 3b0f10fc70df23223035691edafa94ad 74452600 debug optional 
libgecode53-dbgsym_6.6.0-1_amd64.deb
 4a2667441cf368186ee942af1bdbff3b 4195644 libs optional 
libgecode53_6.6.0-1_amd64.deb
 ed848570913ac19342a7e8acc215fd3f 4367296 debug optional 
libgecodeflatzinc53-dbgsym_6.6.0-1_amd64.deb
 0e024673aa62888bc887d4469bcc79aa 396328 libs optional 
libgecodeflatzinc53_6.6.0-1_amd64.deb
 7abe04ac21d72e2d585f30be057f8618 4233256 debug optional 
libgecodegist53-dbgsym_6.6.0-1_amd64.deb
 fa006dac0ddffe6d31cdba3dbe3045ee 206492 libs optional 
libgecodegist53_6.6.0-1_amd64.deb

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

iQIzBAEBCgAdFiEECcOX/lMRGGlaUzRFhAhn7p2PJlwFAmsDKGcACgkQhAhn7p2P
Jlzn4w//byn7Te6eCpkSZfuKvIfM1knMBjXe8jWR638nAh2JC/S3QzVjLqqSw3gz
dQ1ZOHqkxRsAwtY0z96kl6pQ4lTHLEayiLjSECqS8rp6jjMvcadtNUe923D2AXDg
ERJhM5lk7arp7JfeQbgjCdawQHFlcdPVeoTegEUWFR9PLX2mQsdjo2peBRxPv7Gt
SawoK1+2D7gjL9kjPUIDEaTOlTeAFiGbxXS2c+BpUluHhSXqh8JG3JUt7RD6/FsU
6N10mBgGvGsF2ck426rFPRTKpR093kMMH1ldiDgaeGbwB46WMPqZVjtk8SQVlfY7
Z51j3b1WmU7lSIZjTjf+rdOaLdtJBQ8r66AeKcPek3uoBYbCwsSkqRzkgumRVECn
VCvC9W4ySiF96hrn+Zb2ZsX32+bHCI/A+uRN6nkL/jCdgYcJhwySMKtLPbykk+g7
EqtVOkVpifP28GzZMx2Nartjtn7CPZxRTy7lGHUwouf24NwFId+4SpWwwTiSAH39
tIYd1ApRVa1supWpaRg5ouhlI2BL2O5F8FLA4ro5j21lHtTUJnuqgA8is/eVMgVM
eyUvs2lLP6zbYMhf5HX/cj81BlYU1xO9YzAY88sSeH9Ej0JoxJGM+y+taEq+TDt2
pHtu6Taan2NH1uT/FgE5RtZgMJ8BsseYZJMzIwq+JEe13+PldJ4=
=My7d
-----END PGP SIGNATURE-----

Attachment: pgpBYbqrhLYPe.pgp
Description: PGP signature


--- End Message ---

Reply via email to