GNU bug report logs - #42127
collision in relocatable gcc-toolchain with gnupg

Previous Next

Package: guix;

Reported by: Andrius Štikonas <andrius <at> stikonas.eu>

Date: Mon, 29 Jun 2020 15:33:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42127 in the body.
You can then email your comments to 42127 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42127; Package guix. (Mon, 29 Jun 2020 15:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrius Štikonas <andrius <at> stikonas.eu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 29 Jun 2020 15:33:02 GMT) Full text and rfc822 format available.

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

From: Andrius Štikonas <andrius <at> stikonas.eu>
To: bug-guix <at> gnu.org
Subject: collision in relocatable gcc-toolchain with gnupg
Date: Mon, 29 Jun 2020 16:31:53 +0100
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.






Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 29 Jun 2020 22:21:02 GMT) Full text and rfc822 format available.

Notification sent to Andrius Štikonas <andrius <at> stikonas.eu>:
bug acknowledged by developer. (Mon, 29 Jun 2020 22:21:02 GMT) Full text and rfc822 format available.

Message #10 received at 42127-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andrius Štikonas <andrius <at> stikonas.eu>
Cc: 42127-done <at> debbugs.gnu.org
Subject: Re: bug#42127: collision in relocatable gcc-toolchain with gnupg
Date: Tue, 30 Jun 2020 00:20:30 +0200
Hi,

Andrius Štikonas <andrius <at> stikonas.eu> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#42127; Package guix. (Mon, 29 Jun 2020 22:34:02 GMT) Full text and rfc822 format available.

Message #13 received at 42127-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>, Andrius
 Štikonas <andrius <at> stikonas.eu>
Cc: 42127-done <at> debbugs.gnu.org
Subject: Re: bug#42127: collision in relocatable gcc-toolchain with gnupg
Date: Tue, 30 Jun 2020 00:33:17 +0200
On Tue, 30 Jun 2020 at 00:20, Ludovic Courtès <ludo <at> gnu.org> wrote:

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

Wow!  Awesome!
This deserves a --news. :-)

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#42127; Package guix. (Mon, 29 Jun 2020 22:39:01 GMT) Full text and rfc822 format available.

Message #16 received at 42127-done <at> debbugs.gnu.org (full text, mbox):

From: Andrius Štikonas <andrius <at> stikonas.eu>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 42127-done <at> debbugs.gnu.org
Subject: Re: bug#42127: collision in relocatable gcc-toolchain with gnupg
Date: Mon, 29 Jun 2020 23:38:51 +0100
> 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! This was really quick. I just noticed this earlier today and it is already fixed.






Information forwarded to bug-guix <at> gnu.org:
bug#42127; Package guix. (Tue, 30 Jun 2020 09:59:01 GMT) Full text and rfc822 format available.

Message #19 received at 42127-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: Andrius Štikonas <andrius <at> stikonas.eu>,
 42127-done <at> debbugs.gnu.org
Subject: Re: bug#42127: collision in relocatable gcc-toolchain with gnupg
Date: Tue, 30 Jun 2020 11:58:00 +0200
zimoun <zimon.toutoune <at> gmail.com> skribis:

> On Tue, 30 Jun 2020 at 00:20, Ludovic Courtès <ludo <at> gnu.org> wrote:
>
>> The next commit also makes the closure of ‘gcc-toolchain’ much smaller,
>> bringing it to 350 MiB instead of 1 GiB.
>
> Wow!  Awesome!
> This deserves a --news. :-)

It’s just that gcc-toolchain:out would pull in debugging symbols, which
in turn would pull in the whole bootstrap chain.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Jul 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 267 days ago.

Previous Next


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