From unknown Wed Jun 25 02:10:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27149: =?UTF-8?Q?=E2=80=98perl-build-system=E2=80=99?= does not support cross-compilation Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 30 May 2017 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27149 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27149@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149615650526005 (code B ref -1); Tue, 30 May 2017 15:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 May 2017 15:01:45 +0000 Received: from localhost ([127.0.0.1]:45414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFieW-0006lM-Sg for submit@debbugs.gnu.org; Tue, 30 May 2017 11:01:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFieU-0006lA-UW for submit@debbugs.gnu.org; Tue, 30 May 2017 11:01:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFieM-0002ud-Lm for submit@debbugs.gnu.org; Tue, 30 May 2017 11:01:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dFieM-0002uT-Il for submit@debbugs.gnu.org; Tue, 30 May 2017 11:01:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFieG-0002O3-QB for bug-guix@gnu.org; Tue, 30 May 2017 11:01:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFieD-0002tB-PZ for bug-guix@gnu.org; Tue, 30 May 2017 11:01:28 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dFieD-0002sz-9p for bug-guix@gnu.org; Tue, 30 May 2017 11:01:25 -0400 Received: from localhost (141.80.148.190 [141.80.148.190]) by mx.zohomail.com with SMTPS id 1496156476231855.2707715608595; Tue, 30 May 2017 08:01:16 -0700 (PDT) User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 30 May 2017 17:01:12 +0200 Message-ID: <878tle4cef.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) When trying to cross-build GCompris for armhf the build fails because Perl dependencies cannot be cross-built. The “perl-build-system” needs to be augmented to do the right thing when cross-compilation is requested. But what is the right thing to do? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 23 03:52:44 2018 Received: (at control) by debbugs.gnu.org; 23 Apr 2018 07:52:44 +0000 Received: from localhost ([127.0.0.1]:36446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAWHE-00061B-GE for submit@debbugs.gnu.org; Mon, 23 Apr 2018 03:52:44 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAWHD-000613-87 for control@debbugs.gnu.org; Mon, 23 Apr 2018 03:52:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1524283459; s=zoho; d=elephly.net; i=rekado@elephly.net; h=Date:To:From:Subject; l=19; bh=aFx2ZnvRfA2XDU4bZDtEqIRYTWvhdUbWLgFMBufaHUw=; b=U3m2Bzz5Cnb4ByM4i058auYM5aXukD8r+40QiW5He36c48hp6kUnPZ6KHQpR+JXD lErJW+E9Y0mM/quWSh7lElT/1Vb0tnNBOv4OvoogEAEkqtHVOuNBmCrbI4ahLFqcgK+ ZK2c5K4Bg2gqNFnWSibgYZKu7ecvgStIkGhLOU8M= Received: from localhost (port-92-200-91-155.dynamic.qsc.de [92.200.91.155]) by mx.zohomail.com with SMTPS id 1524283458986180.07299345997114; Fri, 20 Apr 2018 21:04:18 -0700 (PDT) Date: Sat, 21 Apr 2018 06:04:16 +0200 To: control@debbugs.gnu.org From: Ricardo Wurmus Subject: control message for bug #31221 X-ZohoMailClient: External X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" Message-Id: X-Spam-Score: -1.0 (-) merge 31221 27149 From unknown Wed Jun 25 02:10:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27149: perl for arm-linux-gnueabihf Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 20 Jan 2019 22:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27149 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: guix-devel@gnu.org, 27149@debbugs.gnu.org, =?UTF-8?Q?G=C3=A9rald?= Lelong Received: via spool by 27149-submit@debbugs.gnu.org id=B27149.154802398226352 (code B ref 27149); Sun, 20 Jan 2019 22:40:01 +0000 Received: (at 27149) by debbugs.gnu.org; 20 Jan 2019 22:39:42 +0000 Received: from localhost ([127.0.0.1]:39258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glLkf-0006qt-EN for submit@debbugs.gnu.org; Sun, 20 Jan 2019 17:39:42 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glLkY-0006qg-Vv for 27149@debbugs.gnu.org; Sun, 20 Jan 2019 17:39:35 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 0197C3B87; Sun, 20 Jan 2019 23:39:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hAToDy8N6jMN; Sun, 20 Jan 2019 23:39:25 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 9D36A3B61; Sun, 20 Jan 2019 23:39:24 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a7jxf0b9.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 =?UTF-8?Q?Pluvi=C3=B4se?= an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 20 Jan 2019 23:39:23 +0100 In-Reply-To: <87a7jxf0b9.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 19 Jan 2019 10:45:14 +0100") Message-ID: <8736pnneck.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Ricardo Wurmus skribis: >> *guix build --target=3Darm-linux-gnueabihf* *perl* fails with the follow= ing >> output: https://pastebin.com/QF0xKAmR > > Here=E2=80=99s the output copied from pastebin: > > starting phase `remove-extra-references' [...] > 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/zj5xld149ibdyc4nlm2dj41jnjm9bqyn-perl-5.28.0.drv'= failed with exit code 1 > build of /gnu/store/zj5xld149ibdyc4nlm2dj41jnjm9bqyn-perl-5.28.0.drv fail= ed > > I have never tried to cross-compiled packages for =E2=80=9Carm-linux-gnue= abihf=E2=80=9D. > I don=E2=80=99t know if this is expected to work. The =E2=80=9Carm-linux-gnueabihf=E2=80=9D is a cross-compilation triplet th= at we generally support. However, note, G=C3=A9rard, that not all packages in Gu= ix can be successfully cross-compiled, and Perl is one that fails to cross build. We are not committed to supporting cross-compilation of every package, but we=E2=80=99re of course happy to make the feature more useful. The patch below is the beginning of a fix, but as it is, it builds a native Perl. To address that, we need to fiddle with Perl=E2=80=99s peculi= ar build system. If you know how to instruct it to cross-build, let=E2=80=99s address this! :-) Thanks, Ludo=E2=80=99. PS: This issue was previously reported at so I suggest we keep discussing it there. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index c4d9d64de3..109a4c1154 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright =C2=A9 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Court=C3= =A8s +;;; Copyright =C2=A9 2012, 2013, 2014, 2015, 2016, 2017, 2019 Ludovic Cour= t=C3=A8s ;;; Copyright =C2=A9 2013 Andreas Enge ;;; Copyright =C2=A9 2015, 2016, 2017, 2019 Ricardo Wurmus ;;; Copyright =C2=A9 2015, 2016, 2017 Eric Bavier @@ -78,7 +78,7 @@ "perl-reproducible-build-date.patch")))) (build-system gnu-build-system) (arguments - '(#:tests? #f + `(#:tests? #f #:configure-flags (let ((out (assoc-ref %outputs "out")) (libc (assoc-ref %build-inputs "libc"))) @@ -127,7 +127,10 @@ (add-after 'install 'remove-extra-references (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) - (libc (assoc-ref inputs "libc")) + (libc (assoc-ref inputs + ,(if (%current-target-system) + "cross-libc" + "libc"))) (config1 (car (find-files (string-append out "/lib/per= l5") "^Config_heavy\\.pl$"))) (config2 (find-files (string-append out "/lib/perl5") --=-=-=-- From unknown Wed Jun 25 02:10:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#27149: closed (Re: bug#27149: perl for arm-linux-gnueabihf) Message-ID: References: <87pn7x4kvj.fsf@gnu.org> <878tle4cef.fsf@elephly.net> X-Gnu-PR-Message: they-closed 27149 X-Gnu-PR-Package: guix Reply-To: 27149@debbugs.gnu.org Date: Tue, 11 Aug 2020 09:02:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1597136522-9780-1" This is a multi-part message in MIME format... ------------=_1597136522-9780-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27149: =E2=80=98perl-build-system=E2=80=99 does not support cross-compilat= ion which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27149@debbugs.gnu.org. --=20 27149: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27149 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1597136522-9780-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27149-done) by debbugs.gnu.org; 11 Aug 2020 09:01:24 +0000 Received: from localhost ([127.0.0.1]:38641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Q9o-0002We-7D for submit@debbugs.gnu.org; Tue, 11 Aug 2020 05:01:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Q9m-0002WS-Hq for 27149-done@debbugs.gnu.org; Tue, 11 Aug 2020 05:01:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39316) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5Q9f-0005oC-FV; Tue, 11 Aug 2020 05:01:11 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=41046 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k5Q9a-0007Ao-M7; Tue, 11 Aug 2020 05:01:09 -0400 From: Jan Nieuwenhuizen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#27149: perl for arm-linux-gnueabihf References: <87a7jxf0b9.fsf@elephly.net> <8736pnneck.fsf@gnu.org> Date: Tue, 11 Aug 2020 11:01:04 +0200 In-Reply-To: <8736pnneck.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 20 Jan 2019 23:39:23 +0100") Message-ID: <87pn7x4kvj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27149-done Cc: Ricardo Wurmus , guix-devel@gnu.org, =?utf-8?Q?G=C3=A9rald?= Lelong , 27149-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s writes: >>> *guix build --target=3Darm-linux-gnueabihf* *perl* fails with the follo= wing >>> output: https://pastebin.com/QF0xKAmR This has been fixed by #40698. Thanks, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com ------------=_1597136522-9780-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 May 2017 15:01:45 +0000 Received: from localhost ([127.0.0.1]:45414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFieW-0006lM-Sg for submit@debbugs.gnu.org; Tue, 30 May 2017 11:01:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFieU-0006lA-UW for submit@debbugs.gnu.org; Tue, 30 May 2017 11:01:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFieM-0002ud-Lm for submit@debbugs.gnu.org; Tue, 30 May 2017 11:01:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dFieM-0002uT-Il for submit@debbugs.gnu.org; Tue, 30 May 2017 11:01:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFieG-0002O3-QB for bug-guix@gnu.org; Tue, 30 May 2017 11:01:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFieD-0002tB-PZ for bug-guix@gnu.org; Tue, 30 May 2017 11:01:28 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dFieD-0002sz-9p for bug-guix@gnu.org; Tue, 30 May 2017 11:01:25 -0400 Received: from localhost (141.80.148.190 [141.80.148.190]) by mx.zohomail.com with SMTPS id 1496156476231855.2707715608595; Tue, 30 May 2017 08:01:16 -0700 (PDT) User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: =?utf-8?Q?=E2=80=98perl-build-system=E2=80=99?= does not support cross-compilation X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 30 May 2017 17:01:12 +0200 Message-ID: <878tle4cef.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) When trying to cross-build GCompris for armhf the build fails because Perl dependencies cannot be cross-built. The “perl-build-system” needs to be augmented to do the right thing when cross-compilation is requested. But what is the right thing to do? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net ------------=_1597136522-9780-1-- From unknown Wed Jun 25 02:10:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?= Subject: bug#31221: closed (Re: bug#27149: perl for arm-linux-gnueabihf) Message-ID: References: <87pn7x4kvj.fsf@gnu.org> X-Gnu-PR-Message: they-closed 31221 X-Gnu-PR-Package: guix Reply-To: 31221@debbugs.gnu.org Date: Tue, 11 Aug 2020 09:02:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1597136522-9780-3" This is a multi-part message in MIME format... ------------=_1597136522-9780-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27149: Cross compiling perl with guix pack fails which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 31221@debbugs.gnu.org. --=20 27149: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27149 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1597136522-9780-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27149-done) by debbugs.gnu.org; 11 Aug 2020 09:01:24 +0000 Received: from localhost ([127.0.0.1]:38641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Q9o-0002We-7D for submit@debbugs.gnu.org; Tue, 11 Aug 2020 05:01:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Q9m-0002WS-Hq for 27149-done@debbugs.gnu.org; Tue, 11 Aug 2020 05:01:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39316) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5Q9f-0005oC-FV; Tue, 11 Aug 2020 05:01:11 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=41046 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k5Q9a-0007Ao-M7; Tue, 11 Aug 2020 05:01:09 -0400 From: Jan Nieuwenhuizen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#27149: perl for arm-linux-gnueabihf References: <87a7jxf0b9.fsf@elephly.net> <8736pnneck.fsf@gnu.org> Date: Tue, 11 Aug 2020 11:01:04 +0200 In-Reply-To: <8736pnneck.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 20 Jan 2019 23:39:23 +0100") Message-ID: <87pn7x4kvj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27149-done Cc: Ricardo Wurmus , guix-devel@gnu.org, =?utf-8?Q?G=C3=A9rald?= Lelong , 27149-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s writes: >>> *guix build --target=3Darm-linux-gnueabihf* *perl* fails with the follo= wing >>> output: https://pastebin.com/QF0xKAmR This has been fixed by #40698. Thanks, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com ------------=_1597136522-9780-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Apr 2018 21:07:35 +0000 Received: from localhost ([127.0.0.1]:33308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9GmD-0006cV-Hq for submit@debbugs.gnu.org; Thu, 19 Apr 2018 17:07:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9GeQ-0006QP-SA for submit@debbugs.gnu.org; Thu, 19 Apr 2018 16:59:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9GeK-0004Fl-0y for submit@debbugs.gnu.org; Thu, 19 Apr 2018 16:59:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, FROM_EXCESS_BASE64,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f9GeJ-0004Fh-TK for submit@debbugs.gnu.org; Thu, 19 Apr 2018 16:59:23 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=pWuRN5FgPZVsmQsMUC5sBho2TqOj4UI/F26Vj0DJJRM=; b=Idj9IIb2EQxucB76MSVgHFUNv65JRalPr2CzOLzuwDFvvAeI6UJO/Iqn6dp2O8pJIR xpthKs/1r9bpI2+DQQOgfALi9WfMPDaXm1cbo6nZH9wl63An6NXwQMPZIc8xmhOWbXLU Enukx6kpURUl39SAEJ3ROGWsuPxORb0rTrJg/4OA2ZM1XXrc9xNc/TAJmzihwy1b/ZNP WGc3Jv65KHszQn9wUlf2PYPE9U+dHG7SPYO5tvzcWdapv+2hiMdJL7McKDFybyqqR6jT hC1NSXDFVWXFnCKbCEO2m0TXEMRKKbjr4G9xVxzArZH0j4toUu9rUoMBTrjVbPmF9LET 9sNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pWuRN5FgPZVsmQsMUC5sBho2TqOj4UI/F26Vj0DJJRM=; b=np7jtuX6xKUhMfUV7fTjyOQnRRztdatoKayxvgvp+HAIjzigeRtfyTz9YeZemlOnsR 79MQ4pckdg/rBCoibgPiqqbAelc9hHz+f6WzAR1pLNUCUj3Lxao1O+fonO2B4cGiCEbc tNoJ7io4Lw+oWtjWMVeZ/oYlo2Y2YOgQ/szvu+doT5C9RKpFyIcee4yiM22CGmVB+0c5 zZjZ2n/WCNFDLpngwzd8HVsgIdwMRL2JUYRPraikRPzrfKiPavUhnxhiIK/obvirjCPs nubDBqPG8w2RUTOHGiMNxaPCmY5GYLCCicXxsBRcqoYhIqcm+Jh5CLDwdikKTZlulNB5 UBjQ== X-Gm-Message-State: ALQs6tDSUXZxihKXoxWghlInD+WlRJmYtCpn9RxgV7m76dva8VqLH1PP Csy68eo1rNPHz/XXiI6nQZCvCJbuaioTxGbTpvDpMA== X-Google-Smtp-Source: AIpwx4/VuUT4+s3WTtKQjy+ocIzaFLjGthkkRPWhze6/j8xcHcf925+Dvxed1O8gQKZvQIM2HTQHa6g9B8eNVdRBiho= X-Received: by 10.176.83.91 with SMTP id y27mr3019305uay.146.1524171559359; Thu, 19 Apr 2018 13:59:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.136.193 with HTTP; Thu, 19 Apr 2018 13:58:49 -0700 (PDT) From: =?UTF-8?B?UmFwaGHDq2wgTcOpbG90dGU=?= Date: Thu, 19 Apr 2018 22:58:49 +0200 Message-ID: Subject: Cross compiling perl with guix pack fails To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="94eb2c1926645f5b2b056a39d8eb" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 19 Apr 2018 17:07:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.9 (----) --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-- ------------=_1597136522-9780-3--