From patchwork Sun Nov 10 10:38:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 70188 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5340227BBEA; Sun, 10 Nov 2024 10:40:57 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0D25D27BBE2 for ; Sun, 10 Nov 2024 10:40:57 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tA5MW-0000yB-4Y; Sun, 10 Nov 2024 05:40:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tA5MT-0000vX-JN for guix-patches@gnu.org; Sun, 10 Nov 2024 05:40:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tA5MT-0008FK-97 for guix-patches@gnu.org; Sun, 10 Nov 2024 05:40:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=P/MMktGnhzYi8k7FGo8p1orL+OxYAsbOhgD6lzSd7YU=; b=o+qAqSNAhZEU16rV/dPtpNgKGvV3M1MXvL+qNMSJP/+clqp6mOdRfKZeCc2pmkv0YVcLJW55UIOyHhsd2VKgXgNygANGq4ZLLnQLD7G8mqWKfACTkcgneoAL4QJjKzgIEuxKTCzr3344TcCleNqZDLOS1kS+HgE+bDC46cxpYED0vchp/YCGxKS/Mh6V9Q61leHh5PV1Cf7xXdb9E/AN3KSsNgfwz0TrHldiVs48OZHR/UPhucDlCeIu/I3uhKPcB8UYys/5Iy8Z/4f6PsXlb7vDlIQ5PD3DW06Kusc0En3uGvUPsRxChL3XP/RbrOa0/cGaa1N6TC7qsiGuCCkDnQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tA5MT-0002il-4e for guix-patches@gnu.org; Sun, 10 Nov 2024 05:40:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH 18/31] gnu: perl: Support cross-building for the 64bit Hurd. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Nov 2024 10:40:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74290 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74290@debbugs.gnu.org Received: via spool by 74290-submit@debbugs.gnu.org id=B74290.173123516210200 (code B ref 74290); Sun, 10 Nov 2024 10:40:05 +0000 Received: (at 74290) by debbugs.gnu.org; 10 Nov 2024 10:39:22 +0000 Received: from localhost ([127.0.0.1]:55776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA5Ll-0002eL-Jr for submit@debbugs.gnu.org; Sun, 10 Nov 2024 05:39:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tA5LW-0002ZY-NP for 74290@debbugs.gnu.org; Sun, 10 Nov 2024 05:39:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tA5LR-0007rJ-8s; Sun, 10 Nov 2024 05:39:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=P/MMktGnhzYi8k7FGo8p1orL+OxYAsbOhgD6lzSd7YU=; b=A3DpGqd3uHWEo4Ds+TDN GfCclGd3lJevcs6Tw8ty4dK/JbfWEsXzAXUDBVfSbAXWs1LkGhC2jOKQPdkwZRsObg+DQ49gn4DOg fpM77stP/bPjVnhRDWtrjpkb9Hev8joOepmwgEAOsgtjMajisEXJx4lzm/grlpzucyOimtYkjdg8Q wD/VDue/19o9mnezgM8sULpAN21J0MMI+s/RD8rwJM1CrRFHja389Xb2yu+bl4WScwZPkPOsnAcIN Rx/TVodMo+aTtrxMu8uORqfz8Aql+oCx2FXBNwJ3xrJbT8yuZXC6tqErVpUuXwESR6G28QBOCfUrl Ve82KbOrjMfNlQ==; From: Janneke Nieuwenhuizen Date: Sun, 10 Nov 2024 11:38:14 +0100 Message-ID: <05a9e4531639c0b21f2cb936d9fd605539360315.1731232753.git.janneke@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cross-base.scm (perl)[native-inputs]: When cross-building for the 64bit Hurd, use perl-cross-1.6. Change-Id: I4a77f51a6757ad4aed9bcca8f9bbbf2cbd162e15 --- gnu/packages/perl.scm | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index faaac13bf1..2ea7c49419 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -248,14 +248,18 @@ (define-public perl (native-inputs (if (%current-target-system) `(("perl-cross" - ,(origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/arsv/perl-cross") - (commit "1.4"))) - (file-name (git-file-name "perl-cross" "1.4")) - (sha256 - (base32 "1ydjvlhrk06ccyj4bm8by7xk90krsll2k380mc3x1mhfrc7r9gzy"))))) + ,(let ((version (if (target-hurd64?) "1.6" "1.4")) + (hash + (if (target-hurd64?) + "0s06lkx5b79r9cn6pm5p6d4jbdjq7wg7rjr75nw5xdhw1z3wnl2d" + "1ydjvlhrk06ccyj4bm8by7xk90krsll2k380mc3x1mhfrc7r9gzy"))) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/arsv/perl-cross") + (commit version))) + (file-name (git-file-name "perl-cross" version)) + (sha256 (base32 hash)))))) '())) (native-search-paths (list (search-path-specification (variable "PERL5LIB")