From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix build freezes Date: Tue, 05 May 2015 22:18:19 +0200 Message-ID: <87a8xiwzg4.fsf@gnu.org> References: <874mnqx0r0.fsf@mango.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpjIQ-0001ax-GS for guix-devel@gnu.org; Tue, 05 May 2015 16:18:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpjIN-0001ho-IS for guix-devel@gnu.org; Tue, 05 May 2015 16:18:26 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpjIN-0001hj-FM for guix-devel@gnu.org; Tue, 05 May 2015 16:18:23 -0400 In-Reply-To: <874mnqx0r0.fsf@mango.localdomain> (Ricardo Wurmus's message of "Tue, 5 May 2015 21:50:11 +0200") 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: Ricardo Wurmus Cc: Guix-devel Ricardo Wurmus skribis: > I have a very weird problem that I don't understand. "./pre-inst-env > guix build" just sits there doing nothing at all: > > [rwurmus@guix-builder:/localhome/rwurmus-tmp/guix] (531) $ git descri= be HEAD > v0.8.1-1597-g4702cec > [rwurmus@guix-builder:/localhome/rwurmus-tmp/guix] (532) $ time ./pre= -inst-env guix build texlive-texmf-2014 > The following file will be downloaded: > /gnu/store/h1qjkg8bvcdb485q81lw5844szgywpg7-texlive-texmf-2014 > ^C > > real 13m0.888s > user 0m3.728s > sys 0m0.364s > > Now using the previously "sudo make install"'d version of Guix: > > [rwurmus@guix-builder:/localhome/rwurmus-tmp/guix] (533) $ time guix = build texlive-texmf-2014 > guix build: warning: failed to load '(gnu packages ld-wrapper)': > ERROR: no code for module (gnu packages ld-wrapper) (Side note: there=E2=80=99s a stale ld-wrapper.scm file here, hence the war= ning. The problem with repeated =E2=80=98make install=E2=80=99 is that files are = left behind.) > /gnu/store/0zx4rfbf58s0fnh4nzcaajdrfwb1ilv5-texlive-texmf-2014 > > real 0m24.060s > user 0m4.004s > sys 0m0.541s > > I can't really say when I last make install'd, but it was probably > around commit 27350ef8b. Uh, I can=E2=80=99t reproduce it. Could you try: ./pre-inst-env strace -o log guix build texlive-texmf to see where it=E2=80=99s stuck? Another issue: 24 seconds is really a *lot*, esp. if there was nothing to build. Where did those 20 seconds between user and real time go? Could it be due to a very slow file system? Is the daemon socket file stored on NFS? (Does that even work?) > I have a feeling I should do "make clean" again and purge everything, > but I thought I should report this anyway. I should also note that I > develop Guix on a different machine with the *same* network-mounted home > directory. On guix-builder I make and make install everything from > within a directory on a local disk, but my actual home directory is the > network share, so I suspect that this could all be explained by sharing > some go caches or so. Could someone please confirm that this is in fact > what's happening? The .go files are loaded either from $prefix or from $builddir (when using ./pre-inst-env.) If these are on NFS, that certainly slows things down, but I don=E2=80=99t think there are other side effects. HTH, Ludo=E2=80=99.