packages with guile-3.0 as an input fail to cross-compile

  • Open
  • quality assurance status badge
Details
2 participants
  • Maxime Devos
  • Mitchell F. Schmeisser
Owner
unassigned
Submitted by
Mitchell F. Schmeisser
Severity
normal
Merged with
M
M
Mitchell F. Schmeisser wrote on 10 Oct 2022 19:25
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
e3c75da9ad3242678a62de904b9e78c6@arl.psu.edu
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.


Toggle quote (2 lines)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

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

Toggle quote (2 lines)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

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
Attachment: file
M
M
Maxime Devos wrote on 11 Oct 2022 16:17
5da3063d-bea9-2502-5c2a-e563a5426aef@telenet.be
merge 47221 58420
thanks
On 10-10-2022 19:25, Mitchell F. Schmeisser wrote:
Toggle quote (3 lines)
> 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. [...]
The issue is that guile needs to be in native-inputs even though
sometimes it isn't, as I noticed in https://issues.guix.gnu.org/47221.
A patch series is available there as well, though it needs to be rebased.
Greetings,
Maxime.
Attachment: OpenPGP_signature
M
M
M
Mitchell F. Schmeisser wrote on 11 Oct 2022 18:09
387af1b884514b22b59de4373748def0@arl.psu.edu
Thank you for sharing this, I have a lot to learn about the autotools.
-----Original Message-----
From: Maxime Devos <maximedevos@telenet.be>
Sent: Tuesday, October 11, 2022 10:18 AM
To: Mitchell F. Schmeisser <mfs5173@arl.psu.edu>; 58420@debbugs.gnu.org
Subject: [EXTERNAL] Re: bug#58420: packages with guile-3.0 as an input fail to cross-compile
merge 47221 58420
thanks
On 10-10-2022 19:25, Mitchell F. Schmeisser wrote:
Toggle quote (3 lines)
> 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. [...]
The issue is that guile needs to be in native-inputs even though sometimes it isn't, as I noticed in https://issues.guix.gnu.org/47221.
A patch series is available there as well, though it needs to be rebased.
Greetings,
Maxime.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 58420@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 58420
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch