Your message dated Wed, 13 May 2026 13:35:58 +0000
with message-id <[email protected]>
and subject line Bug#1098517: fixed in guile-cairo 1.12.0~pre1-3
has caused the Debian Bug report #1098517,
regarding guile-cairo FTCBFS: multiple causes
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.)


-- 
1098517: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098517
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: guile-cairo
Version: 1.12.0~pre1-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

guile-cairo fails to cross build from source for two distinct reasons.
The first reason is that configure fails running guile-3.0 and gives up.
guile-3.0 is M-A:allowed and it occurs twice in the dependency chain.
One of them is annotated :any and the one via guile-library is not. As a
result, apt picks the host one and that happens to not be runnable. It
is guile-library that forces the host one. I believe that its dependency
is correct, because guile-library provides shared objects to be loaded
into guile-3.0. The question really becomes whether guile-cairo needs to
load those libraries. After some digging, I figured that yes it does,
but only for running tests. So annotating the dependency <!nocheck>
makes the dependency go away for cross builds (as apt can then use the
build's guile-3.0) and a nocheck build still exactly reproduces a
regular build.

What fails next is guile-snarf. I've see than for guile-gnutls already
and the cause is that guile-snarf defaults to using the build
architecture cpp. Basically whenever using guile-snarf in a build, we
must export CPP.

I'm attaching a patch addressing both for your convenience. The
cross.patch part should be upstreamable.

Helmut
diff --minimal -Nru guile-cairo-1.12.0~pre1/debian/changelog 
guile-cairo-1.12.0~pre1/debian/changelog
--- guile-cairo-1.12.0~pre1/debian/changelog    2023-10-28 10:12:09.000000000 
+0200
+++ guile-cairo-1.12.0~pre1/debian/changelog    2025-02-20 10:44:00.000000000 
+0100
@@ -1,3 +1,12 @@
+guile-cairo (1.12.0~pre1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Annotate guile-library dependency <!nocheck>.
+    + cross.patch: Export CPP for guile-snarf.
+
+ -- Helmut Grohne <[email protected]>  Thu, 20 Feb 2025 10:44:00 +0100
+
 guile-cairo (1.12.0~pre1-2) unstable; urgency=medium
 
   * Fixed URL in debian/upstream/metadata.
diff --minimal -Nru guile-cairo-1.12.0~pre1/debian/control 
guile-cairo-1.12.0~pre1/debian/control
--- guile-cairo-1.12.0~pre1/debian/control      2023-10-28 10:12:09.000000000 
+0200
+++ guile-cairo-1.12.0~pre1/debian/control      2025-02-20 10:44:00.000000000 
+0100
@@ -9,7 +9,7 @@
 Build-Depends: cdbs (>= 0.4.49), debhelper (>= 10),
                patchutils (>= 0.2.25), guile-3.0-dev,
               libcairo2-dev (>= 1.4.10),
-               guile-library (>= 0.2.6.1),
+               guile-library (>= 0.2.6.1) <!nocheck>,
               texinfo
 Rules-Requires-Root: no
 
diff --minimal -Nru guile-cairo-1.12.0~pre1/debian/patches/cross.patch 
guile-cairo-1.12.0~pre1/debian/patches/cross.patch
--- guile-cairo-1.12.0~pre1/debian/patches/cross.patch  1970-01-01 
01:00:00.000000000 +0100
+++ guile-cairo-1.12.0~pre1/debian/patches/cross.patch  2025-02-20 
10:44:00.000000000 +0100
@@ -0,0 +1,21 @@
+--- guile-cairo-1.12.0~pre1.orig/configure.ac
++++ guile-cairo-1.12.0~pre1/configure.ac
+@@ -41,6 +41,7 @@
+ 
+ AC_ISC_POSIX
+ AC_PROG_CC
++AC_PROG_CPP
+ AC_STDC_HEADERS
+ LT_INIT([disable-static])
+ 
+--- guile-cairo-1.12.0~pre1.orig/guile-cairo/Makefile.am
++++ guile-cairo-1.12.0~pre1/guile-cairo/Makefile.am
+@@ -48,7 +48,7 @@
+ GUILE_SNARF_CFLAGS = $(libguile_cairo_la_CFLAGS)
+ 
+ .c.x:
+-      guile-snarf $(GUILE_SNARF_CFLAGS) $< > $@ \
++      CPP='$(CPP)' guile-snarf $(GUILE_SNARF_CFLAGS) $< > $@ \
+       || { rm $@; false; }
+ .c.doc:
+       -(guile-func-name-check $<)
diff --minimal -Nru guile-cairo-1.12.0~pre1/debian/patches/series 
guile-cairo-1.12.0~pre1/debian/patches/series
--- guile-cairo-1.12.0~pre1/debian/patches/series       2023-10-28 
10:12:09.000000000 +0200
+++ guile-cairo-1.12.0~pre1/debian/patches/series       2025-02-20 
10:44:00.000000000 +0100
@@ -1,2 +1,3 @@
 0001-get-library-path-from-env.patch
 0002-set-unit-test-lib-path.patch
+cross.patch

--- End Message ---
--- Begin Message ---
Source: guile-cairo
Source-Version: 1.12.0~pre1-3
Done: Tommi Höynälänmaa <[email protected]>

We believe that the bug you reported is fixed in the latest version of
guile-cairo, 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.
Tommi Höynälänmaa <[email protected]> (supplier of updated guile-cairo 
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: Wed, 13 May 2026 15:49:53 +0300
Source: guile-cairo
Architecture: source
Version: 1.12.0~pre1-3
Distribution: unstable
Urgency: medium
Maintainer: Tommi Höynälänmaa <[email protected]>
Changed-By: Tommi Höynälänmaa <[email protected]>
Closes: 1098517
Changes:
 guile-cairo (1.12.0~pre1-3) unstable; urgency=medium
 .
   * Closes: #1098517.
   * Implemented the changes suggested by Helmut Grohne <[email protected]>
     in the bug report:
     + Annotate guile-library dependency <!nocheck>.
     + 0003-cross.patch: Export CPP for guile-snarf.
Checksums-Sha1:
 6849b48a4a8f186f4f502f26792f6936f8b3f42a 2078 guile-cairo_1.12.0~pre1-3.dsc
 e3ac56ccbd7b2a7cdea9ea59bb410f5f42d7ca38 6744 
guile-cairo_1.12.0~pre1-3.debian.tar.xz
 e7df649f2e1f5671a36b5da55b6ab8a9d8385963 9961 
guile-cairo_1.12.0~pre1-3_amd64.buildinfo
Checksums-Sha256:
 0838a31dd65e28c31f29ff136a7ff575bfe13f68a7150fc77aaf5b733b923b65 2078 
guile-cairo_1.12.0~pre1-3.dsc
 99615949eac63e206063826515cb1f4ad5ca866503eb9dd27091b9c7700a41a7 6744 
guile-cairo_1.12.0~pre1-3.debian.tar.xz
 f1e36fb2ffd2d745b31aea464e519537910fbfe1dda0067497830a7e010ce491 9961 
guile-cairo_1.12.0~pre1-3_amd64.buildinfo
Files:
 cfdb18f061413ddc2ab33b530062c810 2078 lisp optional 
guile-cairo_1.12.0~pre1-3.dsc
 1edd142228ba816daecdb7046689c40f 6744 lisp optional 
guile-cairo_1.12.0~pre1-3.debian.tar.xz
 81d4baad6750fd14e4ce37156dc8b726 9961 lisp optional 
guile-cairo_1.12.0~pre1-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEVfQkd3FVNShcsit6u4Yf3kBGD4MFAmoEd4IACgkQu4Yf3kBG
D4MbmA/+Jxg0ISYOXZgKnyOf+N41+/hChZ3JKj0sNOt0lM7e5CuYSe8ni9iauIMX
tyj/nE/WqVCtfjl2hVeW0WUimh4Y/EusgDqI90aiGLF4GAUrVgVHwkGlGoAaIhrN
ie8XBR7cTErHH1RG/rYrscoc/O7w4qjRCMW2SGTF6u6NZ/r7j7ECfC0dztISVE2J
tyv4IdYXGOR0k6LRYgVxBn5pIY/9sbURr9QYDi13E0PxwrHoplRqPUgJwCfhCzte
vNe6Qt3GLRqoR8pwaqU6Rvs+ODOF4xOxiwQLib9hupMmqqBLH/ENTf0nihh0YwKs
RjlkIMgz4OSArcXTx2eVTHgsFZZcVYTWd8wT3Zp2tMmSGpUAFTd8w1BnGuEQHD8W
k4/y+njOW890Iqnv49jvjYr4fWp1swbRvIlGG1gn+BstRUeLg3HtzNqBXPjTBwtd
6Ek1ulDM9vMzBmnAkinsfs873c8uONRfxwLvKHgvt+s7eczeknxFN3Px7DqbXrtz
AvjDz+RSrHbeby4pSJcISHWbXj/UTKMOCT8yeh1fUy+pqutUnCBiea5WRmtfHGCQ
EAnFScG5wE6nqVxjD9hE/ZzCtq8nxEsU7LXs/cUiAGls8WD3QlUEpwgEOYpqeQhT
cGAFwnnk9GSulfpp8Oud7034Ol77JvLVVujHmD4pW6Yi9vXL1n0=
=IT2W
-----END PGP SIGNATURE-----

Attachment: pgp79jHvcZbYw.pgp
Description: PGP signature


--- End Message ---

Reply via email to