Re: problems for install Skribilo-0.9.2 in Guix-0.6

2014-06-09 Thread Ludovic Courtès
Carlos Carleos  skribis:

> Ludovic Courtès  escribió / skribis [*]:
>
>> I think you did not authorize installation of substitutes signed by
>> hydra.gnu.org (info "(guix) Substitutes"):
>>
>>   guix archive --authorize < hydra.gnu.org.pub
>
> The substitutes gave many
>
>   @ substituter-started ...
>   [...]
>   @ substituted-succeded ...

Commit b6b097a improves that by changing ‘guix package’ to not print
those ‘@’ lines.

> ERROR: In procedure scm-error:
> ERROR: no code for module (system reader library)

Commit 6ec2e6b fixes that by “propagating” Guile-Reader from Skribilo.
The effect is that when Skribilo is installed in a profile, Guile-Reader
is automatically installed as well.

Thanks,
Ludo’.



Re: problems for install Skribilo-0.9.2 in Guix-0.6

2014-06-08 Thread Ludovic Courtès
Carlos Carleos  skribis:

> Ludovic Courtès  escribió / skribis [*]:
>
>> The problem is that Guile-Reader is not found in Guile’s search path.
>> For now the fix is to run:
>>   guix package -i guile-reader-for-guile_2.0.11
>> and then define the environment variables suggested by:
>>   guix package --search-paths
>> Could you try that?
>
> Done.  It worked (with a warning):

Good news, thanks for persevering.  ;-)

>> --8<--corte-desde-aquí---tranĉu-de-ĉi-tie-->8--
> carleos@carleos:~$ skribilo --version
> /gnu/store/xhd2xdv16b64ajkdd7pbkklrq5fmn28i-bash-4.3/bin/sh: warning: 
> setlocale: LC_ALL: cannot change locale (eo.utf8)

This is because upstream libc (which is what we ship) lacks support for
Esperanto locales, but it’s being fixed, at last:

  https://sourceware.org/bugzilla/show_bug.cgi?id=16190

Thanks,
Ludo’.



Re: problems for install Skribilo-0.9.2 in Guix-0.6

2014-06-07 Thread Carlos Carleos
Ludovic Courtès  escribió / skribis [*]:

> The problem is that Guile-Reader is not found in Guile’s search path.
> For now the fix is to run:
>   guix package -i guile-reader-for-guile_2.0.11
> and then define the environment variables suggested by:
>   guix package --search-paths
> Could you try that?

Done.  It worked (with a warning):

> --8<--corte-desde-aquí---tranĉu-de-ĉi-tie-->8--
carleos@carleos:~$ skribilo --version
/gnu/store/xhd2xdv16b64ajkdd7pbkklrq5fmn28i-bash-4.3/bin/sh: warning: 
setlocale: LC_ALL: cannot change locale (eo.utf8)
skribilo 0.9.2
> --8<--corte-hasta-aquí--tranĉu-ĝis-ĉi-tie-->8--

Many thanks!


-- 
 CARLOS CARLEOSKAROLO EL KARLEOJ 
 Secretario   Sekretario 
 Departamento de Estadística Departemento pri Statistiko 
 e Investigación Operativakaj Operaciesploro 
 y Didáctica de la Matemáticakaj Didaktiko de Matematiko 
 Universidad Oviedo  Universitato Oviedo 
 Principado de Asturias  Princlando Asturujo 
 Reino de España  Reĝlando Hispanujo 
 Teléfono: 73353   SMS: +34 66 004 66 05 

_
¡OJO!: eñes y demás mediante Unicode. ATENTU!: eĥoŝanĝo ĉiuĵaŭde per Unikodo.


[*] je la 14h9'13" en la 17ª de Prerialo en 166ª
= la 8ª de Ŝaban (شعبان) en 1435ª
= la 7ª de Junio en 2014ª de Kristo gregorie
= la 10ª (Ji3 己酉 You3) de monato 5ª (Geng1 庚午 Wu3) en 4651ª (Jia3 甲午 Wu3)
= la 9ª de Sivano (סיוון) en 5774ª
= la 25ª de Majo en 7522ª pokrovskija / konstancia / de Adamo / κατὰ 
ῥωμαίους



Re: problems for install Skribilo-0.9.2 in Guix-0.6

2014-06-07 Thread Ludovic Courtès
Carlos Carleos  skribis:

> Ludovic Courtès  escribió / skribis [*]:
>
>> I think you did not authorize installation of substitutes signed by
>> hydra.gnu.org (info "(guix) Substitutes"):
>>
>>   guix archive --authorize < hydra.gnu.org.pub
>
> The substitutes gave many
>
>   @ substituter-started ...
>   [...]
>   @ substituted-succeded ...

