From patchwork Tue Nov 12 16:25:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 70287 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 0562C27BBEA; Tue, 12 Nov 2024 16:30:23 +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,URIBL_BLOCKED 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 A5CC027BBE9 for ; Tue, 12 Nov 2024 16:30:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAtmW-00040l-Dz; Tue, 12 Nov 2024 11:30:20 -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 1tAtmS-0003wz-W6 for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:17 -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 1tAtmS-0005wM-N0 for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:16 -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=LDEAQhUV0qtlnHPdUdZ6Lfu18IdEGYdc80SwD/j+7gXATM+8Rc1avTIQS0jewL5VDgcSUeF0BE9BApEQ1drO0tVnqAYdcFdv9IS974i8ie56qZzBn7+nyl2Mw9arh7TQ9gtglrdyrikbviSv/O68hJn6Cn/PnoTOroVMY13ejSHliOGb/RzKgrsM9NWNNWx7Q80XOfy82X+kRyXU3GrcMPejnrZyC/9+Kk9csqIyXH/7tNlKBp42CkXosFhNT9Gh/PE9AhEuhinUJOPA6AxkeP5tGcoeljJJJOb+VLIZo8x+rfwEhpBPOLnMTtl+9ZuvRMUl+l8DVrQOJ9qVgAPhEQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAtmS-0000XZ-HM for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v2 18/40] 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: Tue, 12 Nov 2024 16:30:16 +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.17314289761293 (code B ref 74290); Tue, 12 Nov 2024 16:30:16 +0000 Received: (at 74290) by debbugs.gnu.org; 12 Nov 2024 16:29:36 +0000 Received: from localhost ([127.0.0.1]:39119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAtln-0000Kh-9r for submit@debbugs.gnu.org; Tue, 12 Nov 2024 11:29:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAtlb-0000HU-Fc for 74290@debbugs.gnu.org; Tue, 12 Nov 2024 11:29:23 -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 1tAtjQ-0005Ms-RN; Tue, 12 Nov 2024 11:27:08 -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=CzRfaV3qynJjlgdbGQ2A 3xGJqfv33nKmWGc3lZIQBl0c768mQGxGvZKLmm7dhqUwJ1m2bcSVCuqDs0NVCv8dKeXQ5yQ6qU2J+ dWaecVOxiiAu1HjB0efn71RTWfQCwlM73Cph+Yqbz9x6Cq3dhD/VF5euT17v6vs+1Wqe7rSesZNPt kn2K90ZVYYkHGTp7ahZX6Db4TeMvMwy/bzhAHjPlwdsCK+V5PjHL65KKbxUsdiyXxshWZuMkJBkpB Jg1HrCl9WAvtj3y+8CbMCknJJiQisC++/r+pObkE4fYKD+cAe99pm0/W+gy2PYtWYZJbJEs7n20N9 OcPnqN43ML17gw==; From: Janneke Nieuwenhuizen Date: Tue, 12 Nov 2024 17:25:27 +0100 Message-ID: <781fce468514304963ebfe976cf2ede2417a905b.1731427612.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")