Re: bug#18534: problems with guix pull

2014-11-09 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis:

 The old ‘guix pull’ didn’t now about the gnu.scm file, hence the error
 (this was fixed in June, in commit 9d0b8fbd.)

 That means you have to actually run ‘guix pull’ from 0.7, or from a
 recent checkout.

 The fact that ‘guix pull’ can potentially break for some future version
 is unfortunate.  It would be ideal if instead of using its own build
 recipe, it would use one from the tarball.

[...]

 Igor Gajsin igaj...@mirantis.com skribis:
 
  This is a output of `guix pull --verbose`
 
  compiling
  /gnu/store/akma9bmmjnizkv9sj1669wa8x4abrzyp-guix-latest/guix/import/pypi.scm'...
  ERROR: no code for module (json)
 
 For now, this problem can be worked around as described here:
 
   http://lists.gnu.org/archive/html/guix-devel/2014-09/msg00488.html

This bug should be fixed by f81ac34.

The idea is that the build recipe that is executed is now taken from the
newly-downloaded Guix.  Before that, we would use the build recipe from
whatever Guix version was running, hence this kind of problems.

Comments and testing welcome!

Thanks,
Ludo’.



Re: problems with guix pull

2014-09-23 Thread Ludovic Courtès
Carlos Carleos carl...@uniovi.es skribis:

 Hi!  On a Ubuntu system I've tried sudo guix pull --verbose and obtained 
 this
 ([...] used to shorten the output; warnings and errors left):

[...]

 compiling 
 '/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/gnu/packages/abiword.scm'...
 [...]
 compiling 
 '/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/gnu/services/xorg.scm'...
 compiling 
 '/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/gnu/system.scm'...
 compiling 
 '/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/gnu/system/file-systems.scm'...
 compiling 
 '/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/gnu/system/grub.scm'...
 compiling 
 '/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/gnu/system/install.scm'...
 ERROR: no code for module (gnu)

[...]

 carleos@carleos:~$ guix --version
 guix (GNU Guix) 0.6

The old ‘guix pull’ didn’t now about the gnu.scm file, hence the error
(this was fixed in June, in commit 9d0b8fbd.)

That means you have to actually run ‘guix pull’ from 0.7, or from a
recent checkout.

The fact that ‘guix pull’ can potentially break for some future version
is unfortunate.  It would be ideal if instead of using its own build
recipe, it would use one from the tarball.

I’ll see how this can be fixed.

(Cc: bug-guix so the bug is recorded.)

Thanks,
Ludo’.



problems with guix pull

2014-09-22 Thread Carlos Carleos

Hi!  On a Ubuntu system I've tried sudo guix pull --verbose and obtained this
([...] used to shorten the output; warnings and errors left):

--8--corte-desde-aquí---tranĉu-de-ĉi-tie--8--
guix-master/po/guix/de.po
guix-master/po/guix/eo.po
guix-master/po/guix/hu.po
[...]
guix-master/tests/union.scm
guix-master/tests/utils.scm
copying and compiling Guix to 
`/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest'...
`guix/packages.scm' - 
`/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/packages.scm'
`guix/gnupg.scm' - 
`/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/gnupg.scm'
[...]
`gnu/packages/patches/abiword-no-include-glib-internal-headers.patch' - 
`/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/gnu/packages/patches/abiword-no-include-glib-internal-headers.patch'
`gnu/packages/patches/petsc-fix-threadcomm.patch' - 
`/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/gnu/packages/patches/petsc-fix-threadcomm.patch'
`gnu/build/activation.scm' - 
`/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/gnu/build/activation.scm'
[...]
`gnu/build/linux-initrd.scm' - 
`/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/gnu/build/linux-initrd.scm'
compiling '/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/base32.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/base64.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build-system.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build-system/cmake.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build-system/gnu.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build-system/perl.scm'...
;;; Failed to autoload make-session in (gnutls):
;;; ERROR: missing interface for module (gnutls)
;;; Failed to autoload connection-end/client in (gnutls):
;;; ERROR: missing interface for module (gnutls)
;;; Failed to autoload make-session in (gnutls):
;;; ERROR: missing interface for module (gnutls)
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build-system/python.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build-system/trivial.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build/cmake-build-system.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build/download.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build/emacs-utils.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build/git.scm'...
;;; guix/build/download.scm:121:17: warning: possibly unbound variable 
`make-session'
;;; guix/build/download.scm:121:17: warning: possibly unbound variable 
`connection-end/client'
;;; guix/build/download.scm:122:4: warning: possibly unbound variable 
`set-session-transport-fd!'
;;; guix/build/download.scm:123:4: warning: possibly unbound variable 
`set-session-default-priority!'
;;; guix/build/download.scm:124:4: warning: possibly unbound variable 
`set-session-credentials!'
;;; guix/build/download.scm:124:38: warning: possibly unbound variable 
`make-certificate-credentials'
;;; guix/build/download.scm:130:4: warning: possibly unbound variable 
`handshake'
;;; guix/build/download.scm:131:18: warning: possibly unbound variable 
`session-record-port'
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build/gnu-build-system.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build/gnu-dist.scm'...
;;; guix/build/gnu-build-system.scm:103:8: warning: possibly wrong number of 
arguments to `copy-recursively'
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build/perl-build-system.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/build/pull.scm'...
[...]
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/scripts/refresh.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/scripts/substitute-binary.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/scripts/system.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/serialization.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/snix.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/store.scm'...
;;; guix/scripts/refresh.scm:245:14: warning: non-literal format string
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/svn-download.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/tests.scm'...
compiling 
'/gnu/store/8s2y6886rl6z79axbskyh17xd18xw5cq-guix-latest/guix/ui.scm'...
compiling