From patchwork Tue Nov 12 16:25:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janneke Nieuwenhuizen X-Patchwork-Id: 70305 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 C7E4327BBEA; Tue, 12 Nov 2024 16:31:40 +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 7A8A427BBE2 for ; Tue, 12 Nov 2024 16:31:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAtma-00045U-Co; Tue, 12 Nov 2024 11:30:24 -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 1tAtmY-00043M-8J for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:22 -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 1tAtmX-0005yM-U2 for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:21 -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=jASOoYdyIeHbzrzcZNjDPWmRBAYZvQS+11ApmDDXphQ=; b=A5JAHscTasC7WP1TEAsgwqIh0hZyugRsC17/LJTkSqxBc5moGDZTghx72qfq9es1WwbDyqsn3tFKosq9bwLnfi+ENXqhErq2XopT1qFWgqvpDqOZvZEyQ90VoxvgjEH50u/6mruqBEUdgzdy3kNaZ1VwzsgK+mYQnmcTVdnvNhltd1VhY63hVHwc/JC1wFySMc4rRzhrsrTX1oRkWOK7c+4eh3gXA3iuC4w2Gdk79qvyH6HATfL3GcFaoh25KDdL4Rwl4VYEs3B9bgQxrvw67ugHYmYq5t9saMtKMA9nbrCckYpVlK9i1teJ+LsExYi+b76h4QXeq4lA5yDllBYjXw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAtmX-0000Yt-KU for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:21 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v2 27/40] gnu: git-minimal: Support 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:21 +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.17314290021508 (code B ref 74290); Tue, 12 Nov 2024 16:30:21 +0000 Received: (at 74290) by debbugs.gnu.org; 12 Nov 2024 16:30:02 +0000 Received: from localhost ([127.0.0.1]:39167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAtmD-0000Nj-19 for submit@debbugs.gnu.org; Tue, 12 Nov 2024 11:30:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAtln-0000JX-Ob for 74290@debbugs.gnu.org; Tue, 12 Nov 2024 11:29:36 -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 1tAtjc-0005P3-58; Tue, 12 Nov 2024 11:27:20 -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=jASOoYdyIeHbzrzcZNjDPWmRBAYZvQS+11ApmDDXphQ=; b=rhakRvsiyi9SNY/Z1+8g 4uGu5x74IJ54Kai11Lf8Yr7dN3if6THG8OYPC7rkOZOZltU7n+MmczYFGjBgbs02uDO9cLu8k/oZo aSe+WG7dHTg6EEaFPKONI0WvLN3Ux2J1ZQYgxoFRJPCEBe07c9EP0rDKUBRWYYmBdt7mREQPUSU6S DyKgocmCH3eeLL2e+bO/zXxyrW7GrLSm9z2jDhT5PmudcbG6Lq5aXdtZ/TkdTBrX6zTjnXZODPq/i l8fVy+68cE7tEZEKJOR8loylimaPZRIhjOtrCFUlKlhQmpVRsi3FshVoULj4XxZJZvyYS7mqGD+Nt Gce+8GdaO/VO2w==; From: Janneke Nieuwenhuizen Date: Tue, 12 Nov 2024 17:25:36 +0100 Message-ID: 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/version-control.scm (git-minimal)[arguments]: When using gcc >= 14, use "-Wno-implicit-function-declaration" in #:make-flags. Use target-hurd? instead of comparing with "i586-pc-gnu" in "use-host-uname_S" phase. Change-Id: Ib9836be8a1e389a82c8a89adf22aaeac0d85bd14 --- gnu/packages/version-control.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index c892a83a98..325b7ca8d8 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -113,6 +113,7 @@ (define-module (gnu packages version-control) #:use-module (gnu packages flex) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gawk) + #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) #:use-module (gnu packages gl) #:use-module (gnu packages glib) @@ -296,7 +297,10 @@ (define-public git-minimal ;; By default 'make install' creates hard links for ;; things in 'libexec/git-core', which leads to huge ;; nars; see . - "NO_INSTALL_HARDLINKS=indeed") + "NO_INSTALL_HARDLINKS=indeed" + #$@(if (version>=? (package-version (current-gcc)) "14") + #~("-Wno-implicit-function-declaration") + #~())) #:phases #~(modify-phases %standard-phases #$@(if (%current-target-system) @@ -305,7 +309,7 @@ (define-public git-minimal (lambda _ (substitute* "config.mak.uname" (("uname_S := .*" all) - (if (equal? #$(%current-target-system) "i586-pc-gnu") + (if #$(target-hurd?) "uname_S := GNU\n" all)))))) ;; We do not have a full bash when cross-compiling.