GNU bug report logs - #27149
‘perl-build-system’ does not support cross-compilation

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Tue, 30 May 2017 15:02:02 UTC

Severity: normal

Merged with 31221

Done: Jan Nieuwenhuizen <janneke <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jan Nieuwenhuizen <janneke <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#31221: closed (Cross compiling perl with guix pack fails)
Date: Tue, 11 Aug 2020 09:02:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 11 Aug 2020 11:01:04 +0200
with message-id <87pn7x4kvj.fsf <at> gnu.org>
and subject line Re: bug#27149: perl for arm-linux-gnueabihf
has caused the debbugs.gnu.org bug report #27149,
regarding Cross compiling perl with guix pack fails
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
27149: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27149
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Raphaël Mélotte <raphael.melotte <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Cross compiling perl with guix pack fails
Date: Thu, 19 Apr 2018 22:58:49 +0200
[Message part 3 (text/plain, inline)]
Hello,

I'm trying to make a wireshark package for an old 32bit system where I
cannot install guix but it always fails with the same error. This is the
command I'm using:
guix pack -S /opt/gnu/bin=bin --target=i686-pc-linux-gnu wireshark

And this is the error I get:

starting phase `remove-extra-references'
Backtrace:
          13 (primitive-load "/gnu/store/304qy7gcwfsfsfxi9x98j5kw7i2…")
In ice-9/eval.scm:
   191:35 12 (_ _)
In srfi/srfi-1.scm:
   863:16 11 (every1 #<procedure a40380 at /gnu/store/71d3rwa514j7v…> …)
In
/gnu/store/71d3rwa514j7vy5l4vfivf68g5yxibvl-module-import/guix/build/gnu-build-system.scm:
   711:27 10 (_ _)
In ice-9/eval.scm:
    619:8  9 (_ #(#(#(#(#(#(#<directory (guile-user)…>) …) …) …) …) …))
In ice-9/boot-9.scm:
    841:4  8 (with-throw-handler _ _ _)
In ice-9/ports.scm:
   444:17  7 (call-with-input-file _ _ #:binary _ #:encoding _ # _)
In
/gnu/store/71d3rwa514j7vy5l4vfivf68g5yxibvl-module-import/guix/build/utils.scm:
   610:26  6 (_ _)
   636:26  5 (_ #<input: /gnu/store/fvlb30v6gvm5k8hdmqz7c4g8vaaqvxr…> …)
In srfi/srfi-1.scm:
   466:18  4 (fold #<procedure 7ffff4385530 at /gnu/store/71d3rwa51…> …)
In ice-9/eval.scm:
   202:51  3 (_ #(#(#(#(#(#(#<directory (guile-user)…> …)) …) …) …) …))
    163:9  2 (_ #(#(#(#(#(#(#<directory (guile-user)…> …)) …) …) …) …))
In unknown file:
           1 (string-append "incpth='" #f "/include'\n")
In ice-9/boot-9.scm:
   752:25  0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
In procedure string-append: Wrong type (expecting string): #f
builder for `/gnu/store/szkpdjdxalwb793kkbfjibvhxki33x8l-perl-5.26.2.drv'
failed with exit code 1
guix pack: error: build failed: build of
`/gnu/store/szkpdjdxalwb793kkbfjibvhxki33x8l-perl-5.26.2.drv' failed

Since it seems related to perl, I tried running the same guix pack command
for perl only, and it fails with the same error.

I found a reference in the IRC logs about the same kind of error with
another package, but I can't tell if it's really related or not. I'll still
paste that reference here just in case:
https://gnunet.org/bot/log/guix/2015-07-14#T699278

Any clue on how I could debug that ?

Thanks
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, guix-devel <at> gnu.org,
 Gérald Lelong <lelong.gerald <at> gmail.com>,
 27149-done <at> debbugs.gnu.org
Subject: Re: bug#27149: perl for arm-linux-gnueabihf
Date: Tue, 11 Aug 2020 11:01:04 +0200
Ludovic Courtès writes:

>>> *guix build --target=arm-linux-gnueabihf* *perl* fails with the following
>>> output: https://pastebin.com/QF0xKAmR

This has been fixed by #40698.

Thanks,
Janneke

-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com


This bug report was last modified 4 years and 290 days ago.

Previous Next


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