Source: guile-avahi Version: 0.4.1-3 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
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
--- guile-avahi-0.4.1.orig/Makefile.am +++ guile-avahi-0.4.1/Makefile.am @@ -110,7 +110,7 @@ SUFFIXES = .x %.c.x: %.c $(GENERATED_BINDINGS) - $(AM_V_GEN)$(guile_snarf) -o $@ $< $(snarfcppopts) + $(AM_V_GEN)CPP='$(CPP)' $(guile_snarf) -o $@ $< $(snarfcppopts) #