From unknown Tue Sep 09 21:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62917: =?UTF-8?Q?=E2=80=98guix?= shell =?UTF-8?Q?-CH=E2=80=99?= should be able to contain both GCC and Clang Resent-From: zamfofex Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 18 Apr 2023 00:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62917 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62917@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.168177686817982 (code B ref -1); Tue, 18 Apr 2023 00:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Apr 2023 00:14:28 +0000 Received: from localhost ([127.0.0.1]:57193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poYzM-0004fy-3o for submit@debbugs.gnu.org; Mon, 17 Apr 2023 20:14:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:41828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poYzK-0004fr-UK for submit@debbugs.gnu.org; Mon, 17 Apr 2023 20:14:27 -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 1poYzK-0002xR-Iz for bug-guix@gnu.org; Mon, 17 Apr 2023 20:14:26 -0400 Received: from mta-15-3.privateemail.com ([198.54.122.111]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poYzJ-0002PK-0C for bug-guix@gnu.org; Mon, 17 Apr 2023 20:14:26 -0400 Received: from mta-15.privateemail.com (localhost [127.0.0.1]) by mta-15.privateemail.com (Postfix) with ESMTP id ADCB218000A4 for ; Mon, 17 Apr 2023 20:14:15 -0400 (EDT) Received: from APP-11 (unknown [10.50.14.211]) by mta-15.privateemail.com (Postfix) with ESMTPA id 8BC3A18000A3 for ; Mon, 17 Apr 2023 20:14:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default; t=1681776855; bh=j8iEjvdeGwMZYNMM5O5C6jbXMk0jgiWxbtMdWKsZUGc=; h=Date:From:To:Subject:From; b=UteiiUhPEqbr56rUOMXxLnvYh1NEJGz1KwVdvYWX2PN0jfVGv8f0YjfS571dklFbI psFsnFTqTQ0UDQmpOW1qCcVDtXcJOMhevSlTaKv6Mtzl8gI5IGr0Uo7kTV6IeDhq6Z zalS3NmTht5oI/MwIYI/4PQgeCVP8waOe3ptsffHOg15vWWsrkw2chpnkHOogNpawR aMFyFeGPCGo9zYSvJtdpm5yFmB0jI4DOtunJVBjG/r933lePT9bLRtz5BaD2KCsPVm /B3jlrQQL34P/TKRMMVIUsm0n0zhNLuxwbDcWf9r42mQp7IPpvMMpzAyqD5lyFXlR7 JHcodpOe3WN9g== Date: Mon, 17 Apr 2023 21:14:15 -0300 (BRT) From: zamfofex Message-ID: <2085439243.1521663.1681776855547@privateemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.6-Rev40 X-Originating-Client: open-xchange-appsuite X-Virus-Scanned: ClamAV using ClamSMTP Received-SPF: pass client-ip=198.54.122.111; envelope-from=zamfofex@twdb.moe; helo=MTA-15-3.privateemail.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) When I add =E2=80=98gcc-toolchain=E2=80=99, it seems to try to create a =E2= =80=98/bin/cc=E2=80=99 symlink to GCC, but the Clang package also has a =E2= =80=98cc=E2=80=99 executable, so it fails. - - - - - - - - - % guix shell -CF clang-toolchain gcc-toolchain guix shell: error: symlink: File exists: "/bin/cc" - - - - - - - - - From unknown Tue Sep 09 21:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62917: [bug report subject correction] References: <2085439243.1521663.1681776855547@privateemail.com> In-Reply-To: <2085439243.1521663.1681776855547@privateemail.com> Resent-From: zamfofex Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 18 Apr 2023 00:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62917 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "62917@debbugs.gnu.org" <62917@debbugs.gnu.org> Received: via spool by 62917-submit@debbugs.gnu.org id=B62917.168177742718941 (code B ref 62917); Tue, 18 Apr 2023 00:24:02 +0000 Received: (at 62917) by debbugs.gnu.org; 18 Apr 2023 00:23:47 +0000 Received: from localhost ([127.0.0.1]:57210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poZ8N-0004vR-D0 for submit@debbugs.gnu.org; Mon, 17 Apr 2023 20:23:47 -0400 Received: from mta-05-3.privateemail.com ([198.54.118.212]:12821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poZ8L-0004v9-5o for 62917@debbugs.gnu.org; Mon, 17 Apr 2023 20:23:45 -0400 Received: from mta-05.privateemail.com (localhost [127.0.0.1]) by mta-05.privateemail.com (Postfix) with ESMTP id E670418000A8 for <62917@debbugs.gnu.org>; Mon, 17 Apr 2023 20:23:38 -0400 (EDT) Received: from APP-11 (unknown [10.50.14.211]) by mta-05.privateemail.com (Postfix) with ESMTPA id C16B118000A6 for <62917@debbugs.gnu.org>; Mon, 17 Apr 2023 20:23:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default; t=1681777418; bh=rebF4TNn4KLVwcsdXZ8pKBMHA9P5Jugf0ViFktdCScw=; h=Date:From:To:Subject:From; b=ngbQ1n6wBWK3yIvTeVBz7omZNpIASbtGR11Q5M5Wev8IdHWS7PXgf3Gcpdj1wHlR9 YPPGv6Li6h2rvTv1SFnxvU9l8nOe4A86iA+rOZGLyG7SYUAk3B283OpOWS57PseWwA zzEpFaP+cAy748G6HMm/8Q6+I/hlSQmbUwz80105i3cvRd8hibfSoHn9iuSF5+ZeCd qg5eUW9KTQS3DPBJCCFZTvc/z7gJAWs+sECcq7ypnkO6JZRsPApviuWjqfOzlPzOc3 c+d+3AE0ma8v6PsU/0C71uBMxyb+pcgKlth6bSF13ru2RShaWSkMPb/N3+bpJacdGF wldW7xUXdispg== Date: Mon, 17 Apr 2023 21:23:38 -0300 (BRT) From: zamfofex Message-ID: <655414147.1522018.1681777418758@privateemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.6-Rev40 X-Originating-Client: open-xchange-appsuite X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Apologies for the noise, but the subject of the email I sent is wrong. It s= hould have been =E2=80=98guix shell -CF=E2=80=99 rather than =E2=80=98guix = shell -CH=E2=80=99. From unknown Tue Sep 09 21:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62917: [bug#73799] [PATCH] Fix 'guix shell: error: symlink: File exists: "/bin/cc"' References: <2085439243.1521663.1681776855547@privateemail.com> In-Reply-To: <2085439243.1521663.1681776855547@privateemail.com> Resent-From: Marco Fortina Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 22 Oct 2024 11:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62917 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "guix-patches@gnu.org" , "guix-devel@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.172959602620067 (code B ref -1); Tue, 22 Oct 2024 11:21:03 +0000 Received: (at submit) by debbugs.gnu.org; 22 Oct 2024 11:20:26 +0000 Received: from localhost ([127.0.0.1]:54817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3Cw6-0005DV-Ao for submit@debbugs.gnu.org; Tue, 22 Oct 2024 07:20:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:36744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3CSm-0003r4-KU for submit@debbugs.gnu.org; Tue, 22 Oct 2024 06:50:10 -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 1t3CSG-0006Fa-VA; Tue, 22 Oct 2024 06:49:37 -0400 Received: from mail-vi1eur03olkn2098.outbound.protection.outlook.com ([40.92.57.98] helo=EUR03-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3CSF-0000kW-6A; Tue, 22 Oct 2024 06:49:36 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XLzKAT8oP0Xw8N/+08rpuu0hDfpWo65XWaCirCfa1+VyeLnOqE9GkQ6IswrjSZrwcRlaqpo1UHojl/as1jFLhPfuNj0ff/05UFrYBkbVBMEGIR3IU9nvXTWNXEFTjRV8hMV+NLliX/vEkIeMJVHC4DhK5E57ShagjteuRAwE56Nw2YRPq/gXdT9m0xcSTSlRVN69CerlvHwlcejD5tMrwWLZ6VtyoxjSV25XYV/ZbolN4oKdiHXGHWpbNAM1tO6zJr/Ajsw9VXi7zJKcKwUkau3602KfhrfLrPQxCMzoB/sv5GqCl8uLi1nGpvLDr2C9GTOxI/sDFZyTrXewO7ZfxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kCMDClm7G+kTuK8wO8VXNK2fny3tBDM94nB6yT0nxEY=; b=fB4LbZO4yvOOrUS3NvsrNLbkTBs8MBme8xsiqK5vZN1mrAQiJXbzKtdIMjLMXGs0J/bM0WBzwG07qWe4LWwCWkNia0Lf+dT8hd1tmkC+d9/TlTY1FFZA2qFvgSpeTVHU2evmqSGpqSsQcs6ZI1263jEPVhY/H2e2m2qWt8T/pcKvHJ/iiQ4+tQJPcGyEzbrZwEJdUz8T48kdcMe68cL5S3rhtdoDweUjYWY6NWUl95ztJYdK4TCKrL+7PMCpy0CMkHZ1nUyhd6143BxtF5Bkp6n36unmRoKmlS2Y6Uke0ShyWX85Q+EDzu8wTdOoQgspNHd7dM3d3MaKJ/6du31ySA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=HOTMAIL.IT; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kCMDClm7G+kTuK8wO8VXNK2fny3tBDM94nB6yT0nxEY=; b=n5hvNRP8VVy4nlyBvA3QaHd1WKbHdvg0n7wW0oRm9j8wc9mIkbIHZqMtWPsh5mtGgwgfKSKvTLcw+nfTmwHPF+dyg0dtk3+BAyZXFQwd0vWEBFgOrETt7jl7wUUCLXNyuoCosXWOJuvlJqaHYj9zxfA4fVdnR/TS8VgALIgyDH2C0IF4jL4vuAHbAEnQR36AvOUw+JQ1DxkxQwC0h5VkKTw1wE8hiK9JegGf2seJ7XTKV7T3aViCBg+nv8aRSj0bBwtVEZfpeeN04BVmGRpPaTXP0R6j6Tb6bWORZ5wJbUsbz7t9gk992OYnKP0tjtH+rlrFb8PKGB7A3Z9tUIj8jQ== Received: from AS8PR10MB5829.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:525::9) by PA1PR10MB8643.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:443::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.16; Tue, 22 Oct 2024 10:49:32 +0000 Received: from AS8PR10MB5829.EURPRD10.PROD.OUTLOOK.COM ([fe80::a705:2fe4:69df:1e30]) by AS8PR10MB5829.EURPRD10.PROD.OUTLOOK.COM ([fe80::a705:2fe4:69df:1e30%6]) with mapi id 15.20.8093.014; Tue, 22 Oct 2024 10:49:32 +0000 From: Marco Fortina Thread-Topic: [bug#62917] [bug#73799] [PATCH] Fix 'guix shell: error: symlink: File exists: "/bin/cc"' Thread-Index: AQHbJG5L59/e8aquQ0yJgARHXFYTIA== Date: Tue, 22 Oct 2024 10:49:32 +0000 Message-ID: Accept-Language: it-IT, en-US Content-Language: it-IT X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS8PR10MB5829:EE_|PA1PR10MB8643:EE_ x-ms-office365-filtering-correlation-id: 34ef2ba2-07a0-4e70-dbdf-08dcf2873606 x-microsoft-antispam: BCL:0; ARA:14566002|15080799006|7092599003|8060799006|15030799003|8062599003|19110799003|461199028|102099032|440099028|3412199025; x-microsoft-antispam-message-info: SVIdyITlzTLEsIcUWDuYm+hwRoWvUNbuzfmZWtoxOY5nX5aAiDlopbAsbc160j+8PUf8xnUU+ewSA24LHcNYPMGdGevu8uec4VjVfUz3p2DveZvWQo5iLOQR5tGEkL8gI8fU70cacEu3tsX4WpexsWkF8me16UGjhk4+DyJFVoYyeL1UMbm2ylP6hnlOCq8iqF9bsEYteAFZjOahO8EqK5NMlQONxvoosvWmzfZZlJXH+SCkMlRn4DfJbxzSE1blkYK+gQ13eb4znModPQTRAR16aZ0RHAG++BKFCkqRWVBhrk/T0C44kkzNQIaTdHDTAH/C+2uMrQR2EiUN1CWZLjkPfMp/3No+sKDae0ON4ljTi/OBiva0ztFPlEq2yUxzzWWYWl8QfJW1levbF9qNi2p9MiagEGwzMI3llkDdKx6y6KKu6XQy86xh03wJmeLFuniKPzsgqv5+0NVZttdtazHIKJU0hBEQ4l1NIjZqQjyVGxN/tKouqPFelXBB/XlekeK+NR+aR3mL7Vc/tuheHzV5SewZAL2r+xqBotlMW69WvOxW407kw8HqO2/1zrIAuVdifb+8t2c/K/FtBwUzympgC7l5EVrthB2S62iQKf4PIJZ5YTRiBh0gLj1G48Cfse+Th3u2kUYUiA8sOXhExrynUQJcC0XL0IpRv2ZvCG6gA2v/NxhqaYvJfvNQVYIfQxmUbSnFInZoRbdCDBtn0NoVSHxnQtKG/i6F3VaJu+WcuW5JZtx4fGKZQWft2UVyWArRbAtVz2TALuveN7t5LQ== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: a8Ge9xgXk4aQZObAne5Pq7El/8f0Chfe3+Dj+wWTc8AzblOaBY4oehcyc1I7D7FmqwKetc4vbg6W2Ltg2H5DMb5jYRzA2o30EpkvG1vPJp9OAqAWWgdTiFuCFHXDhUOrIIsFEWVbW4UNisBgeiZTBb4L0MEh3vSDMajQdVLtO3tl9tmCcC0VcwZR84LBsPvOAmRjWfT9eDO+fZh2zSUQyQN5+zpxn+IpUDa1m82pNn7JPNdGSoloPB+iiy4GSMt5VSpPJxbsQa7bTUvIF0S4UJccdQJAHxzs4IYPkkt0RnMLqMs0GgT9nfygGcgDDZKOJu0J8zylzb5/SJBMfvITjdIEfruHzTs0coym3kCUC6X2/pzVK6x0OsDt9GvNx4TdWeHAq2LAHMSNrf0EGWPLNH58eV1ftQMk+lD8nlbKZQdPrguVWxxjJ//yowkL/0zssXSH4u5d/3jn/zsbwsmLjVe87j6Scld1HiH7sWy007bwjmgvDHpGt53QWed4rUuv/YSLZ+DMswkkmOQvoJfhlA7awOVlV6R0sPBHhNs3hRudddGcUWa6tReo0LhQzORaAyKxGxxNvuf0wqxaUedJb7hEN+yWejdO97BXpEkVzdvIazfc8pozYBTX+31Z1URA+kHjQGa124V4rdNsG7DtJl3Vxftb7xzLElp3Csnh8ZA/e9RPz42psuCd2/6G0PnecVantn3Kb8lyQcELzjuQZFeHVNq1HaLJDllHp/qXrvgmMTz/d1OfKjKS8qMvMXa+Na3IqWDp5XGeSJkphNs+ZaAypEpQyWJHwh51JwgQJHuPz6UhqfszLNJ5DojqxO4o2j/Q7vixA6D91ZltlAtZJbUj++HK+5+s4KCPVKz41gdG9Z1MY0HWtPLAQXzb9rl1ubZM1Rx6mBr3uz2zNxGIiIJlLUPKTMevTbi+iC/x0SJvcT23bgfvYJBsLh/Y4fpnkIM34M2r5PFHMufjclZD4I/j264DxKGsh1x/DG6dV5jaCH3HWarN2Hj2lMCFJQ1lEDNx0B1lj8OWHsAMAC23ZwkhaiRyGSJGpsxoH6S9dWazaROtrX0fvSTa9y2MDbMavrzxvhb1ZOdHkEmlrf7yh74ajM6Gw7NJyXJ+FtxC6KKPNTehbYzo+/ZzW8m/aiQoB8272nzRv4e2H4phRUNgVyRgjAFKn9cctq2WdJxLwfyUzgJno7A3TSrPhrMmny5u7jSH2L2sQA09IHjBattfHEwgvvWWuqZXmEpdCFYRsPA= Content-Type: multipart/alternative; boundary="_000_AS8PR10MB58291EBFC600E5EDCCB20C39F74C2AS8PR10MB5829EURP_" MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-4359a.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS8PR10MB5829.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 34ef2ba2-07a0-4e70-dbdf-08dcf2873606 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2024 10:49:32.0587 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR10MB8643 Received-SPF: pass client-ip=40.92.57.98; envelope-from=marco_fortina@hotmail.it; helo=EUR03-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -37 X-Spam_score: -3.8 X-Spam_bar: --- X-Spam_report: (-3.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-1.699, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Tue, 22 Oct 2024 07:20:23 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --_000_AS8PR10MB58291EBFC600E5EDCCB20C39F74C2AS8PR10MB5829EURP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This patch closes issue when running "guix shell --container --emulate-fhs = clang-toolchain gcc-toolchain" or "guix shell --container --emulate-fhs cla= ng-toolchain gcc-toolchain": diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm index a219b2ac89..37f11395f9 100644 --- a/guix/scripts/environment.scm +++ b/guix/scripts/environment.scm @@ -464,7 +464,8 @@ (define (setup-fhs profile) ;; /bin since that already has the sh symlink and the other (optional) F= HS ;; bin directories will link to /bin. (let ((gcc-path (string-append profile "/bin/gcc"))) - (if (file-exists? gcc-path) + (if (and (file-exists? gcc-path) + (not (file-exists? "/bin/cc"))) (symlink gcc-path "/bin/cc"))) ;; Guix's ldconfig doesn't search in FHS default locations, so provide a Cheers, Marco --_000_AS8PR10MB58291EBFC600E5EDCCB20C39F74C2AS8PR10MB5829EURP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
This patch closes issue when running "guix shell --container --emulate= -fhs clang-toolchain gcc-toolchain" or "guix shell --container --= emulate-fhs clang-toolchain gcc-toolchain":


diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index a219b2ac89..37f11395f9 100644
--- a/guix/scripts/environment.scm
+++ b/guix/scripts/environment.scm
@@ -464,7 +464,8 @@ (define (setup-fhs profile)
   ;; /bin since that already has the sh symlink and the other (o= ptional) FHS
   ;; bin directories will link to /bin.
   (let ((gcc-path (string-append profile "/bin/gcc")))=
-    (if (file-exists? gcc-path)
+    (if (and (file-exists? gcc-path)
+             (not (file-exists? "/bin/c= c")))
         (symlink gcc-path "/bin/cc")))<= /div>
 
   ;; Guix's ldconfig doesn't search in FHS default locations, so= provide a


Cheers,
Marco
--_000_AS8PR10MB58291EBFC600E5EDCCB20C39F74C2AS8PR10MB5829EURP_-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 11:50:37 2024 Received: (at control) by debbugs.gnu.org; 10 Dec 2024 16:50:37 +0000 Received: from localhost ([127.0.0.1]:59340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL3RU-0005s8-Ue for submit@debbugs.gnu.org; Tue, 10 Dec 2024 11:50:37 -0500 Received: from mail-wm1-f42.google.com ([209.85.128.42]:56667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL3RT-0005s0-Kf for control@debbugs.gnu.org; Tue, 10 Dec 2024 11:50:35 -0500 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-434fe0a8cceso17694035e9.1 for ; Tue, 10 Dec 2024 08:50:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733849375; x=1734454175; darn=debbugs.gnu.org; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=0wAZOlE7jLWrh4hhHAQb1QA8i6u9HaUZCXg3SpBZZqs=; b=dbtV02z6eNnF5e5XV1VbVLTNLtlURqxxiiK8tcfqQpTzN1R2RM25flrvesvvONmxBT BNbyUtaWuCT2HF/F7aUvF2iS8+nAqS7z2vZnSejgzlgWl+SUzsHeoNhQVZpBTF4iTpJb thkb03Jimm8UcmaVWVDlPmS1DB2Lnzb5jDQX0dMjIcLmp4ySEolLLOjG3SpM2KltQ8Ow YGriXaejB2sZeJOCiAO6G/ccgPvn21pigXl/5Zqiw/MTWuwZ5hPHl9FE+4wjc+GcI1Mu JOcOpaDp5+MKfOIjqUuC/YzgKfLd/KIS7P5TiCPezVhBley3JzvYnHUgmsLTNhdIUqN4 F1rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733849375; x=1734454175; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0wAZOlE7jLWrh4hhHAQb1QA8i6u9HaUZCXg3SpBZZqs=; b=nXJjy74awCcwbXKqftMBgdqZJ9f9akTwd4vjw8UG0oN0CMB3zhsdpjd82PbwFnFHI+ PWobXE02jgxyeomVWmGQ/c60ulm70c3tiPysQgiq5fVVDAX77uYO3FTcE7vfofBBgK0V yxUA9kqMfPFqbEuSnyDbeMc8dzxUnaia8RakV6WJxukKQ6NueZmm0YdWmDNDJwo6sryu ms+wD2JMprF4OIL4BxwKV7UoDBvw79tSKEDwp9ksNAMDyaURMrRZGle8pVTLa9zwEBWM Az7ty6bQLWQFLAYU9uCD9D8shoBZhN4SgIg3uaRiXwR0729MEa0GjGEshO2sh8Dj0WNK ayzA== X-Gm-Message-State: AOJu0YyhBATBew6j5sMwcNeyiCUOvsiGNkZNmGUgZXCOwjZjNUNnKBys VRDrXvuoyX02+wpF4TtjXZOf91deHN1PYnUPobcZnW1Fet0eJQ3rr4DQQQ== X-Gm-Gg: ASbGncuBnhwCLzcDOvbdpw/OZiJfGHdKCKGwfsKesUn13EtfQYyf9pJFW7MYb6chtaK kRz5WXDHJ5S2e/IrfvoSsEZv22QsCC4tJjXsWjDOd0pkjPFb5jHhJC/NsA0mhsUOxfoaBIZUgS7 irIdJA+EArcDWqQmIjM8SKRrkwvO28mntimQaCIWays2pFBgcGm7lbmmtQ/zrXI+mYZ2VxMUe/2 j+9VYVhwmJDyQFYAP+wlP9my2USaO36AeS0RCp63YmPyt99Ww== X-Google-Smtp-Source: AGHT+IG/E1yicCmQIK10w+aL3WXKAxT4fNni31tucYKe1q5IlAxJGzKL4BVuIpHUuJpFG7wRxfyddg== X-Received: by 2002:a05:600c:1c07:b0:434:a90b:94fe with SMTP id 5b1f17b1804b1-434ddea9132mr176404065e9.10.1733849374895; Tue, 10 Dec 2024 08:49:34 -0800 (PST) Received: from lili ([148.60.59.223]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434f981880csm77549625e9.44.2024.12.10.08.49.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 08:49:34 -0800 (PST) Date: Tue, 10 Dec 2024 17:10:15 +0100 Message-Id: <87y10ny0wo.fsf@gmail.com> To: control@debbugs.gnu.org From: Simon Tournier Subject: control message for bug #62917 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 62917 + patch quit From unknown Tue Sep 09 21:32:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62917: [bug#73799] [PATCH] Fix 'guix shell: error: symlink: File exists: "/bin/cc"' Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Dec 2024 04:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62917 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Marco Fortina , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: "guix-devel@gnu.org" , "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.173423751320458 (code B ref -1); Sun, 15 Dec 2024 04:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Dec 2024 04:38:33 +0000 Received: from localhost ([127.0.0.1]:49167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMgOn-0005Ju-F2 for submit@debbugs.gnu.org; Sat, 14 Dec 2024 23:38:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:49118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMgOk-0005Jk-VR for submit@debbugs.gnu.org; Sat, 14 Dec 2024 23:38:32 -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 1tMgMe-0003bS-V2; Sat, 14 Dec 2024 23:36:20 -0500 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMgMa-0001Qv-Mj; Sat, 14 Dec 2024 23:36:19 -0500 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-21661be2c2dso22121045ad.1; Sat, 14 Dec 2024 20:36:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734237373; x=1734842173; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=FA/ly2KHFM9HrGYGBk1L+Gvw86P9uU4T3GfkodrR6u8=; b=dog6ShILpDNvoxvlPCbo9aAsezzgkuCV1iEz9BiXdo5rhYgCbRZ3y2J7y/TEoCJ3fl gR3z8Lim8XwbvlnbJ5sHFnOk7TfviyJj/g7VWc4fB1IC9rEEZ6JZNo00WPkYUalkxf9u pmBcowgYU3BgVp0+TU/9ZiRi94JESLA/U2BF4lvTi6lm+PwuMXlMON4cdLsjfkAwBzhQ yj3+gaCl2nIIWs5lOZ5QPB5pRHrm53NleBWIDqQpHeQ6rGKJyXwQ77Su7axk45JhadFc gLIWZujsao3LtZqdQeds+6uYFV5NHD5BdKM+GKz3KIxR6Cv0Y4Z5PsuTMASLG+6RiPpY aOiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734237373; x=1734842173; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FA/ly2KHFM9HrGYGBk1L+Gvw86P9uU4T3GfkodrR6u8=; b=SQcqIxugAE+lkDnTPQu7xePAej1oDs9Nlg0jY7qcU8qthMZBN7J9bEb2dZvC5RPkvw ncaF5XwsoX2wBeoPRmDApFm/z0H01Y5gVPdPme5am4VAcyG4+5jMtbjKkmbBj4mHnKuj cNHh2neNgGd9gV6fkXzaatcTsrTZLJKbcrObazEQ+1Ls6cJv55f35Ige8eZHkyecGBk1 DAWcibW8TIrcKrb2QBxeEGtw8mHqbiqckZS3re4oV+mMfMT4c/2BQBX1UFqkB09FWLfd PSJGKP45e0pUv04aidXDYRYsFKwQdQDJGB+T8xY28D4gn4qLqXgX8o0U0MtIpluhGeSf RITQ== X-Forwarded-Encrypted: i=1; AJvYcCV3JaBk8h7sVa+b3a3yoTmBVl7gKPazDscTYefgfFXt/kiL8unzy6YdfWzLLwEFYDL3EA5OMOuJMZo5@gnu.org, AJvYcCXinq9ZNjeXIgF9rIMLRuSL5mpWx54ptgddQeLwqBURLByG4dRnKa64J6tP5QnrV6Hmrrgueg==@gnu.org X-Gm-Message-State: AOJu0YxtASJPH7ds06Y+2zr4p168adA1zTlraacOORsGQQ8qitA0wEOz olQvJ/M0vPD3/8RhxpD5e0bFFizsT/fOHAKAZ+mYm9vSd5XJyNcdQLtIB24S X-Gm-Gg: ASbGncsH+IXfx+bPHOj3ewLJo9OIa+pu8tlZL+S2oJ1p6ZGMQAxKYq7KpjXK1drJ8eW 2DSoQ3XECCFoZIt0DR3Z8Ztb26Fl4kcqe2xUXQ8blWWhvj2FjQLMS9lIgBBI1H3Q67pUag4W6Ft xTzP4KcPrmjtke7qelDe0ajpRfuP87ipUR9oDNsLYYjDeYwr6umTh2CS8WTm4KiANJ4GiHlCC2a gLs9GaJB6gPwG+aby1nhqPYYpZVTn/6VNhKWZk58YfqQ4Rk7VvMfQ== X-Google-Smtp-Source: AGHT+IH1ZWJhPbLGw92b2I1U3gjCjlhR2VNo2GKEslR9grmD2WZuXexijw27QFA4ff3J0pc7r/zAJw== X-Received: by 2002:a17:902:c403:b0:216:6769:9eca with SMTP id d9443c01a7336-21892a211ecmr108998715ad.37.1734237372805; Sat, 14 Dec 2024 20:36:12 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-218a1e6d0fesm20230675ad.256.2024.12.14.20.36.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2024 20:36:12 -0800 (PST) From: Maxim Cournoyer In-Reply-To: (Marco Fortina's message of "Tue, 22 Oct 2024 10:49:32 +0000") References: Date: Sun, 15 Dec 2024 13:36:01 +0900 Message-ID: <87zfkxy34e.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=maxim.cournoyer@gmail.com; helo=mail-pl1-x633.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Marco, Marco Fortina writes: > This patch closes issue when running "guix shell --container --emulate-fhs clang-toolchain gcc-toolchain" or "guix shell --container --emulate-fhs clang-toolchain gcc-toolchain": > > > diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm > index a219b2ac89..37f11395f9 100644 > --- a/guix/scripts/environment.scm > +++ b/guix/scripts/environment.scm > @@ -464,7 +464,8 @@ (define (setup-fhs profile) > ;; /bin since that already has the sh symlink and the other (optional) FHS > ;; bin directories will link to /bin. > (let ((gcc-path (string-append profile "/bin/gcc"))) > - (if (file-exists? gcc-path) > + (if (and (file-exists? gcc-path) > + (not (file-exists? "/bin/cc"))) > (symlink gcc-path "/bin/cc"))) > > ;; Guix's ldconfig doesn't search in FHS default locations, so provide a I see Ludovic pushed a variant of the above fix with 23ab6fc29f28b0fa9ad94bf2ceed135ee3fdea34, and attributed your discovery of the problem. Good. Thanks for the report and patch! -- Thanks, Maxim From unknown Tue Sep 09 21:32:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: zamfofex Subject: bug#62917: closed (Re: [bug#62917] [bug#73799] [PATCH] Fix 'guix shell: error: symlink: File exists: "/bin/cc"') Message-ID: References: <874j355vot.fsf@protonmail.com> <2085439243.1521663.1681776855547@privateemail.com> X-Gnu-PR-Message: they-closed 62917 X-Gnu-PR-Package: guix X-Gnu-PR-Keywords: patch Reply-To: 62917@debbugs.gnu.org Date: Sun, 15 Dec 2024 06:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1734242702-4253-1" This is a multi-part message in MIME format... ------------=_1734242702-4253-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62917: =E2=80=98guix shell -CH=E2=80=99 should be able to contain both GCC= and Clang which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 62917@debbugs.gnu.org. --=20 62917: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62917 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1734242702-4253-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62917-done) by debbugs.gnu.org; 15 Dec 2024 06:04:31 +0000 Received: from localhost ([127.0.0.1]:49297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMhjy-00015V-Pq for submit@debbugs.gnu.org; Sun, 15 Dec 2024 01:04:31 -0500 Received: from mail-10628.protonmail.ch ([79.135.106.28]:51643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMhjv-00015C-Hw for 62917-done@debbugs.gnu.org; Sun, 15 Dec 2024 01:04:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1734242659; x=1734501859; bh=XcPxsNJermvg68RF98fJTZOkJyMtIXr60mJL0kIcltw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=UA2W/UQ51f20DfcYe8GrIKhEM6fiakRX0atmtIe34lQ47nvZdnxl2SCwzsNWj/VFF SpErVGlsZ0RkmtvDhVQRhwgOmXSPTHImWw0S0Ymmu8Vb141Uia/bYl7exuOJZlUMiB fJ6UCIY1yr5DcuMQXxNAPZUpp44q2hyfqS1Fx0NLbEmpd5Hr9gPKYEIHbBxgrjDw6C heccpz3gyeVdcKgiUx4+GPmmoCLXN49EcuNi/h3CXep3nRNgvqpDnPBOvUICpdqtdS YkcLUQAgKGOQKI0zvh42Ol3F799cji42KPHha70oJqgJIO46DfwrmaJ5m1txxk2bgw RZTCbBKQsvPNA== Date: Sun, 15 Dec 2024 06:04:15 +0000 To: 62917-done@debbugs.gnu.org From: John Kehayias Subject: Re: [bug#62917] [bug#73799] [PATCH] Fix 'guix shell: error: symlink: File exists: "/bin/cc"' Message-ID: <874j355vot.fsf@protonmail.com> In-Reply-To: <87zfkxy34e.fsf@gmail.com> References: <87zfkxy34e.fsf@gmail.com> Feedback-ID: 7805494:user:proton X-Pm-Message-ID: 01a88eb54be57d6cf8def57a0110463fa3a45b64 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62917-done Cc: =?utf-8?Q?Ludovic_Court=C3=A8s?= , Marco Fortina , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Dec 15, 2024 at 01:36 PM, Maxim Cournoyer wrote: > Hi Marco, > > Marco Fortina writes: > >> This patch closes issue when running "guix shell --container --emulate-f= hs clang-toolchain gcc-toolchain" or "guix shell --container --emulate-fhs = clang-toolchain gcc-toolchain": >> >> >> diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm >> index a219b2ac89..37f11395f9 100644 >> --- a/guix/scripts/environment.scm >> +++ b/guix/scripts/environment.scm >> @@ -464,7 +464,8 @@ (define (setup-fhs profile) >> ;; /bin since that already has the sh symlink and the other (optional= ) FHS >> ;; bin directories will link to /bin. >> (let ((gcc-path (string-append profile "/bin/gcc"))) >> - (if (file-exists? gcc-path) >> + (if (and (file-exists? gcc-path) >> + (not (file-exists? "/bin/cc"))) >> (symlink gcc-path "/bin/cc"))) >> >> ;; Guix's ldconfig doesn't search in FHS default locations, so provid= e a > > I see Ludovic pushed a variant of the above fix with > 23ab6fc29f28b0fa9ad94bf2ceed135ee3fdea34, and attributed your discovery > of the problem. > > Good. Thanks for the report and patch! Thanks for the followup, closing this. John ------------=_1734242702-4253-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Apr 2023 00:14:28 +0000 Received: from localhost ([127.0.0.1]:57193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poYzM-0004fy-3o for submit@debbugs.gnu.org; Mon, 17 Apr 2023 20:14:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:41828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poYzK-0004fr-UK for submit@debbugs.gnu.org; Mon, 17 Apr 2023 20:14:27 -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 1poYzK-0002xR-Iz for bug-guix@gnu.org; Mon, 17 Apr 2023 20:14:26 -0400 Received: from mta-15-3.privateemail.com ([198.54.122.111]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poYzJ-0002PK-0C for bug-guix@gnu.org; Mon, 17 Apr 2023 20:14:26 -0400 Received: from mta-15.privateemail.com (localhost [127.0.0.1]) by mta-15.privateemail.com (Postfix) with ESMTP id ADCB218000A4 for ; Mon, 17 Apr 2023 20:14:15 -0400 (EDT) Received: from APP-11 (unknown [10.50.14.211]) by mta-15.privateemail.com (Postfix) with ESMTPA id 8BC3A18000A3 for ; Mon, 17 Apr 2023 20:14:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default; t=1681776855; bh=j8iEjvdeGwMZYNMM5O5C6jbXMk0jgiWxbtMdWKsZUGc=; h=Date:From:To:Subject:From; b=UteiiUhPEqbr56rUOMXxLnvYh1NEJGz1KwVdvYWX2PN0jfVGv8f0YjfS571dklFbI psFsnFTqTQ0UDQmpOW1qCcVDtXcJOMhevSlTaKv6Mtzl8gI5IGr0Uo7kTV6IeDhq6Z zalS3NmTht5oI/MwIYI/4PQgeCVP8waOe3ptsffHOg15vWWsrkw2chpnkHOogNpawR aMFyFeGPCGo9zYSvJtdpm5yFmB0jI4DOtunJVBjG/r933lePT9bLRtz5BaD2KCsPVm /B3jlrQQL34P/TKRMMVIUsm0n0zhNLuxwbDcWf9r42mQp7IPpvMMpzAyqD5lyFXlR7 JHcodpOe3WN9g== Date: Mon, 17 Apr 2023 21:14:15 -0300 (BRT) From: zamfofex To: "bug-guix@gnu.org" Message-ID: <2085439243.1521663.1681776855547@privateemail.com> Subject: =?UTF-8?Q?=E2=80=98guix_shell_-CH=E2=80=99_should_be_abl?= =?UTF-8?Q?e_to_contain_both_GCC_and_Clang?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.6-Rev40 X-Originating-Client: open-xchange-appsuite X-Virus-Scanned: ClamAV using ClamSMTP Received-SPF: pass client-ip=198.54.122.111; envelope-from=zamfofex@twdb.moe; helo=MTA-15-3.privateemail.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) When I add =E2=80=98gcc-toolchain=E2=80=99, it seems to try to create a =E2= =80=98/bin/cc=E2=80=99 symlink to GCC, but the Clang package also has a =E2= =80=98cc=E2=80=99 executable, so it fails. - - - - - - - - - % guix shell -CF clang-toolchain gcc-toolchain guix shell: error: symlink: File exists: "/bin/cc" - - - - - - - - - ------------=_1734242702-4253-1--