all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#42127: collision in relocatable gcc-toolchain with gnupg
@ 2020-06-29 15:31 Andrius Štikonas via Bug reports for GNU Guix
  2020-06-29 22:20 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Andrius Štikonas via Bug reports for GNU Guix @ 2020-06-29 15:31 UTC (permalink / raw)
  To: 42127

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.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#42127: collision in relocatable gcc-toolchain with gnupg
  2020-06-29 15:31 bug#42127: collision in relocatable gcc-toolchain with gnupg Andrius Štikonas via Bug reports for GNU Guix
@ 2020-06-29 22:20 ` Ludovic Courtès
  2020-06-29 22:33   ` zimoun
  2020-06-29 22:38   ` Andrius Štikonas via Bug reports for GNU Guix
  0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2020-06-29 22:20 UTC (permalink / raw)
  To: Andrius Štikonas; +Cc: 42127-done

Hi,

Andrius Štikonas <andrius@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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#42127: collision in relocatable gcc-toolchain with gnupg
  2020-06-29 22:20 ` Ludovic Courtès
@ 2020-06-29 22:33   ` zimoun
  2020-06-30  9:58     ` Ludovic Courtès
  2020-06-29 22:38   ` Andrius Štikonas via Bug reports for GNU Guix
  1 sibling, 1 reply; 5+ messages in thread
From: zimoun @ 2020-06-29 22:33 UTC (permalink / raw)
  To: Ludovic Courtès, Andrius Štikonas; +Cc: 42127-done

On Tue, 30 Jun 2020 at 00:20, Ludovic Courtès <ludo@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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#42127: collision in relocatable gcc-toolchain with gnupg
  2020-06-29 22:20 ` Ludovic Courtès
  2020-06-29 22:33   ` zimoun
@ 2020-06-29 22:38   ` Andrius Štikonas via Bug reports for GNU Guix
  1 sibling, 0 replies; 5+ messages in thread
From: Andrius Štikonas via Bug reports for GNU Guix @ 2020-06-29 22:38 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 42127-done

> 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.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#42127: collision in relocatable gcc-toolchain with gnupg
  2020-06-29 22:33   ` zimoun
@ 2020-06-30  9:58     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2020-06-30  9:58 UTC (permalink / raw)
  To: zimoun; +Cc: Andrius Štikonas, 42127-done

zimoun <zimon.toutoune@gmail.com> skribis:

> On Tue, 30 Jun 2020 at 00:20, Ludovic Courtès <ludo@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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-30  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-29 15:31 bug#42127: collision in relocatable gcc-toolchain with gnupg Andrius Štikonas via Bug reports for GNU Guix
2020-06-29 22:20 ` Ludovic Courtès
2020-06-29 22:33   ` zimoun
2020-06-30  9:58     ` Ludovic Courtès
2020-06-29 22:38   ` Andrius Štikonas via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.