unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Rutherther via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 73799@debbugs.gnu.org
Cc: Marco Fortina <marco_fortina@hotmail.it>
Subject: bug#73799: guix shell: error: symlink: File exists: "/bin/cc"
Date: Mon, 14 Oct 2024 21:13:33 +0200	[thread overview]
Message-ID: <87cyk233c2.fsf@ditigal.xyz> (raw)
In-Reply-To: <GV1PR10MB5817A7B0E6EC92CE1F22ED64F77B2@GV1PR10MB5817.EURPRD10.PROD.OUTLOOK.COM>


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




  reply	other threads:[~2024-10-14 19:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AS8PR10MB5829AF53C13124EA2834134CF77B2@AS8PR10MB5829.EURPRD10.PROD.OUTLOOK.COM>
2024-10-13 23:11 ` bug#73799: guix shell: error: symlink: File exists: "/bin/cc" Marco Fortina
2024-10-14 19:13   ` Rutherther via Bug reports for GNU Guix [this message]
2024-11-10 23:26   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyk233c2.fsf@ditigal.xyz \
    --to=bug-guix@gnu.org \
    --cc=73799@debbugs.gnu.org \
    --cc=marco_fortina@hotmail.it \
    --cc=rutherther@ditigal.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).