GNU bug report logs - #73799
guix shell: error: symlink: File exists: "/bin/cc"

Previous Next

Package: guix;

Reported by: Marco Fortina <marco_fortina <at> hotmail.it>

Date: Mon, 14 Oct 2024 02:48:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 73799 <at> debbugs.gnu.org (full text, mbox):

From: Rutherther <rutherther <at> ditigal.xyz>
To: 73799 <at> debbugs.gnu.org
Cc: Marco Fortina <marco_fortina <at> hotmail.it>
Subject: Re: guix shell: error: symlink: File exists: "/bin/cc"
Date: Mon, 14 Oct 2024 21:13:33 +0200
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




This bug report was last modified 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.