GNU bug report logs - #58420
packages with guile-3.0 as an input fail to cross-compile

Previous Next

Package: guix;

Reported by: "Mitchell F. Schmeisser" <mfs5173 <at> arl.psu.edu>

Date: Mon, 10 Oct 2022 19:52:02 UTC

Severity: normal

Merged with 47221

To reply to this bug, email your comments to 58420 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#58420; Package guix. (Mon, 10 Oct 2022 19:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Mitchell F. Schmeisser" <mfs5173 <at> arl.psu.edu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 10 Oct 2022 19:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Mitchell F. Schmeisser" <mfs5173 <at> arl.psu.edu>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: packages with guile-3.0 as an input fail to cross-compile
Date: Mon, 10 Oct 2022 17:25:12 +0000
[Message part 1 (text/plain, inline)]
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

[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#58420; Package guix. (Tue, 11 Oct 2022 14:19:01 GMT) Full text and rfc822 format available.

Message #8 received at 58420 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: "Mitchell F. Schmeisser" <mfs5173 <at> arl.psu.edu>, 58420 <at> debbugs.gnu.org
Subject: Re: bug#58420: packages with guile-3.0 as an input fail to
 cross-compile
Date: Tue, 11 Oct 2022 16:17:49 +0200
[Message part 1 (text/plain, inline)]
merge 47221 58420
thanks

On 10-10-2022 19:25, Mitchell F. Schmeisser wrote:
> 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.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Merged 47221 58420. Request was from Maxime Devos <maximedevos <at> telenet.be> to control <at> debbugs.gnu.org. (Tue, 11 Oct 2022 14:22:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#58420; Package guix. (Tue, 11 Oct 2022 19:23:04 GMT) Full text and rfc822 format available.

Message #13 received at 58420 <at> debbugs.gnu.org (full text, mbox):

From: "Mitchell F. Schmeisser" <mfs5173 <at> arl.psu.edu>
To: Maxime Devos <maximedevos <at> telenet.be>, "58420 <at> debbugs.gnu.org"
 <58420 <at> debbugs.gnu.org>
Subject: RE: [EXTERNAL] Re: bug#58420: packages with guile-3.0 as an input
 fail to cross-compile
Date: Tue, 11 Oct 2022 16:09:47 +0000
Thank you for sharing this, I have a lot to learn about the autotools.


-----Original Message-----
From: Maxime Devos <maximedevos <at> telenet.be> 
Sent: Tuesday, October 11, 2022 10:18 AM
To: Mitchell F. Schmeisser <mfs5173 <at> arl.psu.edu>; 58420 <at> 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:
> 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.

This bug report was last modified 2 years and 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.