From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qMNDALU3PGdfXQAAe85BDQ:P1 (envelope-from ) for ; Tue, 19 Nov 2024 07:01:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qMNDALU3PGdfXQAAe85BDQ (envelope-from ) for ; Tue, 19 Nov 2024 08:01:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LZMke2Wn; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="i/9MKYWK"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731999668; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uzE792OzozLBDOeZLY9UG0h9+GGvGGGvinw9jeHBrz4=; b=NfwhkUt44yotxgLjxCj08Up5ZdLvttONw2oAkn3LM2Hvx9XaB/SbHeHFcXgVlFM0P1S7IF +q9GF0xp3VCa1VdJVXZ8oRcsY0amsD2zLYUQ5mlOrDP0muQqODJxo7VGA0zNcLdR6XP5we aCwy+IRI39ABh6S8J8ywFXSI1roRnbM9uay2XiJU4EEZZqufKicxBZtpLZVwZ1FcN0Ugno C9BhdIRUWM6aW38gKdNIuixXsdsoqMnIf6wFKTDOOxAyPOYc4FrzLLZJASfxD3BaF8GDZJ 2mb8DGrsSL6Inu4qilF6wXBu9SgHO4BsXLXB0sHTeexTaqKIdNLoWdLXhEGYFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LZMke2Wn; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="i/9MKYWK"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731999668; a=rsa-sha256; cv=none; b=EGQ3SGuAygmA6Q3x93Zi6zTVkBUoJ7UevWPLlmw3xefSsqHt+p0c/grbis9+vnDmKV61Qe tMqoK5Vt4x0fMMvKFiokfwIiQiA6lwnHJTitvA93Ao05hbVkjUA0dEYbanpVi5PTThGhnJ vUsjg3ydmFi5qwUVInAeiRsAAG/StvIeGFSZ37uDBdHJrfB/2HrUhHUkR8Xd0tY7mypv1A IFsSvKPAaLJPn7k5OP0WDm+PxbtalbKuwEcvDH80if4MpoUHCXPURUbQ9ilXWLbDncPbMG 58yyvUX+oacovhlSJLGvlndboka21K6fFhIm74/EB5Wq3+jfcxRm7fTWC/wdVw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 843ED43916 for ; Tue, 19 Nov 2024 08:01:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDICh-0008NC-Bf; Tue, 19 Nov 2024 01:59:15 -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 1tDICc-0008K0-Jj for guix-patches@gnu.org; Tue, 19 Nov 2024 01:59:10 -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 1tDICc-0004J7-6m; Tue, 19 Nov 2024 01:59:10 -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=uzE792OzozLBDOeZLY9UG0h9+GGvGGGvinw9jeHBrz4=; b=LZMke2WnA/1XU0X839SbRUwtI3Uc8xa3ITnA2ifjsnyDoo+vyBuSL3QVDOdEy9h81W+9Xbrsgy71OA1x3H0vC+ttoN7psBdn8G8Gk0sZfIBvBVOkWMRN+Bm4GnD0afsssuFdh2loTFidbcVFrVRz6hO5fTuS+1QXfwN/LvirCPPRL2+oru425V5IFrdQKZietY6fmBuzfYl3cLxF0lrY4O5eBkFgPUOY/LtFGQ0DhJCNNWImkSKlx64tGLSxKD+cHCwCIRpnphwANNPyUJi9glCpnf5XRyHAcMmzKIzB+sec+tioqJprNE0wIx+Vzaefa6JCEpozBIQ3Mc76uLMdOw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDICb-0005G7-RH; Tue, 19 Nov 2024 01:59:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v3 09/51] gnu: patch: Fix build for the 64bit Hurd. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 06:59:09 +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 Cc: Andreas Enge , Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Andreas Enge , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 74290-submit@debbugs.gnu.org id=B74290.173199950419736 (code B ref 74290); Tue, 19 Nov 2024 06:59:09 +0000 Received: (at 74290) by debbugs.gnu.org; 19 Nov 2024 06:58:24 +0000 Received: from localhost ([127.0.0.1]:40461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIBr-00057x-K6 for submit@debbugs.gnu.org; Tue, 19 Nov 2024 01:58:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIBh-00055e-8E for 74290@debbugs.gnu.org; Tue, 19 Nov 2024 01:58:13 -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 1tDI9W-0003xJ-JV; Tue, 19 Nov 2024 01:55:58 -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=uzE792OzozLBDOeZLY9UG0h9+GGvGGGvinw9jeHBrz4=; b=i/9MKYWK6hnjOnXhoCMy JqkqJD3t4/Sz1zyp5R0qr84/5i6NMOgMQhOiMtbtcSHXTgNjyDMR74k4y0kmP84ZLv8unoM1gIeQt ndGTeuWT2k9PHKTqUMc++oqeC3UVDPEXUez+QqT6ffftpDZI9jG7CxfwcFIkceHkI/ziUKzHgEivJ VAQCBZU4Hp5Oc8KnmtoVvHHwGbLafie8fN6CR6s77uW4D0vLqEuMkMtMByNWz1PiJ/sCKCEfX4o7M cekHKCaGpS3ShGuQUL/enDoJywZU87+MBvV2SJXR13Gk5/h1IjISvvqMvfClP+/CjwU1flI2b/ckw 4qhHCY5qgP565Q==; From: Janneke Nieuwenhuizen Date: Tue, 19 Nov 2024 07:54:39 +0100 Message-ID: <3b43e18a9c575b1db3204b9182e74e68ecfab619.1731999203.git.janneke@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.22 X-Spam-Score: -3.22 X-Migadu-Queue-Id: 843ED43916 X-TUID: OTOX3q55lX5f * gnu/packages/base.scm (patch)[arguments]: When building for the 64bit Hurd, set #:configure-flags. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602 --- gnu/packages/base.scm | 49 ++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 010be631d7..83f8c0d9e9 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -339,27 +339,34 @@ (define-public patch "1bk38169c0xh01b0q0zmnrjqz8k9byz3arp4q7q66sn6xwf94nvz")) (patches (search-patches "patch-hurd-path-max.patch")))) (arguments - (substitute-keyword-arguments (package-arguments base) - ((#:phases phases '%standard-phases) - #~(modify-phases #$phases - (add-after 'unpack 'copy-gnulib-sources - (lambda _ - ;; XXX: We copy the source instead of using 'gnulib' as a - ;; native input to avoid introducing a dependency cycle. - (copy-recursively #+gnulib "gnulib") - (setenv "GNULIB_SRCDIR" - (string-append (getcwd) "/gnulib/src/gnulib")))) - (add-after 'copy-gnulib-sources 'update-bootstrap-script - (lambda _ - (copy-file "gnulib/src/gnulib/build-aux/bootstrap" - "bootstrap"))) - (add-after 'unpack 'patch-configure.ac - (lambda _ - (substitute* "configure.ac" - ;; The gnulib-provided git-version-gen script has a plain - ;; shebang of #!/bin/sh; avoid using it. - (("build-aux/git-version-gen" all) - (string-append "sh " all))))))))) + (let ((arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases '%standard-phases) + #~(modify-phases #$phases + (add-after 'unpack 'copy-gnulib-sources + (lambda _ + ;; XXX: We copy the source instead of using 'gnulib' as a + ;; native input to avoid introducing a dependency cycle. + (copy-recursively #+gnulib "gnulib") + (setenv "GNULIB_SRCDIR" + (string-append (getcwd) "/gnulib/src/gnulib")))) + (add-after 'copy-gnulib-sources 'update-bootstrap-script + (lambda _ + (copy-file "gnulib/src/gnulib/build-aux/bootstrap" + "bootstrap"))) + (add-after 'unpack 'patch-configure.ac + (lambda _ + (substitute* "configure.ac" + ;; The gnulib-provided git-version-gen script has a plain + ;; shebang of #!/bin/sh; avoid using it. + (("build-aux/git-version-gen" all) + (string-append "sh " all)))))))))) + (if (target-hurd64?) + (substitute-keyword-arguments arguments + ((#:configure-flags flags '()) + #~(list "--disable-threads" + "gl_cv_func_working_mktime=yes"))) + arguments))) (native-inputs (list autoconf automake bison ed)) (properties '())))) -- 2.46.0