unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: "Andrius Štikonas" <andrius@stikonas.eu>
Cc: 42127-done@debbugs.gnu.org
Subject: bug#42127: collision in relocatable gcc-toolchain with gnupg
Date: Tue, 30 Jun 2020 00:20:30 +0200	[thread overview]
Message-ID: <87a70la501.fsf@gnu.org> (raw)
In-Reply-To: <3286714.EMsxX2vpAS@laptop> ("Andrius \=\?utf-8\?Q\?\=C5\=A0tikonas\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Mon, 29 Jun 2020 16:31:53 +0100")

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




  reply	other threads:[~2020-06-29 22:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=87a70la501.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=42127-done@debbugs.gnu.org \
    --cc=andrius@stikonas.eu \
    /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).