From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ANLzJfrZQGKBeQAAgWs5BA (envelope-from ) for ; Sun, 27 Mar 2022 23:41:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SB+nHvrZQGI7/gAAG6o9tA (envelope-from ) for ; Sun, 27 Mar 2022 23:41:14 +0200 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 192D71AE51 for ; Sun, 27 Mar 2022 23:41:14 +0200 (CEST) Received: from localhost ([::1]:35574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYadN-0006Ms-16 for larch@yhetil.org; Sun, 27 Mar 2022 17:41:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYadD-0006M6-6i for guix-patches@gnu.org; Sun, 27 Mar 2022 17:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYadC-0005OH-Uc for guix-patches@gnu.org; Sun, 27 Mar 2022 17:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYadC-0004VL-SM for guix-patches@gnu.org; Sun, 27 Mar 2022 17:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49672] [PATCH v2 2/6] gnu: libgc: Use default argument in =?UTF-8?Q?=E2=80=98target-hurd=3F=E2=80=99?= call Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Mar 2022 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49672 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49672@debbugs.gnu.org Cc: Maxime Devos , Thiago Jung Bauermann Received: via spool by 49672-submit@debbugs.gnu.org id=B49672.164841725517281 (code B ref 49672); Sun, 27 Mar 2022 21:41:02 +0000 Received: (at 49672) by debbugs.gnu.org; 27 Mar 2022 21:40:55 +0000 Received: from localhost ([127.0.0.1]:56681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYad5-0004Ue-14 for submit@debbugs.gnu.org; Sun, 27 Mar 2022 17:40:55 -0400 Received: from mx.kolabnow.com ([212.103.80.153]:17930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYad2-0004UE-MI for 49672@debbugs.gnu.org; Sun, 27 Mar 2022 17:40:53 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 16DA340D4E; Sun, 27 Mar 2022 23:40:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1648417246; x=1650231647; bh=eGxRZPeoGBPgaY9ZIulrFL0iq5PjMaJfLuq Z2pVLZ/Q=; b=kEu3dAwwTR/pRHCxk0rzN0AM2p/7V9aKkq2e0g/j/ZwsZ2HyfV1 9s0rI0Pp67HUJferE9MILaO4gZ9+V+Agit9citIouXnEXLacbBn43uqRoCLiXHLS +GAxBJZZBoJpsx5s42UFP0iOJSiYPRJxwQr0yxYSsA7IQbCPB0/2MKyqnDfpFjvA qKlnJAEApk4DGxkjxBH1CVhYgEVAj2QVa3Y5xIDlsO+F17mfUWsASyfQlPw0SMVa N4ZmFj6rBJqJwp2eqj/ddA95DXa9nqjZHQINbRlKY+6t4QFo1tCGWe0FTDayK2q0 4fVFZPHZL7Vki3N0TF2DUKk271+/lFfEoqaERUFVC3MqcAy8W0afNyh4Qmh9gusO +PUkB1xBxbxxYfFLxeGUFy0JUVfKfvJLt47n4t55Kuo7ejQxedxzP6OD5veBv5nW Hn4pFwNJV9OydStOhu3WW8weJXt77Fnw+pawW7+7JB2KrZu/UhHNR+uFXWB2QJIo DFLBCAKP60B0tY1twZusb2d6Z6JacwuzH8je5Azjo+XdUm3C9ValYTmcctlLPv5n usWUh41AkzagJtACNrDofPZU2zPjN8xIDcISRuWOWAggU8Faa1Rhjqrc9dzHgnz+ lSfRONtQ/HnsJC3YfWuG4mMFQ/1TLa+dKzmaO0MJc6xg9zfQGNrtX60I= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fyh5gmvpaIxT; Sun, 27 Mar 2022 23:40:46 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by mx.kolabnow.com (Postfix) with ESMTPS id ACED24084C; Sun, 27 Mar 2022 23:40:45 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx003.mykolab.com (Postfix) with ESMTPS id E9D14A86; Sun, 27 Mar 2022 23:40:44 +0200 (CEST) Date: Sun, 27 Mar 2022 18:40:22 -0300 Message-Id: <20220327214026.102723-3-bauermann@kolabnow.com> In-Reply-To: <20220327214026.102723-1-bauermann@kolabnow.com> References: <20220327214026.102723-1-bauermann@kolabnow.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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" Reply-to: Thiago Jung Bauermann X-ACL-Warn: , Thiago Jung Bauermann via Guix-patches From: Thiago Jung Bauermann via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648417274; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=eGxRZPeoGBPgaY9ZIulrFL0iq5PjMaJfLuqZ2pVLZ/Q=; b=j4QEDUbTvFPCex4D4t8QDQ7/3AWlE4e02IAz3K7A5qg8MzsXyZDE1eqOg1ehJrsUdXeQ0g fgoM15iws9jlOloPo4ic24aC9cyHRxidlgRjc8n3mbJ4qd/OshIKbpHsBUKGiWg8tx44Yg FHxWKIdUmXNOMo/eNJF6J8rXOX/U4yqI1QUVMP2orJQMBx9fpgoNTp0YTIcd4ZSxAvpZNz bO+e48rI40as6cHMMu/68ZKn7QLTrwwf9karZmwsVglLTnfqViFQfDqTiCFUBihJ+Y29bP MGJiVqdgYXhDOFUq8hFTpxcLgGpGpE+/je2e4cq4yI/GaQXXcwrcHhCxTYTdkQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648417274; a=rsa-sha256; cv=none; b=Xq6M7lczL7l87EeGUKgVretnA/l5kI10HBSYcQ4Byc8FYPTmOpO29XIecn1Cv37cLdImUt cOOev0WRKwHch4QuA+rt5wKAhEq2FQkrZ//gmv00CW0AG/SC0wxoakpMSB42m7PSQaYRMK Xyct9ragt5aVj8yOT+aN6JgUDTfHOBo7UPjwJUSS4//tWNBZpwL3QYFFUzcd4othZH+wFr h6tTu/gKA9qdHYyiC7wAlOzZL9pDud+6a61HDWC/oPMqdAIADtAQFHzvsgPCa3TXwGwjO0 ySAyqIEbtSDfnDgr1hPY+K4wqxYyQKs7xPNA3lf1x7tdvtFN7Z0KeCPx9igp2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=kEu3dAww; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -5.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=kEu3dAww; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 192D71AE51 X-Spam-Score: -5.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: b5eaqha2kOLk ‘%current-system’ is always defined, so the expression “(or (%current-system) (%current-target-system))” is equivalent to “(%current-system)”, which is unlikely to be the intent of the code. The default argument for ‘target-hurd?’ has the ‘or’ expression in the correct order, so just use that. * gnu/packages/bdw-gc.scm (libgc)[arguments]<#:configure-flags>: Omit argument in call to ‘target-hurd?’. --- gnu/packages/bdw-gc.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm index 2698d56da00b..13a6691db4b2 100644 --- a/gnu/packages/bdw-gc.scm +++ b/gnu/packages/bdw-gc.scm @@ -56,8 +56,7 @@ (define-public libgc ;; to configure script. See bug report and discussion: ;; ;; - ,@(if (target-hurd? (or (%current-system) - (%current-target-system))) + ,@(if (target-hurd?) '("--disable-gcj-support") '())))) (native-inputs (list pkg-config))