From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: "profil-drv" error or what am I doing wrong? Date: Fri, 20 Jun 2014 10:13:58 +0200 Message-ID: <87fvj0c81l.fsf@gnu.org> References: <874mzqjyjk.fsf@gnu.org> <871tulchjh.fsf@gnu.org> 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]:49912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxtxX-0005Og-2c for guix-devel@gnu.org; Fri, 20 Jun 2014 04:14:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxtxR-0002VE-B7 for guix-devel@gnu.org; Fri, 20 Jun 2014 04:14:07 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:59913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxtxQ-0002Uz-Tk for guix-devel@gnu.org; Fri, 20 Jun 2014 04:14:01 -0400 In-Reply-To: (Adam Pribyl's message of "Thu, 19 Jun 2014 19:37:45 +0200 (CEST)") 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: Adam Pribyl Cc: guix-devel@gnu.org Adam Pribyl skribis: > On Thu, 19 Jun 2014, Ludovic Court=C3=A8s wrote: > >>> On Thu, 12 Jun 2014, Ludovic Court=C3=A8s wrote: >>> >>>> What error does it report? >>> >>> This is what is at the end: >>> >>> makefile:550: recipe for target 'install.perl' failed >>> make[1]: *** [install.perl] Error 28 >>> make[1]: Leaving directory >>> /tmp/nix-build-perl-5.16.1.drv-0/perl-5.16.1' >>> makefile:535: recipe for target 'install' failed >>> make: *** [install] Error 2 >>> phase `install' failed after 90 seconds >>> builder for >>> /gnu/store/pg7qk32dirrqwagwd12n533v483hyipx-perl-5.16.1.drv' failed >>> with exit code 1 >> >> All this means that it failed to build Perl. Since it happens during >> the install phase, it may be a no-space-left condition; could you check >> if this is the case? >> >> Could you check the tail of the log file returned by >> >> guix build --log-file /gnu/store/pg7qk32dirrqwagwd12n533v483hyipx-perl-= 5.16.1.drv > > This produces a log file in .bz2 compressed archive. First I thought > bzip2 is not there, but then I found it is just not linked into any > PATH. Right. > But you are probably right, as the qcow is already 1.5GB. > df: cannot read table of mounted file systems: No such file or directory > > df /dev/sda1 confirms there is not much space left, it is then pretty > hard to use guix when there is not a plenty of space to compile. It > could be I first tried to build packages as user and it consumed > additional space. OK. >>> guix pull >>> prints few messages and then just sits there, doing nothing. >> >> At this point it is probably building all of the above dependencies, but >> I understand this can be confusing because there are no messages being >> printed. > > I think it gets stuck for the same reason as any other build - not > enought space, because the load of the system was 0 Could be. > guix pull on a clean qcow ends with > guix pull: error: build failed: build of > /gnu/store/ffixc7nqdf5rlydkzi9bv5ylx9y8blh0-guix-latest.drv' failed > > guix build --log-file /gnu/store/ffixc7nqdf5rlydkzi9bv5ylx9y8blh0-guix-l= atest.drv > accepted connection from pid 13623, uid 0 > guix build: error: no build log for '/gnu/store/ffixc7nqdf5rlydkzi9bv5yl= x9y8blh0-guix-latest.drv' That =E2=80=98guix build --log-file=E2=80=99 fails is weird, unless there w= as not even enough space for the log itself. You could check whether /var/log/guix/drvs is already filled. > As everything remains on the disk it looks to me like it is building with > "keep build tree of failed builds" The --keep-failed option, which I think is what you=E2=80=99re referring to, keeps build trees under /tmp/nix-build-*. If you used that option, you may want to remove those directories. > guix gc cleaned it up.. right? but no clue what gets wrong this time. =E2=80=98guix gc=E2=80=99 won=E2=80=99t clean /tmp, only /gnu/store. > However I am probably doomed to not get this rolling. > >> But I=E2=80=99m sure you=E2=80=99ll find other things that are under-doc= umented or >> undocumented. Don=E2=80=99t hesitate to report them. > > Of course, as soon I am not drowning myself. We won=E2=80=99t let you drown, but you=E2=80=99ll have to be a good swimme= r, and be prepared to occasionally swallow water. ;-) Thanks, Ludo=E2=80=99.