It means it successfully downloaded the pre-built binaries (though it
should probably be less verbose.)

> and these warnings:
>
>   (Please consider upgrading Guile to get proper progress report.)
>
> This machine is Ubuntu 12.4 with Guile 2.0.5.

Yes, that’s 2.5 years old.

> --8<--corte-desde-aquí---tranĉu-de-ĉi-tie-->8--
> carleos@carleos:~$ ~/.guix-profile/bin/skribilo --version

[...]

> ERROR: In procedure scm-error:
> ERROR: no code for module (system reader library)
> carleos@carleos:~$
> --8<--corte-hasta-aquí--tranĉu-ĝis-ĉi-tie-->8--

The problem is that Guile-Reader is not found in Guile’s search path.

For now the fix is to run:

  guix package -i guile-reader-for-guile_2.0.11

and then define the environment variables suggested by:

  guix package --search-paths

Could you try that?

(I’ll work on a better fix.)

Thanks,
Ludo’.



Re: problems for install Skribilo-0.9.2 in Guix-0.6

2014-06-07 Thread Carlos Carleos
Ludovic Courtès  escribió / skribis [*]:

> I think you did not authorize installation of substitutes signed by
> hydra.gnu.org (info "(guix) Substitutes"):
>
>   guix archive --authorize < hydra.gnu.org.pub

The substitutes gave many

  @ substituter-started ...
  [...]
  @ substituted-succeded ...

and these warnings:

  (Please consider upgrading Guile to get proper progress report.)

This machine is Ubuntu 12.4 with Guile 2.0.5.

Now I get:

