From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?= Subject: bug#31221: Cross compiling perl with guix pack fails Date: Thu, 19 Apr 2018 22:58:49 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c1926645f5b2b056a39d8eb" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9Gmh-0007ou-QF for bug-guix@gnu.org; Thu, 19 Apr 2018 17:08:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9Gmg-0002V1-99 for bug-guix@gnu.org; Thu, 19 Apr 2018 17:08:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9Gmg-0002U5-4L for bug-guix@gnu.org; Thu, 19 Apr 2018 17:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f9Gmf-0006dE-Sd for bug-guix@gnu.org; Thu, 19 Apr 2018 17:08:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9GeI-0003Gm-Ao for bug-guix@gnu.org; Thu, 19 Apr 2018 16:59:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9GeH-0004F0-1K for bug-guix@gnu.org; Thu, 19 Apr 2018 16:59:22 -0400 Received: from mail-ua0-x22d.google.com ([2607:f8b0:400c:c08::22d]:41278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9GeG-0004Dx-Qt for bug-guix@gnu.org; Thu, 19 Apr 2018 16:59:20 -0400 Received: by mail-ua0-x22d.google.com with SMTP id l3so2804703uak.8 for ; Thu, 19 Apr 2018 13:59:20 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 31221@debbugs.gnu.org --94eb2c1926645f5b2b056a39d8eb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3Dbin --target=3Di686-pc-linux-gnu wireshark And this is the error I get: starting phase `remove-extra-references' Backtrace: 13 (primitive-load "/gnu/store/304qy7gcwfsfsfxi9x98j5kw7i2=E2=80= =A6") In ice-9/eval.scm: 191:35 12 (_ _) In srfi/srfi-1.scm: 863:16 11 (every1 # =E2=80=A6) In /gnu/store/71d3rwa514j7vy5l4vfivf68g5yxibvl-module-import/guix/build/gnu-bu= ild-system.scm: 711:27 10 (_ _) In ice-9/eval.scm: 619:8 9 (_ #(#(#(#(#(#(#) =E2=80=A6) = =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)) 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 (_ # =E2=80=A6) In srfi/srfi-1.scm: 466:18 4 (fold # =E2=80=A6) In ice-9/eval.scm: 202:51 3 (_ #(#(#(#(#(#(# =E2=80=A6)) = =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)) 163:9 2 (_ #(#(#(#(#(#(# =E2=80=A6)) = =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)) In unknown file: 1 (string-append "incpth=3D'" #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 --94eb2c1926645f5b2b056a39d8eb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

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

<= /div>And this is the error I get:

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

ice-9/boot-= 9.scm:752:25: In procedure dispatch-exception:
In procedure string-appen= d: Wrong type (expecting string): #f
builder for `/gnu/store/szkpdjdxalw= b793kkbfjibvhxki33x8l-perl-5.26.2.drv' failed with exit code 1
guix = pack: error: build failed: build of `/gnu/store/szkpdjdxalwb793kkbfjibvhxki= 33x8l-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 f= ails 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 tel= l if it's really related or not. I'll still paste that reference he= re just in case:
https://gnunet.org/bot/log/guix/2015-07-14#T699278

Any clue on how I could debug that ?

Thanks

--94eb2c1926645f5b2b056a39d8eb--