From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 AIVQKsNtDWd/fQAA62LTzQ:P1 (envelope-from ) for ; Mon, 14 Oct 2024 19:15:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AIVQKsNtDWd/fQAA62LTzQ (envelope-from ) for ; Mon, 14 Oct 2024 21:15:15 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=M+Aix23j; dkim=fail ("headers rsa verify failed") header.d=ditigal.xyz header.s=20240917 header.b=XuhTp3If; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-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=1728933315; 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: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=UFnVjWUV1aTJrli4RpT8Z5ktq70SV7h3mcFFPIqCvWM=; b=LMzdybgnFvEs024/6rNCuEIV+pTO1iamP0vRkwlLfrzVL7tOC4KrBNwQ1CD635ZZRb8HBo bdMaRJcMXJAgnguWRJD8E+058/JcDHamgz+8EsRFVx1ubOJgjMaCUqWsVh3+Dw3cyEciGW +Wae67y3Hd/nZKquw6VtWRtB/4SOTTE2bLfxZq/MKf+L14vinPkTDrN3b3D/4zAROxUEFT NZ4qy07f4YWBkTa8PPW5aJU+FPF3kjoCzbVZTJm+DMwGde4Xqa2yEDrTm4mcOobK/EyBw/ ZDAMGHLgALlxZZ3tyCchqnFxX4dKkA4ahvES82e9/o15VuzzSpIPDRJw8XbKNQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=M+Aix23j; dkim=fail ("headers rsa verify failed") header.d=ditigal.xyz header.s=20240917 header.b=XuhTp3If; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728933315; a=rsa-sha256; cv=none; b=d5NU9k2Vj0LxTdJTCXzQk0992+ekrdH7MwTDdMQGxXcPi+Q89X1hUYuRDheY+MOikM/kE4 2pvzcAmE7xowD3fEi6G0GqSALEk2wpH6sSh7ShgmcgjdFcNSmj35eSPwprNn/OC0qOXBSv yFYVZM5/Fyseo4unkGbXD/TGPsNxg3UyyTm4XQq93RxfOPpu7ioJnoJ68umnheS0HkQtwC VyHVYmQTtqC4AgBzJhBCrfbenpNnJO9/9paYqOq1/lC7rBmACZqESjDSUZDgqjwpru8AFD Ao0AA1dzyLPEQpXEQQpoPuMJoCFVGwmc7AZ+n1QSt7k0scUkzH6ShY4OjnDYpw== 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 3C8954407B for ; Mon, 14 Oct 2024 21:15:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0QWl-0000mc-BT; Mon, 14 Oct 2024 15:14:47 -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 1t0QWk-0000mF-3b for bug-guix@gnu.org; Mon, 14 Oct 2024 15:14:46 -0400 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 1t0QWj-0003zE-QQ for bug-guix@gnu.org; Mon, 14 Oct 2024 15:14:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:In-Reply-To:From:To:References:Subject; bh=UFnVjWUV1aTJrli4RpT8Z5ktq70SV7h3mcFFPIqCvWM=; b=M+Aix23jy7BMbJ2MgWeMzgDbjXS8g6L1JI9QGm8tr/PJve8DamUj2AJmWz3siEgngxxj8LHSUK5EYZfNskCWJu6lq+X7IG0buiF72IdfobtwhvdZsoj/TBDxCzkMppihOWePGo3GOJ1PdTl5HY0FdpEiSgR7Vj8xHFA7qgwqUVPJ1ZXrfY9rsDI2Ywa+/PX3DUvj6Uz0eMpj13fjnpWSKtPeblVFbD8OZh2e+a4BHtJxsd3SrbEncRxR/mjq1Btsvu/aAgscfM3qBrNgyWwyGrtbUOscZU18iSXzUa9lCQu56ALalaNE9rqI/KfuOWgnv3UURluw+4k5nJ/Q4TvrTw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t0QWz-0000oL-Sr for bug-guix@gnu.org; Mon, 14 Oct 2024 15:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73799: guix shell: error: symlink: File exists: "/bin/cc" References: Resent-From: Rutherther Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Oct 2024 19:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73799 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73799@debbugs.gnu.org Cc: Marco Fortina Received: via spool by 73799-submit@debbugs.gnu.org id=B73799.17289332433023 (code B ref 73799); Mon, 14 Oct 2024 19:15:01 +0000 Received: (at 73799) by debbugs.gnu.org; 14 Oct 2024 19:14:03 +0000 Received: from localhost ([127.0.0.1]:44373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0QW2-0000mg-Hx for submit@debbugs.gnu.org; Mon, 14 Oct 2024 15:14:02 -0400 Received: from ditigal.xyz ([78.46.201.50]:51120 helo=mail.ditigal.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0QW0-0000lz-5j for 73799@debbugs.gnu.org; Mon, 14 Oct 2024 15:14:00 -0400 Received: by cerebrum (OpenSMTPD) with ESMTPSA id 7072cafb (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 14 Oct 2024 19:13:34 +0000 (UTC) In-Reply-To: Date: Mon, 14 Oct 2024 21:13:33 +0200 Message-ID: <87cyk233c2.fsf@ditigal.xyz> MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz; i=@ditigal.xyz; q=dns/txt; s=20240917; t=1728933214; h=from : to : cc : subject : in-reply-to : date : message-id : mime-version : content-type : from; bh=UFnVjWUV1aTJrli4RpT8Z5ktq70SV7h3mcFFPIqCvWM=; b=XuhTp3IfOoo/iJ80sRd+57ZWC/8GeHd+vAPxKIt5QK/kzekjAqWpXdBuB6nknAagxwRME DAe44EwYlbspPb58uduuiXIO79Xzh/ImBzzkzCPJHxMBKZWyaJ9bDeWDZXE03LzfTJ7fRNr R8hOFj0RhRFuhHK3NJOIPE1z7KaSuxk= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Rutherther From: Rutherther via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-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: -0.03 X-Spam-Score: -0.03 X-Migadu-Queue-Id: 3C8954407B X-TUID: mT8VUKW9Ve9v Hey Marco, that llvm.scm change is actually irrelevant to the problem. There will never be cc in the llvm package itself before the condition. It occurs prior to the profile merging. There is no fhs in that case so checking for /bin/cc does not make sense, moreover it could pose a problem if one built without a sandbox on a foreign distro. Then the package output could differ because /bin/gcc or /bin/c++ exist. As for the change in environment.scm, that is indeed what causes the issue. Since there is an if already, maybe it would make sense to not introduce another condition statement, but to extend the existing if? Regards, Rutherther