From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OFXnMB+OW2RN8AAASxT56A (envelope-from ) for ; Wed, 10 May 2023 14:29:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aDqCMB+OW2TmdgEAauVa8A (envelope-from ) for ; Wed, 10 May 2023 14:29:19 +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 A44423858F for ; Wed, 10 May 2023 14:29:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwiwN-00077J-11; Wed, 10 May 2023 08:29:07 -0400 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 1pwiwJ-000755-62 for guix-patches@gnu.org; Wed, 10 May 2023 08:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwiwH-0000sH-SW for guix-patches@gnu.org; Wed, 10 May 2023 08:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwiwH-0003jn-JI for guix-patches@gnu.org; Wed, 10 May 2023 08:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63416] [PATCH 1/2] gnu: gcc: Change custom-gcc to use gexp's. References: <87o7ms1if5.fsf@cbaines.net> In-Reply-To: <87o7ms1if5.fsf@cbaines.net> Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 May 2023 12:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63416 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63416@debbugs.gnu.org Received: via spool by 63416-submit@debbugs.gnu.org id=B63416.168372173914351 (code B ref 63416); Wed, 10 May 2023 12:29:01 +0000 Received: (at 63416) by debbugs.gnu.org; 10 May 2023 12:28:59 +0000 Received: from localhost ([127.0.0.1]:45468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwiwE-0003jO-Sg for submit@debbugs.gnu.org; Wed, 10 May 2023 08:28:59 -0400 Received: from mira.cbaines.net ([212.71.252.8]:42512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwiwD-0003jC-ON for 63416@debbugs.gnu.org; Wed, 10 May 2023 08:28:58 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id 20A3427BBEC for <63416@debbugs.gnu.org>; Wed, 10 May 2023 13:28:57 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 24f25d56 for <63416@debbugs.gnu.org>; Wed, 10 May 2023 12:28:56 +0000 (UTC) From: Christopher Baines Date: Wed, 10 May 2023 13:28:55 +0100 Message-Id: X-Mailer: git-send-email 2.39.1 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683721759; a=rsa-sha256; cv=none; b=EQ8sohofz4v40rW9juDeHGkxfxWe6iTckLwgDXnNlspdHfmj/Wa7FRNx9+xnAv3Bn0uvrf 75FJrN58zpESqcRaWUCCx+nNy1ApDxdjUWqLAsTcy2p3Rocq3BAkkE+u7J4DQJx4iCDRvE Q+CXtGKCrq1hwGgYHZLG1U2RqderA+QyWiaKK/UJj0Gk81J7yCJ2O3b8tl7mky2Gdp0B6W NonOdmxXAWD4+kTRQIDiREiJGI/QqtXjLKyGfa0E4LtF4WP8dUDKLdvP94rGw5eY8msp3l 3SxGuZ19CT3wNMfdurtlDplhtUisKeWf+60WRChJwG8q5umf0+5QLXVHtTQnOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683721759; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=hILO7+dIhzosFTvDcC3/XkjXT4YZtmPXB/6PVhdmpAY=; b=dshG8MoIQ6H8PW5GMrJuKZzxmgHJwCjBTznNxvRjLG9CcjXOAv1JXuw2T6owfS0gSBtL/n 2Ej2y+I+A5hsbWfSK38pvLJphGNuSDJWcw3moHwyWaACkoBWsCKCDgUHYanTad9v23EoFN ewkq/jV6/+0ZIC1YfiRNhHDpIbVMnMX63rD803Tnd31tFG4wYeudY/cZlb7EJ0NjtjROoh f57v6dhwO+sYIH+GlbPUg2kwbXTcQZG0NwSQfYAr1yAbV0LGRqclzLZJtG6Pj6giuVUR/3 F1gyZvdxQMi+poMQwTx7QJx0bMNUchwJTmItK/80igqDcfeR1H9fMNGUNvdDjA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: -1.68 X-Spam-Score: -1.68 X-Migadu-Queue-Id: A44423858F X-TUID: F5c/aCC0+i57 As this seems to be generating broken derivations for i586-gnu otherwise. * gnu/packages/gcc.scm (custom-gcc): Use gexp's for the generated package arguments. --- gnu/packages/gcc.scm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 47fb443155..2bd4cad6ec 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -1043,18 +1043,18 @@ (define* (custom-gcc gcc name languages (srfi srfi-26) (ice-9 regex))) ((#:configure-flags flags) - `(cons (string-append "--enable-languages=" - ,(string-join languages ",")) - (remove (cut string-match "--enable-languages.*" <>) - ,flags))) + #~(cons (string-append "--enable-languages=" + ,(string-join languages ",")) + (remove (cut string-match "--enable-languages.*" <>) + #$flags))) ((#:phases phases) - `(modify-phases ,phases - (add-after 'install 'remove-broken-or-conflicting-files - (lambda* (#:key outputs #:allow-other-keys) - (for-each - delete-file - (find-files (string-append (assoc-ref outputs "out") "/bin") - ".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|lto)(-.*)?$")))))))))) + #~(modify-phases #$phases + (add-after 'install 'remove-broken-or-conflicting-files + (lambda* (#:key outputs #:allow-other-keys) + (for-each + delete-file + (find-files (string-append (assoc-ref outputs "out") "/bin") + ".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|lto)(-.*)?$")))))))))) (define %generic-search-paths ;; This is the language-neutral search path for GCC. Entries in $CPATH are base-commit: e0c35d1578c10a8fe27c8372f3a8bb5dd88b01b8 -- 2.39.1