From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#17083: =?UTF-8?Q?=E2=80=98union-build=E2=80=99?= does not handle collisions between a leaf and a sub-tree Date: Wed, 02 Apr 2014 23:43:43 +0200 Message-ID: <87ioqrflv4.fsf@gnu.org> References: <87ior4ku41.fsf@yeeloong.lan> <87siq7y96h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87siq7y96h.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 24 Mar 2014 15:15:34 +0100") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: mhw@netris.org Cc: 17083-done@debbugs.gnu.org, guix-devel@gnu.org List-Id: guix-devel.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Mark H Weaver skribis: > >> On the Loongson 3A machine, I finished building all the packages from >> core-updates that I use in my profile, and then tried installing them. >> I got this: >> >> In /gnu/store/9sqx55rgygyrcyg350cfqwy8wqb4fr69-module-import/guix/build/= union.scm: >> 226: 1 [loop # #] >> In unknown file: >> ?: 0 [mkdir "/gnu/store/c30bsax58scw5qwcnbma16k6z88s1lh3-profile/./in= clude" ...] >> >> ERROR: In procedure mkdir: >> ERROR: In procedure mkdir: File exists >> builder for `/gnu/store/17w6kggffh79drmmrdnxy1yhgr6p2in5-profile.drv' fa= iled with exit code 1 >> >> The problem turns out to be that 'libffi' makes 'include' a symlink to >> 'lib/libffi-3.0.13/include', and union.scm cannot cope with conflicts >> between a directory and a symlink. > > Ouch, good catch. This is fixed with the new union.scm (commit 1212999.) > I=E2=80=99ve come up with a test that reproduces it: This test was actually bogus, so I committed a correct one (commit a53a9ae.) Thanks! Ludo=E2=80=99.