Subject: bug#58420: packages with guile-3.0 as an input fail to cross-compile

From: "Mitchell F. Schmeisser" <[email-masked]>
Date: Mon, 10 Oct 2022 17:25:12 +0000

I cannot cross compile any packages which depend on guile. The configure phase either fails to find the autoconf macros or fails to find guile itself.

configure: checking for guile 3.0
configure: found guile 3.0
checking for guile-3.0... no
checking for guile3.0... no
checking for guile-3... no
checking for guile3... no
checking for guile... no
configure: error: guile required but not found

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

or

configure.ac:70: error: possibly undefined macro: GUILE_PKG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:71: error: possibly undefined macro: GUILE_PROGS

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

I've tried compiling guile-config, guile-quickcheck, and guile-udev with --target=arm-linux-gnueabihf and --target=aarch64-linux-gnu and all fail in similar ways.

Guile itself cross-compiles fine and is listed as an input (not a native-input) on all of these packages.

Thanks,
Mitchell