#1104866 guile-avahi FTCBFS: uses the build architecture cpp via guile-snarf

Package:
src:guile-avahi
Source:
src:guile-avahi
Submitter:
Helmut Grohne
Date:
2026-10-05 22:21:02 UTC
Severity:
normal
Tags:
#1104866#5
Date:
2025-05-07 08:34:20 UTC
From:
To:
guile-avahi fails to cross build from source, because it passes host
architecture compiler flags to guile-snarf, which forwards it to a very
unhappy build architecture cpp. This is a recurring problem in guile
packages. While guile-snarf honours the CPP variable, nothing usually
sets that. The current way of dealing with this is having the build
system explicitly pass the desired CPP. I'm attaching a patch for your
convenience and hope that you can forward it upstream.

Helmut

#1104866#10
Date:
2025-05-13 18:43:42 UTC
From:
To:
Hello upstream maintainers of guile-avahi!

A fellow debian developer reported that guile-avahi does not
successfully cross-build:

https://bugs.debian.org/1104866

... and provided a simple one line patch!

I can confirm with the patch applied it successfully builds for both
native and cross builds.

I have included their explanation and patch below, please consider
applying it!

live well,
  vagrant

#1104866#15
Date:
2025-05-13 21:12:14 UTC
From:
To:
Marking as forwarded...

live well,
  vagrant

#1104866#20
Date:
2026-10-05 22:02:15 UTC
From:
To:
Hello,

Bug #1104866 in guile-avahi reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/guile-avahi/-/commit/a9332b3d01dc06f602a7bf5beb7c4a79c32bc4f2
------------------------------------------------------------------------
debian/patches: Fix cross building. Thanks to Helmut Grohne.
(Closes: #1104866)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1104866

#1104866#27
Date:
2026-10-05 22:19:40 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
guile-avahi, 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 1104866@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated guile-avahi 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 05 Oct 2026 15:02:27 -0700
Source: guile-avahi
Architecture: source
Version: 0.4.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Scheme Team <debian-scheme@lists.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 1104866
Changes:
 guile-avahi (0.4.1-4) unstable; urgency=medium
 .
   * debian/watch: Update to format version 5.
   * debian/control: Drop Priority field.
   * debian/control: Drop Rules-Requires-Root field.
   * debian/control: Update Standards-Version to 4.7.4.
   * debian/control: Set Debian Scheme Team as Maintainer.
   * debian/patches: Fix cross building. Thanks to Helmut Grohne.
     (Closes: #1104866)
Checksums-Sha1:
 5060283760fb53ce1c1b13053c58780f05b32329 1659 guile-avahi_0.4.1-4.dsc
 da31dcd15dc2f8f65df6194f6c3dcefbd47a30fd 6008 guile-avahi_0.4.1-4.debian.tar.xz
 8f2af871eec0f59dc3ebf79106dbcd63537c3ffc 6511 guile-avahi_0.4.1-4_amd64.buildinfo
Checksums-Sha256:
 19a37c4af1817c62ac3e5c3d80b3df3f5c751590af9cd127164230700ba8cac6 1659 guile-avahi_0.4.1-4.dsc
 f1f82e0ef61317f1149b729abb93362e028b1c5200ce719cd3bedec92c125f9b 6008 guile-avahi_0.4.1-4.debian.tar.xz
 05b66d3a99bc647e53482645253a780af9b8cdf4f29ef778f201287d177ead24 6511 guile-avahi_0.4.1-4_amd64.buildinfo
Files:
 5b535b1e0fa6cb3d7c65db52b0b74926 1659 lisp optional guile-avahi_0.4.1-4.dsc
 509cd9708a2c50e9d0072230711cf3bd 6008 lisp optional guile-avahi_0.4.1-4.debian.tar.xz
 904eddeb938e0307cfdc7b590f0d0772 6511 lisp optional guile-avahi_0.4.1-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCasQfHxMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqzTgA/30GWEIRsht9T6BuQl6tPbGu+QCKS3uh
sClho2Bhrpx4AP9mJ8WXxX1Kt1UE82Ad+idkZNiRwDfomYFBFDC/3zWrAQ==
=ScAK
-----END PGP SIGNATURE-----