Subject: bug#42127: closed (Re: bug#42127: collision in relocatable gcc-toolchain with gnupg)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 29 Jun 2020 22:21:02 +0000

Your bug report

#42127: collision in relocatable gcc-toolchain with gnupg

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 [email-masked].

-- 
42127: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42127
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#42127: collision in relocatable gcc-toolchain with gnupg
From: Ludovic Courtès <[email-masked]>
To: Andrius Štikonas <[email-masked]>
Cc: [email-masked]
Date: Tue, 30 Jun 2020 00:20:30 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Andrius Štikonas <[email-masked]> skribis:

> I was building a guix pack with
>
> guix pack --symlink=/bin=bin --relocatable --relocatable --no-substitutes gcc-toolchain gnupg
>
> and got the following error
>
> Backtrace:
>            3 (primitive-load "/gnu/store/n8zm1bjf4mrz4250c51ljasy8pc…")
> In guix/build/profiles.scm:
>     157:2  2 (build-profile "/gnu/store/9rqqgpv3nq5nqs9yik9zlzniz9q…" …)
> In unknown file:
>            1 (hash-for-each #<procedure 7fffefbb9f40 at guix/build/…> …)
> In guix/build/union.scm:
>    144:11  0 (_ _ _)
>
> guix/build/union.scm:144:11: union-build: collision between file and directories ((files ("/gnu/store/rgyjhfkb5sxcyy362i3bshh80v6giq2c-gcc-toolchain-10.1.0R/sbin")) (dirs ("/gnu/store/i1339a5cj1y53z3zgny2wls47kxzy48r-gnupg-2.2.20R/sbin")))
>
> /gnu/store/rgyjhfkb5sxcyy362i3bshh80v6giq2c-gcc-toolchain-10.1.0R/sbin seems to be a statically linked executable
> even though
> 3kvnslc16sy7kwi2c5r7r5k6bbv2p03f-gcc-toolchain-10.1.0/sbin is a symlink pointing to /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/sbin
>
> This makes gcc-toolchain and gnupg non co-installable.

Fixed by 4f060bf2fe1dd8bec79cb07907b46e16fca21398!

The next commit also makes the closure of ‘gcc-toolchain’ much smaller,
bringing it to 350 MiB instead of 1 GiB.

Thanks,
Ludo’.

Subject: collision in relocatable gcc-toolchain with gnupg
From: Andrius Štikonas <[email-masked]>
To: [email-masked]
Date: Mon, 29 Jun 2020 16:31:53 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

I was building a guix pack with

guix pack --symlink=/bin=bin --relocatable --relocatable --no-substitutes gcc-toolchain gnupg

and got the following error

Backtrace:
           3 (primitive-load "/gnu/store/n8zm1bjf4mrz4250c51ljasy8pc…")
In guix/build/profiles.scm:
    157:2  2 (build-profile "/gnu/store/9rqqgpv3nq5nqs9yik9zlzniz9q…" …)
In unknown file:
           1 (hash-for-each #<procedure 7fffefbb9f40 at guix/build/…> …)
In guix/build/union.scm:
   144:11  0 (_ _ _)

guix/build/union.scm:144:11: union-build: collision between file and directories ((files ("/gnu/store/rgyjhfkb5sxcyy362i3bshh80v6giq2c-gcc-toolchain-10.1.0R/sbin")) (dirs ("/gnu/store/i1339a5cj1y53z3zgny2wls47kxzy48r-gnupg-2.2.20R/sbin")))

/gnu/store/rgyjhfkb5sxcyy362i3bshh80v6giq2c-gcc-toolchain-10.1.0R/sbin seems to be a statically linked executable
even though
3kvnslc16sy7kwi2c5r7r5k6bbv2p03f-gcc-toolchain-10.1.0/sbin is a symlink pointing to /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/sbin

This makes gcc-toolchain and gnupg non co-installable.