Re: [bug#62917] [bug#73799] [PATCH] Fix 'guix shell: error: symlink: File exists: "/bin/cc"'

2024-12-14 Thread Maxim Cournoyer
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.sc

Re: R: guix shell: error: symlink: File exists: "/bin/cc"

2024-10-26 Thread Ludovic Courtès
Hi Marco, Marco Fortina skribis: > Yes, only changes in the environment.scm files are required for fixing the > issue. > > Why did you make the patch so complex? [...] >> +(when (file-exists? gcc-path) >> + (catch 'system-error >> +(lambda () >> + (symlink gcc-path "

Re: guix shell: error: symlink: File exists: "/bin/cc"

2024-10-24 Thread Greg Hogan
On Thu, Oct 24, 2024 at 4:03 AM Marco Fortina wrote: > > Hello! > > Yes, only changes in the environment.scm files are required for fixing the > issue. > > Why did you make the patch so complex? There are many potential errors in addition to EEXIST: https://man7.org/linux/man-pages/man2/symlin

Re: guix shell: error: symlink: File exists: "/bin/cc"

2024-10-24 Thread Rutherther
Hello, note that this is linked to issue #73799, since the original patch was submitted both to guix-devel and guix-patches. Regards, Rutherther

R: guix shell: error: symlink: File exists: "/bin/cc"

2024-10-24 Thread Marco Fortina
ch in FHS default locations, so provide a ____________ Da: Ludovic Courtès Inviato: mercoledì 23 ottobre 2024 22:26 A: Marco Fortina Cc: guix-devel@gnu.org Oggetto: Re: guix shell: error: symlink: File exists: "/bin/cc" Hi, Marco Fortina skribis: > I have this

Re: guix shell: error: symlink: File exists: "/bin/cc"

2024-10-23 Thread Ludovic Courtès
--->8--- $ guix shell -CF gcc-toolchain clang-toolchain guix shell: error: symlink: File exists: "/bin/cc" --8<---cut here---end--->8--- > --- a/gnu/packages/llvm.scm > +++ b/gnu/packages/llvm.scm > @@ -512,8 +512,10 @@ (defi

[bug#62917] [bug#73799] [PATCH] Fix 'guix shell: error: symlink: File exists: "/bin/cc"'

2024-10-22 Thread Marco Fortina
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/g

guix shell: error: symlink: File exists: "/bin/cc"

2024-10-14 Thread Marco Fortina
Hello there. I have this issue when with guix time-machine shell when using --emulate-fhs option and having gcc-toolset and clang-toolset in my manifest.scm. I this this could be solved with this patch: diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 9f851a478e..7a276569e9 1006