all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adam Pribyl <pribyl@lowlevel.cz>
Cc: guix-devel@gnu.org
Subject: Re: "profil-drv" error or what am I doing wrong?
Date: Thu, 19 Jun 2014 11:06:11 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.00.1406191014080.8755@sandbox.cz> (raw)
In-Reply-To: <874mzqjyjk.fsf@gnu.org>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 5375 bytes --]

On Thu, 12 Jun 2014, Ludovic Courtès wrote:

> Hi,
>
> Adam Pribyl <pribyl@lowlevel.cz> skribis:
>
>> As there is no user list, let me use this one.
>>
>> I am trying the GNU Guix 0.6 as published in
>>
>> https://savannah.gnu.org/forum/forum.php?forum_id=7939
>
> I suppose you’re referring to the VM image, right?

Yes..

>
>> however I am not able to finish any "guix package -i" as it always
>> reports error in compilation, either profile.drv or perl etc.
>
> 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
             @ build-failed 
/gnu/store/pg7qk32dirrqwagwd12n533v483hyipx-perl-5.16.1.drv - 1 b
             uilder for 
`/gnu/store/pg7qk32dirrqwagwd12n533v483hyipx-perl-5.16.1.drv' failed
             with exit code 1
             @ build-started 
/gnu/store/shmbq7s0zmqc5xd0ab2cn6b2zsdz89ra-binutils-cross-boot0
             -2.24.drv - x86_64-linux 
/var/log/guix/drvs/sh//mbq7s0zmqc5xd0ab2cn6b2zsdz89ra-b
             inutils-cross-boot0-2.24.drv.bz2
             cannot build derivation 
`/gnu/store/5yz9vz3h79jqlkqiik5nwgxj894f9dmb-linux-libre
             -headers-3.3.8.drv': 1 dependencies couldn't be built
             cannot build derivation 
`/gnu/store/im9knz29ylgi84ja8q2vagazkkrp7w5w-vim-7.4.drv
             ': 1 dependencies couldn't be built
             cannot build derivation 
`/gnu/store/7k7sfnv99d948yh3a8sz3ia36zz4kvrg-profile.drv
             ': 1 dependencies couldn't be built
             guix package: error: build failed: build of 
`/gnu/store/7k7sfnv99d948yh3a8sz3ia3
             6zz4kvrg-profile.drv' failed
             1104 operations
             [ 2147.754972] guix (905) used greatest stack depth: 3968 
bytes left
             root@gnu#


I am still somehow unsure, how to correctly work with guix - e.g. what to 
do if some build fails? Are the already build packages still there? How do 
I start clean build of whole dependency chain?


>> BTW: in the X session I can not switch to root as there is no "su"
>> available by default.
>
> Yes, this has been fixed since then.
>
>> guix refresh just prints various packages that "would be upgraded" but
>> does nothing.
>
> That’s intended:
>
>  http://www.gnu.org/software/guix/manual/guix.html#Invoking-guix-refresh
>
> As noted there, the primary audience of the guix refresh command is
> developers of the GNU software distribution.

OK, how do I then upgrade all packages, e.g. to get to "master" status?

guix package -u
says "nothing to be done".

guix pull
prints few messages and then just sits there, doing nothing.

root@gnu# guix pull
             accepted connection from pid 25883, uid 0
             starting download of `guix-file.FvG4HK' from 
`http://git.savannah.gnu.org/cgit/g
             uix.git/snapshot/guix-master.tar.gz'...
             http://git.savannah.gnu.org/.../guix-master.tar.gz      6328.1 
KiB transferred
             The following derivations will be built:
                /gnu/store/dx6awxpri6s5n1hvz8ah1k7lga16d6lm-guix-latest.drv

/gnu/store/hak6ligbsmqrqns1g2gagg0pmklhva73-pkg-config-0.27.1.drv

/gnu/store/shmbq7s0zmqc5xd0ab2cn6b2zsdz89ra-binutils-cross-boot0-2.24.drv
                /gnu/store/pg7qk32dirrqwagwd12n533v483hyipx-perl-5.16.1.drv

/gnu/store/5yz9vz3h79jqlkqiik5nwgxj894f9dmb-linux-libre-headers-3.3.8.drv

/gnu/store/64lzm3zc8ndxss5wn0jgbxdpwjaam0zm-findutils-4.4.2.drv

/gnu/store/6x2zwiamdwzh2a3iq0a3zm1k1r05p900-diffutils-3.3.drv
                /gnu/store/7gz7rqrg9v6zr8vsxpwd299zws8siqc8-make-4.0.drv
                /gnu/store/gif1916apz6v2w9yl7p79pas3m3rc5pp-tar-1.27.1.drv
                /gnu/store/kfd74bkyc6zihysa0dh5kq7j2rwblfcx-patch-2.7.1.drv
                /gnu/store/q55k342x0rm16cidc4521ffckpab0dzf-sed-4.2.2.drv
                /gnu/store/qrxglkjsb61pvwjnzinmi7smyacjnc0w-gzip-1.6.drv
                /gnu/store/1ynv017dz1dxp3y4a7qbjsq80wh503kp-tar-1.27.1.drv


>> I am confused with dmd too at I do not know how to list running
>> services, therefore I can not enable or disable anything as I do not
>> know what is available.
>
> As root, try running ‘deco status dmd’; more info at:
>
>  http://www.gnu.org/software/dmd/manual/dmd.html#Invoking-deco


It may not look that way, but I'm trying to read the doc, but this was 
really a not obvious to get the list of services by quering dmd status, 
while one has to know it has to query dmd. I was looking for something 
like "deeco list-services"


> To become root on the 0.6 VM image, you’ll have to switch to VT 1, and
> from there log in as root.

Not that easy with qemu but I managed it by qemu console sendkey command.

> If this is an option for you, I’d recommend trying Guix from master, or
> waiting until 0.7 is out (within a month or so.)
>
> Thanks,
> Ludo’.

Thank you

Adam Pribyl

  reply	other threads:[~2014-06-19  9:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 16:00 "profil-drv" error or what am I doing wrong? Adam Pribyl
2014-06-12  8:57 ` Ludovic Courtès
2014-06-19  9:06   ` Adam Pribyl [this message]
2014-06-19 10:36     ` Ludovic Courtès
2014-06-19 17:37       ` Adam Pribyl
2014-06-20  8:13         ` Ludovic Courtès
2014-06-20  8:19         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.00.1406191014080.8755@sandbox.cz \
    --to=pribyl@lowlevel.cz \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.