--8<--corte-desde-aquí---tranĉu-de-ĉi-tie-->8--
carleos@carleos:~$ ~/.guix-profile/bin/skribilo --version
Backtrace:
In ice-9/boot-9.scm:
2864: 19 [resolve-interface (skribilo) #:select ...]
2789: 18 [# # ...]
3065: 17 [try-module-autoload (skribilo) #f]
2401: 16 [save-module-excursion #]
3085: 15 [#]
In unknown file:
   ?: 14 [primitive-load-path "skribilo" ...]
In skribilo.scm:
  32: 13 [#]
In ice-9/boot-9.scm:
2951: 12 [define-module* (skribilo) #:filename ...]
2926: 11 [resolve-imports ((#) (#) (#) (#) ...)]
2864: 10 [resolve-interface (skribilo utils syntax) #:select ...]
2789: 9 [# # ...]
3065: 8 [try-module-autoload (skribilo utils syntax) #f]
2401: 7 [save-module-excursion #]
3085: 6 [#]
In unknown file:
   ?: 5 [primitive-load-path "skribilo/utils/syntax" ...]
In skribilo/utils/syntax.scm:
  22: 4 [#]
In ice-9/boot-9.scm:
2951: 3 [define-module* (skribilo utils syntax) #:filename ...]
2926: 2 [resolve-imports ((#) (#) (#))]
2867: 1 [resolve-interface (system reader library) #:select ...]
In unknown file:
   ?: 0 [scm-error misc-error #f ...]

ERROR: In procedure scm-error:
ERROR: no code for module (system reader library)
carleos@carleos:~$
--8<--corte-hasta-aquí--tranĉu-ĝis-ĉi-tie-->8--

So I installed Guix' Guile:

--8<--corte-desde-aquí---tranĉu-de-ĉi-tie-->8--
carleos@carleos:~$ guix package -i guile
guix package: warning: ambiguous package specification uile'
guix package: warning: choosing guile-2.0.11 from
gnu/packages/guile.scm:110:2
The following package will be installed:
   guile-2.0.11 out /gnu/store/725n5w5vcpd9ihzr27vn7c731hx2ky0j-guile-2.0.11

The following derivation will be built:
   /gnu/store/9f94zzb70a77ap3fqf20ypx4yrp9ixf3-profile.drv
@ build-started /gnu/store/9f94zzb70a77ap3fqf20ypx4yrp9ixf3-profile.drv
   - x86_64-linux
   
/usr/local/var/log/guix/drvs/9f//94zzb70a77ap3fqf20ypx4yrp9ixf3-profile.drv.bz2
@ build-succeeded
   /gnu/store/9f94zzb70a77ap3fqf20ypx4yrp9ixf3-profile.drv -
2 packages in profile
The following environment variable definitions may be needed:
   export GUILE_LOAD_PATH="/home/carleos/.guix-profile/share/guile/site/2.0"
   export 
GUILE_LOAD_COMPILED_PATH="/home/carleos/.guix-profile/share/guile/site/2.0"
carleos@carleos:~$ ls .guix-profile/bin/
guild  guile  guile-config  guile-snarf  guile-tools  skribilo skribilo-config
carleos@carleos:~$ echo $PATH
/home/carleos/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
carleos@carleos:~$ export PATH=~/.guix-profile/bin:$PATH
carleos@carleos:~$ export 
GUILE_LOAD_PATH="/home/carleos/.guix-profile/share/guile/site/2.0"
carleos@carleos:~$ export 
GUILE_LOAD_COMPILED_PATH="/home/carleos/.guix-profile/share/guile/site/2.0"
carleos@carleos:~$ guile --version
guile (GNU Guile) 2.0.11
Copyright (C) 2014 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later
.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
carleos@carleos:~$ skribilo --version
Backtrace:
In ice-9/boot-9.scm:
2864: 19 [resolve-interface (skribilo) #:select ...]
2789: 18 [# # ...]
3065: 17 [try-module-autoload (skribilo) #f]
2401: 16 [save-module-excursion #]
3085: 15 [#]
In unknown file:
   ?: 14 [primitive-load-path "skribilo" ...]
In skribilo.scm:
  32: 13 [#]
In ice-9/boot-9.scm:
2951: 12 [define-module* (skribilo) #:filename ...]
2926: 11 [resolve-imports ((#) (#) (#) (#) ...)]
2864: 10 [resolve-interface (skribilo utils syntax) #:select ...]
2789: 9 [# # ...]
3065: 8 [try-module-autoload (skribilo utils syntax) #f]
2401: 7 [save-module-excursion #]
3085: 6 [#]
In unknown file:
   ?: 5 [primitive-load-path "skribilo/utils/syntax" ...]
In skribilo/utils/syntax.scm:
  22: 4 [#]
In ice-9/boot-9.scm:
2951: 3 [define-module* (skribilo utils syntax) #:filename ...]
2926: 2 [resolve-imports ((#) (#) (#))]
2867: 1 [resolve-interface (system reader library) #:select ...]
In unknown file:
   ?: 0 [scm-error misc-error #f ...]

ERROR: In procedure scm-error:
ERROR: no code for module (system reader library)
carleos@carleos:~$
--8<--corte-hasta-aquí--tranĉu-ĝis-ĉi-tie-->8--


-- 
 CARLOS CARLEOSKAROLO EL KARLEOJ 
 Secretario   Sekretario 
 Departamento de Estadística Departemento pri Statistiko 
 e Investigación Operativakaj Operac

Re: problems for install Skribilo-0.9.2 in Guix-0.6

2014-06-06 Thread Ludovic Courtès
Carlos Carleos  skribis:

> Ludovic Courtès  escribió / skribis [*]:
>
>> Did ‘make check’ in Guix pass in the first place?
>
> Yes:

Great.

>> Is the daemon running as noted at:
>>
>>   http://www.gnu.org/software/guix/manual/guix.html#Setting-Up-the-Daemon
>
> I think so:
>
> root@carleos:/usr/local/src/guix-0.6# guix-daemon 
> --build-users-group=guix-builder

Perfect.

I think you did not authorize installation of substitutes signed by
hydra.gnu.org (info "(guix) Substitutes"):

  guix archive --authorize < hydra.gnu.org.pub

That would allow you to download pre-built binaries, if that’s something
you prefer.

Thanks,
Ludo’.



Re: problems for install Skribilo-0.9.2 in Guix-0.6

2014-06-06 Thread Ludovic Courtès
Carlos Carleos  skribis:

> 
> Testsuite summary for GNU coreutils 8.22
> 
> # TOTAL: 551
> # PASS:  411
> # SKIP:  139
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> 
> See ./tests/test-suite.log
> Please report to bug-coreut...@gnu.org
> 
> Makefile:7037: recipe for target 'tests/test-suite.log' failed
> make[4]: *** [tests/test-suite.log] Error 1
> make[4]: Leaving directory 
> '/tmp/nix-build-coreutils-8.22.drv-0/coreutils-8.22'
> Makefile:7143: recipe for target 'check-TESTS' failed
> make[3]: *** [check-TESTS] Error 2
> make[3]: Leaving directory 
> '/tmp/nix-build-coreutils-8.22.drv-0/coreutils-8.22'
> Makefile:7391: recipe for target 'check-am' failed
> make[2]: *** [check-am] Error 2
> make[2]: Leaving directory 
> '/tmp/nix-build-coreutils-8.22.drv-0/coreutils-8.22'
> Makefile:6923: recipe for target 'check-recursive' failed
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory 
> '/tmp/nix-build-coreutils-8.22.drv-0/coreutils-8.22'
> Makefile:7393: recipe for target 'check' failed
> make: *** [check] Error 2
> phase `check' failed after 104 seconds
> builder for `/gnu/store/grqi4n9fvddqly000i70y5pgnwfk2nr8-coreutils-8.22.drv' 
> failed with exit code 1

Could you post somewhere the complete build log of Coreutils?  It can be
obtained using:

  guix build --log-file 
/gnu/store/grqi4n9fvddqly000i70y5pgnwfk2nr8-coreutils-8.22.drv

TIA,
Ludo’.



Re: problems for install Skribilo-0.9.2 in Guix-0.6

2014-06-05 Thread Carlos Carleos
Ludovic Courtès  escribió / skribis [*]:

> Did ‘make check’ in Guix pass in the first place?

Yes:


Testsuite summary for GNU Guix 0.6

# TOTAL: 28
# PASS:  28
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0



> Is the daemon running as noted at:
>
>   http://www.gnu.org/software/guix/manual/guix.html#Setting-Up-the-Daemon

I think so:

root@carleos:/usr/local/src/guix-0.6# guix-daemon 
--build-users-group=guix-builder
accepted connection from pid 8851, uid 1003
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
5468 operations







-- 
 CARLOS CARLEOSKAROLO EL KARLEOJ 
 Secretario   Sekretario 
 Departamento de Estadística Departemento pri Statistiko 
 e Investigación Operativakaj Operaciesploro 
 y Didáctica de la Matemáticakaj Didaktiko de Matematiko 
 Universidad Oviedo  Universitato Oviedo 
 Principado de Asturias  Princlando Asturujo 
 Reino de España  Reĝlando Hispanujo 
 Teléfono: 73353   SMS: +34 66 004 66 05 

_
El cibercorreo no es SMS: dispone de   |Retpoŝto malsamas ol SMS:
   - espacio suficiente| - sufiĉas spaco 
   - comodidades adecuadas | - taŭgas komfortaĵoj
para expresarse correctamente. |por ĝuste sin esprimi.   


[*] je la 13h4'3" en la 15ª de Prerialo en 166ª
= la 6ª de Ŝaban (شعبان) en 1435ª
= la 5ª de Junio en 2014ª de Kristo gregorie
= la 8ª (Ding1 丁未 Wei4) de monato 5ª (Geng1 庚午 Wu3) en 4651ª (Jia3 甲午 Wu3)
= la 7ª de Sivano (סיוון) en 5774ª
= la 23ª de Majo en 7522ª pokrovskija / konstancia / de Adamo / κατὰ 
ῥωμαίους



Re: problems for install Skribilo-0.9.2 in Guix-0.6

2014-06-05 Thread Andreas Enge
On Thu, Jun 05, 2014 at 03:04:03PM +0200, Ludovic Courtès wrote:
> Besides, note that if you want, you can instruct Guix to use pre-built
> binaries (when possible) by following the instructions at:
>   http://www.gnu.org/software/guix/manual/guix.html#Substitutes

Here the binary packages might have been garbage collected. I think we need
to ensure that the packages from the latest stable release are kept. Would
it be possible to register roots for this? Or one solution would be to install
all packages of a release into some user profile on the hydra machine.

Andreas




Re: problems for install Skribilo-0.9.2 in Guix-0.6

2014-06-05 Thread Ludovic Courtès
Hi,

Carlos Carleos  skribis:

> I've tried to install Skribilo-0.9.2 in a fresh Guix-0.6, in two
> different computers.  In both cases, I got an error.
>
> The first machine has Debian 7.5.
>
> carleos@aspireunu:~/tmp$ uname -a
> Linux aspireunu 3.2.0-4-686-pae #1 SMP Debian 3.2.57-3+deb7u1 i686 GNU/Linux
>
> The output I obtained when running "guix package -i skribilo" are in the
> attached file "guix-error_debian.txt".
>
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
>
> The second machine has Ubuntu 12.4.
>
> ~ $ uname -a
> Linux carleos 3.2.0-63-generic #95-Ubuntu SMP Thu May 15 23:05:57 UTC 2014 
> x86_64 x86_64 x86_64 GNU/Linux
>
> I atteched the last messages after running "guix package -i skribilo" in
> file "guix-error_ubuntu.txt".

In both cases, Coreutils fails to build.

Did ‘make check’ in Guix pass in the first place?  Is the daemon running
as noted at:

  http://www.gnu.org/software/guix/manual/guix.html#Setting-Up-the-Daemon

Besides, note that if you want, you can instruct Guix to use pre-built
binaries (when possible) by following the instructions at:

  http://www.gnu.org/software/guix/manual/guix.html#Substitutes

HTH,
Ludo’.