From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WAguJtkBXWRQKQEASxT56A (envelope-from ) for ; Thu, 11 May 2023 16:55:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EH83JdkBXWSxGAEAG6o9tA (envelope-from ) for ; Thu, 11 May 2023 16:55:21 +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 675261154F for ; Thu, 11 May 2023 16:55:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1px7hB-0000Lq-24; Thu, 11 May 2023 10:55:05 -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 1px7h8-0000Ld-NY for guix-patches@gnu.org; Thu, 11 May 2023 10:55:02 -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 1px7h8-0006aK-F8 for guix-patches@gnu.org; Thu, 11 May 2023 10:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1px7h8-0003Fx-BQ for guix-patches@gnu.org; Thu, 11 May 2023 10:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63416] [PATCH v2 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: Thu, 11 May 2023 14:55:02 +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.168381685612355 (code B ref 63416); Thu, 11 May 2023 14:55:02 +0000 Received: (at 63416) by debbugs.gnu.org; 11 May 2023 14:54:16 +0000 Received: from localhost ([127.0.0.1]:53122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px7gO-0003DC-9f for submit@debbugs.gnu.org; Thu, 11 May 2023 10:54:16 -0400 Received: from mira.cbaines.net ([212.71.252.8]:42520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px7gL-0003Cq-MS for 63416@debbugs.gnu.org; Thu, 11 May 2023 10:54:14 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:3a91:a0a4:ecee:f157]) by mira.cbaines.net (Postfix) with ESMTPSA id 9A95C27BBEE for <63416@debbugs.gnu.org>; Thu, 11 May 2023 15:54:11 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 66b6bfd5 for <63416@debbugs.gnu.org>; Thu, 11 May 2023 14:54:10 +0000 (UTC) From: Christopher Baines Date: Thu, 11 May 2023 15:54:09 +0100 Message-Id: <0c9c655159c65003e63d7ddc9f69a87608ae7ccd.1683816850.git.mail@cbaines.net> 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=1683816921; a=rsa-sha256; cv=none; b=YDmuwkTEbAUL4tVAQx9mD5wyBjkrKCZc/UJKmhvky8oqhQjoMZ6V1GeeK4ePTdmRcdxYFL TPZS3NZAEUxksoGQNfT/dSjYTTr/jRzpjfTF0jqpdJ9yYyxMROvQEI1yaJ17CXFdU8Z2mb gFHt8EUyvaBg6kzHOV/z2ipsfDpcrbUM8gcORaJ0ZrWcvjo+rftUWTGykvS2f2cmR5eoH/ GKZWY7xpIG6/BI6R5f3XL0krBEsCmBhI1bQx/cZDErQ9c0CBL9bWaQawO8eukd73KpTSbU A4fq0ZBtTNoMOKvtHYoIYzIb8KDJC06lqdNsmNlVQvLAWmIls1l+JhuQ7uoLOw== 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=1683816921; 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=2BQk/PrWU7U6ygwwl2zpJ61v2ph737GpDszCG1j2Eeg=; b=iuu7mpuh40BDU3vqyJ6DWU9IURhsmD32aSrHVi0LpbK8+MJbOSV9JzutRV8YRx7LfBSqOI Lmr1rYgdzTn0+W8ZWcEUvqf+xnvi7difZJd4rNN6HtDG5VbTF8vqnwi2i38ObXD+tuVlqb mwt8HRGO29aNPbvq5Tw0q14lifhxwcU/xq+PIl9Ts80BtYBjnafKVGxF9Pg45nmDGf1nxU t3nx+t7pEEC9D7E0xzHZJ15V9Y6dw2xMgbYbHj0SKJ3ISlynv8g8Dqxo6tys2b/m9zi5DA 8PSiMRZwzqnevsn4eIag8vV11saE+IKHeGtbxAj4zfK/WkHBZK0ZgMgDUBGPaA== 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: -0.18 X-Spam-Score: -0.18 X-Migadu-Queue-Id: 675261154F X-TUID: c9QW5ljj1K6U 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..1db37529f7 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: 4557c83a7d9df6edc9dd3b7b2a53e1a0ec3e6e34 -- 2.39.1