GNU bug report logs - #54793
guile-fibers does not cross-compile

Previous Next

Package: guix;

Reported by: Mathieu Othacehe <othacehe <at> gnu.org>

Date: Fri, 8 Apr 2022 15:38:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54793 in the body.
You can then email your comments to 54793 AT debbugs.gnu.org in the normal way.

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#54793; Package guix. (Fri, 08 Apr 2022 15:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Othacehe <othacehe <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 08 Apr 2022 15:38:02 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: guile-fibers does not cross-compile
Date: Fri, 08 Apr 2022 17:37:18 +0200
Hello,

guile-fibers does not cross-compile, the error is the following:

--8<---------------cut here---------------start------------->8---
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure dlopen: file "/tmp/guix-build-guile-fibers-1.1.0.drv-0/fibers-1.1.0/.libs/epoll.so", message "/tmp/guix-build-guile-fibers-1.1.0.drv-0/fibers-1.1.0/.libs/epoll.so: wrong ELF class: ELFCLASS32"
--8<---------------cut here---------------end--------------->8---

It breaks the build of novena, pine64 and pinebook-pro images, see:
https://ci.guix.gnu.org/eval/216001?status=failed.

Thanks,

Mathieu




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 13 Apr 2022 06:46:02 GMT) Full text and rfc822 format available.

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 14 Apr 2022 12:52:02 GMT) Full text and rfc822 format available.

Notification sent to Mathieu Othacehe <othacehe <at> gnu.org>:
bug acknowledged by developer. (Thu, 14 Apr 2022 12:52:02 GMT) Full text and rfc822 format available.

Message #12 received at 54793-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 54793-done <at> debbugs.gnu.org
Subject: Re: bug#54793: guile-fibers does not cross-compile
Date: Thu, 14 Apr 2022 14:50:33 +0200
Hi!

Mathieu Othacehe <othacehe <at> gnu.org> skribis:

> guile-fibers does not cross-compile, the error is the following:
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> In procedure dlopen: file "/tmp/guix-build-guile-fibers-1.1.0.drv-0/fibers-1.1.0/.libs/epoll.so", message "/tmp/guix-build-guile-fibers-1.1.0.drv-0/fibers-1.1.0/.libs/epoll.so: wrong ELF class: ELFCLASS32"

I pushed cross-compilation support upstream:

  c4756b9 epoll: Do not refer to 'epoll.so'-provided variables at expansion time.
  393ecc6 build: Pass '--target' and '-L' to 'guild compile' when cross-compiling.
  e5fa008 build: Do not load 'epoll.so' during cross-compilation.

… and an equivalent fix in Guix:

  1f82602153 gnu: guile-fibers <at> 1.1: Support cross-compilation.

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 May 2022 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 33 days ago.

Previous Next


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