guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix pull fails for me


From: Amirouche Boubekki
Subject: Re: guix pull fails for me
Date: Fri, 2 Jan 2015 14:54:52 +0100

2015-01-01 19:41 GMT+01:00 Adam Pribyl <address@hidden>:
> On Thu, 1 Jan 2015, Amirouche Boubekki wrote:
>
>> Hi,
>>
>> guile-json is missing for some reason. Maybe you can install it
>
>
> Installing guile-json as root makes no difference.
>
>> manually or from a guix git checkout. I'm curious can you provide the
>> guix --version:
>
>
> guix package -i git is quite a job... even this is a devel list I am just a
> user here.

Like every first time, it can be overhelming. I think the simplest thing to do
is to create another disk image with guix 0.8 (for real). I could do
that, but it's less
pedagogical.

Once you have git repo configured and compiled you can do that yourself. And
you might not need it at all if you can install guile-json from there.

I'm not sure in which situation you are:

- installed guix systems from 0.8 disk install,
- or in the 0.8 disk install

Can you still install packages with guix? ie. guix package -i dwm?

There might be another solution, that doesn't involve using guix from git:

- Using guile json tarball https://github.com/aconchillo/guile-json#installation
- use --prefix=/var/guix/profiles/system/profile/share
- install as root
- do guix pull as root
- and install guile-json (again as root), to put things in order

If you are missing some autotools, and you can't use guile-json install script,
you can copy manually things to
/var/guix/profiles/system/profile/share/guile/site/2.0:

  # cp -r json* /var/guix/profiles/system/profile/share/guile/site/2.0

> Got the git clone git://git.savannah.gnu.org/guix.git, but it is not obvious
> what to do with it. The README in Installation says
> See manual:
>   info -f doc/guix.info "(guix) Installation"
> there is nothing like this in cloned repo.

Yes, before doing make the documentation is still in texi format, doc/guix.texi.

There is also relevant documentation in HACKING file, the .texi file
is available in html
online http://www.gnu.org/software/guix/manual/guix.html

> Same doc with Installing Guix from Guix requires me to run configure/make
> but there is no configure in the cloned repo.
>
> Running bootstrap ends with:

It's correct, refer to HACKING file, to know how to fix this. You
probably need to run:

guix package --install autoconf automake bzip2 gcc-toolchain gettext \
                             guile libgcrypt pkg-config sqlite

> configure.ac:55: error: possibly undefined macro: PKG_CHECK_MODULES
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> autoreconf:
> /gnu/store/50qbjh51jaay21gdpv91bff81k1fcqjh-autoconf-2.69/bin/autoconf
> failed with exit status: 1
>
> Every way I try ends in a dead end.
>
>> - as a user
>> - as root
>
>
> Both
> guix --version
> guix (GNU Guix) 0.7
>
>
>> - ./pre-inst-env guix --version in git.
>
>
> I am not able to get that far...
>
> Thanks anyway.
>
> Adam Pribyl
>
>
>
>>> ERROR: no code for module (json)
>>> Backtrace:
>>> In ice-9/boot-9.scm:
>>>  157: 12 [catch #t #<catch-closure c655a0> ...]
>>> In unknown file:
>>>    ?: 11 [apply-smob/1 #<catch-closure c655a0>]
>>> In ice-9/boot-9.scm:
>>>   63: 10 [call-with-prompt prompt0 ...]
>>> In ice-9/eval.scm:
>>>  432: 9 [eval # #]
>>> In ice-9/boot-9.scm:
>>> 2401: 8 [save-module-excursion #<procedure c82880 at
>>> ice-9/boot-9.scm:4045:3
>>> ()>]
>>> 4050: 7 [#<procedure c82880 at ice-9/boot-9.scm:4045:3 ()>]
>>> 1724: 6 [%start-stack load-stack #<procedure c95820 at
>>> ice-9/boot-9.scm:4041:10 ()>]
>>> 1729: 5 [#<procedure c98c60 ()>]
>>> In unknown file:
>>>    ?: 4 [primitive-load
>>> "/gnu/store/blq0man8glfr3rsb4mya4sgn292z3gr3-guix-latest-guile-builder"]
>>> In ice-9/eval.scm:
>>>  387: 3 [eval # ()]
>>> In
>>>
>>> /gnu/store/n2jjh4kzfv3hp4zhd0aflwq4i2jihnnq-module-import/guix/build/pull.scm:
>>>  121: 2 [build-guix
>>> "/gnu/store/1w0y78nvmivv6a688ljcdnl35dy8m8i7-guix-latest" ...]
>>>   75: 1 [p-for-each #<procedure 1034300 at
>>>
>>> /gnu/store/n2jjh4kzfv3hp4zhd0aflwq4i2jihnnq-module-import/guix/build/pull.scm:121:14
>>> (file)> ...]
>>> In unknown file:
>>>    ?: 0 [scm-error misc-error #f ...]
>>>
>>> ERROR: In procedure scm-error:
>>> ERROR: process failed #<procedure 1034300 at
>>>
>>> /gnu/store/n2jjh4kzfv3hp4zhd0aflwq4i2jihnnq-module-import/guix/build/pull.scm:121:14
>>> (file)> 256
>>> builder for `/gnu/store/gvvn13jys2a65yhh2ildqllyx9alg1zd-guix-latest.drv'
>>> failed with exit code 1
>>> killing process 13118
>>> guix pull: error: build failed: build of
>>> `/gnu/store/gvvn13jys2a65yhh2ildqllyx9alg1zd-guix-latest.drv' failed
>>>
>>>
>>> Regards
>>>
>>> Adam Pribyl
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]