unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* guix pull fails for me
@ 2014-12-31 22:04 Adam Pribyl
  2015-01-01  8:58 ` Amirouche Boubekki
  0 siblings, 1 reply; 5+ messages in thread
From: Adam Pribyl @ 2014-12-31 22:04 UTC (permalink / raw)
  To: guix-devel

ATM on guix 0.8 installation from USB invoking guix pull fails. Am I too 
far from the master or something?

compiling 
'/gnu/store/1w0y78nvmivv6a688ljcdnl35dy8m8i7-guix-latest/guix/import/pypi.scm'...
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix pull fails for me
  2014-12-31 22:04 guix pull fails for me Adam Pribyl
@ 2015-01-01  8:58 ` Amirouche Boubekki
  2015-01-01 18:41   ` Adam Pribyl
  0 siblings, 1 reply; 5+ messages in thread
From: Amirouche Boubekki @ 2015-01-01  8:58 UTC (permalink / raw)
  To: Adam Pribyl; +Cc: guix-devel

Hi,

guile-json is missing for some reason. Maybe you can install it
manually or from a guix git checkout. I'm curious can you provide the
guix --version:

- as a user
- as root
- ./pre-inst-env guix --version in git.


> 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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix pull fails for me
  2015-01-01  8:58 ` Amirouche Boubekki
@ 2015-01-01 18:41   ` Adam Pribyl
  2015-01-02 13:54     ` Amirouche Boubekki
  2015-01-02 21:09     ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Adam Pribyl @ 2015-01-01 18:41 UTC (permalink / raw)
  Cc: guix-devel

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.
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.
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:
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix pull fails for me
  2015-01-01 18:41   ` Adam Pribyl
@ 2015-01-02 13:54     ` Amirouche Boubekki
  2015-01-02 21:09     ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Amirouche Boubekki @ 2015-01-02 13:54 UTC (permalink / raw)
  To: Adam Pribyl; +Cc: guix-devel

2015-01-01 19:41 GMT+01:00 Adam Pribyl <pribyl@lowlevel.cz>:
> 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
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: guix pull fails for me
  2015-01-01 18:41   ` Adam Pribyl
  2015-01-02 13:54     ` Amirouche Boubekki
@ 2015-01-02 21:09     ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2015-01-02 21:09 UTC (permalink / raw)
  To: Adam Pribyl; +Cc: guix-devel

Adam Pribyl <pribyl@lowlevel.cz> skribis:

> Both
> guix --version
> guix (GNU Guix) 0.7

This looks like an instance of
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18534>.

Long story short: prior to 0.8, ‘guix pull’ would fail to handle changes
in the way Guix needs to be built, such as the addition of a dependency
(like Guile-JSON.)

This was fixed in 0.8, but you probably need to install 0.8 first.

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-02 21:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-31 22:04 guix pull fails for me Adam Pribyl
2015-01-01  8:58 ` Amirouche Boubekki
2015-01-01 18:41   ` Adam Pribyl
2015-01-02 13:54     ` Amirouche Boubekki
2015-01-02 21:09     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).