Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-27 Thread Thorsten Wilms
On 27.09.2018 09:45, Ricardo Wurmus wrote: I also did `sudo guix pull` and updated all packages for both roles. Foreign distro (Ubuntu 18.04, Unity Edition). Note that “sudo guix pull” fetches a new version of Guix for the root user only. Yes, I made sure to update both as plain user and via

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-27 Thread Ricardo Wurmus
Hi Thorsten, > On 12.09.2018 19:14, Ludovic Courtès wrote: >> Once you have run ‘guix pull’, the ‘guile-gcrypt’ package is known and >> it’s an input to the ‘guix’ package. Thus, from there on, simply >> running: >> >>guix environment guix >> >> should give you an environment that contains

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-14 Thread Thorsten Wilms
On 12.09.2018 19:14, Ludovic Courtès wrote: Once you have run ‘guix pull’, the ‘guile-gcrypt’ package is known and it’s an input to the ‘guix’ package. Thus, from there on, simply running: guix environment guix should give you an environment that contains guile-gcrypt, guile-json, guile, an

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-12 Thread Ludovic Courtès
Hello, Paul Garlick skribis: > I have just needed to introduce a couple of concepts in order to use > the ./pre-inst-env commands in the git checkout.  Firstly, I use a > development environment created by: Once you have run ‘guix pull’, the ‘guile-gcrypt’ package is known and it’s an input to

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-11 Thread Paul Garlick
Hi Ludo, > Or am I missing something? > No, I don't think so.  Everything is working again after your bug fix.   I have just needed to introduce a couple of concepts in order to use the ./pre-inst-env commands in the git checkout.  Firstly, I use a development environment created by: $ guix en

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-10 Thread Ludovic Courtès
Hello, Paul Garlick skribis: > Is there a best way to notify the ./pre-inst-env commands about guile- > gcrypt?  Using sudo seems like the wrong approach.  Would installing > guile-gcrypt as the development user suffice? ‘guix pull’ and ‘make as-derivation’ (which is really like ‘guix pull --ur

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-10 Thread Paul Garlick
Hi Pjotr, Thank you. > Guix is built with Guile and Guile has trouble finding the gcrypt > package.   Having successfully upgraded my root and user Guix installations I now find that my development installation is unable to locate guile-gcrypt: $ ./pre-inst-env guix --version ERROR: In procedur

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-10 Thread Pjotr Prins
Guix does not expose Guile load paths in etc/profile nor --search-paths. This makes it a bit trickier to solve ** ERROR: In procedure scm-error: no code for module (gcrypt hash) Guix is built with Guile and Guile has trouble finding the gcrypt package. One fix is to install guix in a profile and

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-06 Thread Paul Garlick
Hi Ludo, Success! I have been able to upgrade the root Guix installation. The steps I have taken were: i) remove the 'latest' symlink ii) re-create the symlink to point to the previous installation iii) use 'guix gc --delete' to delete the guile-gcrypt package components iv) run 'GUILE_LOAD_PATH

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-06 Thread Ludovic Courtès
Hi Paul, Paul Garlick skribis: > I tried a 'guix pull' as root and this time it completes.  However, > there were warnings generated: Could you paste complete commands and outputs? That would help determine the context of the warning/error messages you mention. > Now all the guix commands I h

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-06 Thread Paul Garlick
> > Pushed as 3ffcad7df3ab8947010814f61b32ce14ea80e780, thanks! > Hi Ludo, I tried a 'guix pull' as root and this time it completes.  However, there were warnings generated: WARNING: compilation of /gnu/store/38553wfz0jwlgbw13pk99xl79pbfx58d- guile-2.2.3/bin/guild failed and Failed to autolo

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-06 Thread Ludovic Courtès
Hi, l...@gnu.org (Ludovic Courtès) skribis: > Indeed, that may well be the reason. Can you try to apply the patch > below in a local branch, and then run “make as-derivation”? I was able to reproduce the bug by myself, by running: guix pull --commit=6f84dc4314cd84550d9fc7e7afa11c495edc45a5

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-06 Thread Paul Garlick
On Wed, 2018-09-05 at 22:58 +0200, Ludovic Courtès wrote: >  > Indeed, that may well be the reason.  Can you try to apply the patch > below in a local branch, and then run “make as-derivation”? > Hi Ludo, Many thanks.  I have applied the patch in a new branch. $ git describe v0.15.0-1390-gca719

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-06 Thread Ludovic Courtès
Hi, Alex Vong skribis: > It returns: > > == > ac_cv_path_LIBGCRYPT_CONFIG=/usr/bin/libgcrypt-config > LIBGCRYPT='libgcrypt' > LIBGCRYPT_CFLAGS='' > LIBGCRYPT_CONFIG='/usr/bin/libgcrypt-config' > LIBGCRYPT_LIBDIR='' > LIBGCRYPT_L

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-05 Thread Alex Vong
Hello everyone, I think I figure out why it is failing! Firstly, I am building on debian testing, so the issue may not appear when building guix within guix. Secondly, I run 'git clean -fdx && git reset --hard' and install guile-gcrypt before I build, so dirty build dir and missing deps shouldn't

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-05 Thread Ludovic Courtès
Hi Paul, Paul Garlick skribis: >> ‘guix pull’ will happily perform the transition. > > For me, I have an older Guix (16th May) that fails to install guile- > gcrypt.  As root: > > $ guix --version > guix (GNU Guix) 6f84dc4314cd84550d9fc7e7afa11c495edc45a5 > > When I try 'guix pull' there is an a

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-05 Thread Paul Garlick
Hi Ludo, > ‘guix pull’ will happily perform the transition. For me, I have an older Guix (16th May) that fails to install guile- gcrypt.  As root: $ guix --version guix (GNU Guix) 6f84dc4314cd84550d9fc7e7afa11c495edc45a5 When I try 'guix pull' there is an attempt to build guile-gcrypt locally t

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-04 Thread Ludovic Courtès
Hi Alex, Alex Vong skribis: > CXXLDguix-daemon > /usr/bin/ld: nix/nix-daemon/guix_daemon-guix-daemon.o: in function `main': > /home/alexvong1995/scm/guix/nix/nix-daemon/guix-daemon.cc:434: undefined > reference to `gcry_check_version' > /usr/bin/ld: /home/alexvong1995/scm/guix/nix/nix-dae

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-04 Thread Leo Famulari
On Wed, Sep 05, 2018 at 04:07:41AM +0800, Alex Vong wrote: > Is master FTBFS because of this update? I get the following error when > running make: It works for me after I did `make clean` and made sure that guile-gcrypt was available. Basically: $ guix environment --pure guix --ad-hoc guile-gcr

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-04 Thread Alex Vong
Is master FTBFS because of this update? I get the following error when running make: == Updating ./doc/version.texi MAKEINFO doc/guix.info Updating ./doc/version-fr.texi MAKEINFO doc/guix.fr.info CXX nix/nix-daemon/gui

Re: Heads-up: New dependency on Guile-Gcrypt

2018-09-03 Thread Christopher Lemmer Webber
Ludovic Courtès writes: > Hello Guix! > > Coming soon: Guix will no longer provide its own crypto modules and will > instead depend on Guile-Gcrypt: > > https://issues.guix.info/issue/32606 > > ‘guix pull’ will happily perform the transition. > > If you’re used to working on a Git checkout with