From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iGbiGl1p+l42BAAA0tVLHw (envelope-from ) for ; Mon, 29 Jun 2020 22:21:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0K/XFl1p+l6xLAAA1q6Kng (envelope-from ) for ; Mon, 29 Jun 2020 22:21:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ABF1D94053B for ; Mon, 29 Jun 2020 22:21:16 +0000 (UTC) Received: from localhost ([::1]:49814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jq29J-00044M-W5 for larch@yhetil.org; Mon, 29 Jun 2020 18:21:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jq298-00043T-Qg for bug-guix@gnu.org; Mon, 29 Jun 2020 18:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jq298-0004fE-Gm for bug-guix@gnu.org; Mon, 29 Jun 2020 18:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jq298-0002Gq-Dj for bug-guix@gnu.org; Mon, 29 Jun 2020 18:21:02 -0400 Subject: bug#42127: collision in relocatable gcc-toolchain with gnupg Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Mon, 29 Jun 2020 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42127 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andrius =?UTF-8?Q?=C5=A0tikonas?= Mail-Followup-To: 42127@debbugs.gnu.org, ludo@gnu.org, andrius@stikonas.eu Received: via spool by 42127-done@debbugs.gnu.org id=D42127.15934692428677 (code D ref 42127); Mon, 29 Jun 2020 22:21:02 +0000 Received: (at 42127-done) by debbugs.gnu.org; 29 Jun 2020 22:20:42 +0000 Received: from localhost ([127.0.0.1]:49706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jq28o-0002Ft-AK for submit@debbugs.gnu.org; Mon, 29 Jun 2020 18:20:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jq28n-0002Fe-00 for 42127-done@debbugs.gnu.org; Mon, 29 Jun 2020 18:20:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39744) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jq28g-0004XU-3q; Mon, 29 Jun 2020 18:20:34 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48588 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jq28d-0000h3-Va; Mon, 29 Jun 2020 18:20:34 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <3286714.EMsxX2vpAS@laptop> Date: Tue, 30 Jun 2020 00:20:30 +0200 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") Message-ID: <87a70la501.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42127-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: C9Ndju73fvTk Hi, Andrius =C5=A0tikonas skribis: > I was building a guix pack with > > guix pack --symlink=3D/bin=3Dbin --relocatable --relocatable --no-substit= utes gcc-toolchain gnupg > > and got the following error > > Backtrace: > 3 (primitive-load "/gnu/store/n8zm1bjf4mrz4250c51ljasy8pc=E2= =80=A6") > In guix/build/profiles.scm: > 157:2 2 (build-profile "/gnu/store/9rqqgpv3nq5nqs9yik9zlzniz9q=E2=80= =A6" =E2=80=A6) > In unknown file: > 1 (hash-for-each # =E2=80=A6) > In guix/build/union.scm: > 144:11 0 (_ _ _) > > guix/build/union.scm:144:11: union-build: collision between file and dire= ctories ((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 se= ems to be a statically linked executable > even though > 3kvnslc16sy7kwi2c5r7r5k6bbv2p03f-gcc-toolchain-10.1.0/sbin is a symlink p= ointing 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 =E2=80=98gcc-toolchain=E2=80=99 m= uch smaller, bringing it to 350=C2=A0MiB instead of 1=C2=A0GiB. Thanks, Ludo=E2=80=99.