From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: libffi cannot be installed in user profile in core-updates Date: Mon, 24 Mar 2014 02:07:10 -0400 Message-ID: <87ior4ku41.fsf@yeeloong.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRy3C-0004xM-Q2 for guix-devel@gnu.org; Mon, 24 Mar 2014 02:08:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRy35-00086c-F9 for guix-devel@gnu.org; Mon, 24 Mar 2014 02:07:58 -0400 Received: from world.peace.net ([96.39.62.75]:59960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRy35-00085E-Au for guix-devel@gnu.org; Mon, 24 Mar 2014 02:07:51 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org 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: --8<---------------cut here---------------start------------->8--- In /gnu/store/9sqx55rgygyrcyg350cfqwy8wqb4fr69-module-import/guix/build/union.scm: 226: 1 [loop # #] In unknown file: ?: 0 [mkdir "/gnu/store/c30bsax58scw5qwcnbma16k6z88s1lh3-profile/./include" ...] ERROR: In procedure mkdir: ERROR: In procedure mkdir: File exists builder for `/gnu/store/17w6kggffh79drmmrdnxy1yhgr6p2in5-profile.drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- 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. Therefore, 'libffi' cannot be installed in any user profile in core-updates (assuming that there's some other installed package where 'include' is a directory). This problem was introduced in d43547f12d4eae19845f3bf13a53a050af965063 "gnu: libffi: Leave a copy of headers where libffi.pc expects them." Mark