about guile-gcrypt in guix environment guix --container

2018-11-06 Thread guy fleury
hi all

i try to set a guix environment with:
   guix environment guix --container --ad-hoc git

   then i run ./confugure in a reposity i clone from savannah

but it fails whith this error:
--
checking if (gcrypt hash) is available... no
configure: error: Guile-Gcrypt could not be found; please install it.
--
   
it is not the job of guix environment to set everything not myself?
and i can't add it like i did for git because it's not yet packaged

i am on debian
guix (GNU Guix) 0.15.0

how can i resolve it without installing manually guile-gcrypt?

sorry for my bad English!





Re: *** TRYING TO INSTALL GUIXSD v0.15.0 FOR DAYS ***

2018-11-06 Thread Brian Woodcox
I have resolved the mouse selection issue in VirtualBox on Mac OSX High Sierra 
running GuixSD.

To fix this issue, you have to go to Settings —> Mouse and Touchpad remove the 
check mark on the Devices tab for Enable this device.

Reboot the computer and this will automatically be re-enabled when the virtual 
machine boots up again and no more mouse issues when selecting graphical 
windows and icons on the Xfce 4.12 Desktop

P.S. QEMU does not run fast enough on a mac, but VirtualBox is super fast.


Cheers!



> On Nov 6, 2018, at 10:08 AM, Brian Woodcox  wrote:
> 
> 
> The only real problem I have with this setup is the fact that the windowing 
> system (XFCE) in VirtualBox is loosing mouse functionality.
> 
> The mouse pointer is there, but I can’t always select things graphically.  
> Mainly happens when I open a window and try to click on the desktop.  Oh 
> well, that’s the cutting edge I guess.
> 




Re: guix pull fails while Migrating profile generations

2018-11-06 Thread Thorsten Wilms

Hi!

On Ubuntu, starting from
"guix pull: error: symlink: File exists: ..."

I manually removed/changed/created symlinks and had guix working again.

A few `guix pull` and `sudo guix pull` later:

---
~: guix pull
guile: warning: failed to install locale
hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' 
package and defining `GUIX_LOCPATH', along these lines:


 guix package -i glibc-utf8-locales
 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.


Migrating profile generations to '/var/guix/profiles/per-user/thorwil'...
guix pull: error: symlink: File exists: 
"/var/guix/profiles/per-user/thorwil/current-guix"

---

(glibc-utf8-locales is installed and 
GUIX_LOCPATH=/home/thorwil/.guix-profile/lib/locale is set, but that's 
another topic)



Now:
---
~: readlink ~/.config/guix/current
current-1-link
---

current-1-link doesn't exist!


I'm breathing manually now. I would appreciate an overview of what is 
supposed to sit where and where it is supposed to point to. I may have 
gotten something wrong ... but then again, guix working and failing 
again shortly after isn't exactly the outcome I'd expect in that case.



Sidenote: I wanted to try pulling as root and then choosing the same 
commit as user, as recently suggested:


---
~: sudo guix describe
(...)
guix: describe: command not found
---

Plain `guix describe` did work, until this linking business went wrong 
again.


---
~: sudo guix --version
=> 0.15.0-2.8bbb79c
---

--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/



Re: *** TRYING TO INSTALL GUIXSD v0.15.0 FOR DAYS ***

2018-11-06 Thread George Clemmer
Hello swedebugia,

swedebugia  writes:

> Hi
>
> On 2018-11-01 01:09, George Clemmer wrote:
> snip
>> And, with the current state of the guix infrastructure, even a 'guix
>> pull' on a fresh vm-image triggers guile bootstrap. And a guile
>> bootstrap, on the best of days, displays these symptoms: howling CPUs
>> and hardly any disk activity.
>>
>> So, relative to what one expects when installing a distro this feels
>> hung. Not the most confidence inspiring experience to subject a guix
>> noob to ;-)
>>
> I react a little on the wording of you last phrase.
> We did not subject anyone to anything.

I am sorry this came across as a potshot. That was not my intent.

> Trying out beta software like guix (especially when our servers are
> down) and pulling the latest guix commit is in my view (with my
> earlier guix-experience) asking for trouble.
>
> Pulling a commit like the one that points to 0.15 see
> http://git.savannah.gnu.org/cgit/guix.git/tag/?h=v0.15.0 is far better
> -
> I did that 2 days ago with no trouble. No building locally of the few
> packages I needed on a bare-bone install, berlin had 30-40% of the
> substitutes available.
>
> We do a rolling release with NO testing branch currently. So everybody
> who pulls the latest and greatest is a tester willingly or not.

Yes I know, I have used GuixSD as my daily driver for nearly 3 years ;-)

Please let me restate the key points in hopefully more neutral terms:

The fact that Guix can build anything from source means that a new user
may think the Guix install is hung when it is, in fact, working as
designed.  This may cause failure to recruit new users.

Commentary:

It is not typical of a key product feature that when it works it feels
broken ;-). IMO this presents unique documentation, marketing, and
support issues that will need to be addressed to grow GuixSD beyond the
current user base.

> Thus what we could do to improve the situation is to instruct users to
> NOT pull the latest guix unless they know what they are doing or are
> willing to deal with anything that comes up...

Do you mean we should tell users specific commits to pull? Or 'guix
pull' should not pull from the latest commit?  Or something else?

Best,
- George

PS: Maybe further discussion should be taken off the bug?

PPS: Mark pointed out elsewhere that I may misunderstand Brian's
problem. IMO that doesn't undermine the points above.




Re: *** TRYING TO INSTALL GUIXSD v0.15.0 FOR DAYS ***

2018-11-06 Thread Brian Woodcox
Hi Mark,

I do have it working now in VirtualBox.

I may try it again down the road, just to see how smooth the experience should 
be. :)

The only real problem I have with this setup is the fact that the windowing 
system (XFCE) in VirtualBox is loosing mouse functionality.

The mouse pointer is there, but I can’t always select things graphically.  
Mainly happens when I open a window and try to click on the desktop.  Oh well, 
that’s the cutting edge I guess.

I was also installing GuixSD with QEMU.  That runs a lot slower than the 
VirtualBox install, but I probably could have given more resources to that 
build.

At any rate the QEMU install bombed out with an error, so now I am using the 
hydra site and things are progressing so well that it was up and running in a 
very short time.

Thanks.

> On Nov 5, 2018, at 10:14 PM, Mark H Weaver  wrote:
> 
> Hi Brian,
> 
> Earlier, I wrote:
>> (1) You could wait until hydra.gnu.org comes back online, which I expect
>> to happen sometime next week.  Hydra has a full set of substitutes for
>> 0.15.0, so you shouldn't need to build Guile at that point.
> 
> hydra.gnu.org is now back up, so this would be a good time to try again.
> 
> Mark




Guix pull error

2018-11-06 Thread znavko
Hello, Guix Help!
I watch an issue. Trying to roll-back and choose another kernel in grub I have 
no changes. Guix says 'Wrong type to upply: #t'


# guix pull  --substitute-urls=https://berlin.guixsd.org 

Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git' 
...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git 
    cddc030
Computing Guix derivation for 'x86_64-linux'... -
The following derivations will be built:
   /gnu/store/swnx6wdgb7b46m450rqsagczss8v09qk-profile.drv
   /gnu/store/y02zb0irq8d0zicsh7cfirp0ax7r2mv5-ca-certificate-bundle.drv
   /gnu/store/pqxzpznd11wgbszk2g93rb2ymisasrhy-fonts-dir.drv
   /gnu/store/nlzn5h8r8n6w0ga5mxxd6dkkvv2isfgr-info-dir.drv
   /gnu/store/xw73gmjq3idgd4bkbkkc7lnxp237px8b-config.scm.drv
   /gnu/store/683h596w7m0zxgz9kc3ivhwaqnfrzdka-guix-config-source.drv
   /gnu/store/6jyhgb0fpv3w86vqj40q23smhng4jvsq-guix-cli.drv
   /gnu/store/6wqfy3l4i2slh213ifnh6djdvxz06ima-guix-packages-base.drv
   /gnu/store/94k6sl6vrd9zaryz2hnm9r6y721rrla6-guix-system.drv
   /gnu/store/c86n77i6zf9kn4rn20bkq5935xpkd1zh-guix-config.drv
   /gnu/store/gkbgcbg379fpcwdhlipqyn4gw6xp7ggx-guix-packages.drv
   /gnu/store/2z00yh2lz84fki8fyqx6jc68lf38h134-guix-command.drv
   /gnu/store/ibsy655dw4rvnp16vphapj2qk5qj7nb9-guix-cddc0300b-modules.drv
   /gnu/store/wn3wjpyn7wm1z7zz6s1sqrf222qi9b4x-guix-cddc0300b-modules.drv
   /gnu/store/5jhhh418mlaxmqpmb956xldbrmh4mmrd-manual-database.drv
   /gnu/store/js1ghld6vqfwnd3iswvkw825ywnnjgsc-guix-cddc0300b.drv
substitute: updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
substitute: updating substitutes from 'https://berlin.guixsd.org 
'... 100.0%
building /gnu/store/6wqfy3l4i2slh213ifnh6djdvxz06ima-guix-packages-base.drv...
compiling...    100.0% of 235 files
successfully built 
/gnu/store/6wqfy3l4i2slh213ifnh6djdvxz06ima-guix-packages-base.drv
building /gnu/store/xw73gmjq3idgd4bkbkkc7lnxp237px8b-config.scm.drv...
successfully built /gnu/store/xw73gmjq3idgd4bkbkkc7lnxp237px8b-config.scm.drv
building /gnu/store/gkbgcbg379fpcwdhlipqyn4gw6xp7ggx-guix-packages.drv...
compiling...    100.0% of 180 files
successfully built /gnu/store/gkbgcbg379fpcwdhlipqyn4gw6xp7ggx-guix-packages.drv
building /gnu/store/683h596w7m0zxgz9kc3ivhwaqnfrzdka-guix-config-source.drv...
successfully built 
/gnu/store/683h596w7m0zxgz9kc3ivhwaqnfrzdka-guix-config-source.drv
building /gnu/store/94k6sl6vrd9zaryz2hnm9r6y721rrla6-guix-system.drv...
compiling...    100.0% of 68 files
successfully built /gnu/store/94k6sl6vrd9zaryz2hnm9r6y721rrla6-guix-system.drv
building 
/gnu/store/wn3wjpyn7wm1z7zz6s1sqrf222qi9b4x-guix-cddc0300b-modules.drv...
successfully built 
/gnu/store/wn3wjpyn7wm1z7zz6s1sqrf222qi9b4x-guix-cddc0300b-modules.drv
building /gnu/store/6jyhgb0fpv3w86vqj40q23smhng4jvsq-guix-cli.drv...
compiling...    100.0% of 41 files
successfully built /gnu/store/6jyhgb0fpv3w86vqj40q23smhng4jvsq-guix-cli.drv
building /gnu/store/c86n77i6zf9kn4rn20bkq5935xpkd1zh-guix-config.drv...
compiling...    100.0% of 1 files
successfully built /gnu/store/c86n77i6zf9kn4rn20bkq5935xpkd1zh-guix-config.drv
building 
/gnu/store/ibsy655dw4rvnp16vphapj2qk5qj7nb9-guix-cddc0300b-modules.drv...
successfully built 
/gnu/store/ibsy655dw4rvnp16vphapj2qk5qj7nb9-guix-cddc0300b-modules.drv
building /gnu/store/2z00yh2lz84fki8fyqx6jc68lf38h134-guix-command.drv...
successfully built /gnu/store/2z00yh2lz84fki8fyqx6jc68lf38h134-guix-command.drv
building /gnu/store/js1ghld6vqfwnd3iswvkw825ywnnjgsc-guix-cddc0300b.drv...
successfully built 
/gnu/store/js1ghld6vqfwnd3iswvkw825ywnnjgsc-guix-cddc0300b.drv
building 
/gnu/store/y02zb0irq8d0zicsh7cfirp0ax7r2mv5-ca-certificate-bundle.drv...
successfully built 
/gnu/store/y02zb0irq8d0zicsh7cfirp0ax7r2mv5-ca-certificate-bundle.drv
building /gnu/store/pqxzpznd11wgbszk2g93rb2ymisasrhy-fonts-dir.drv...
successfully built 

Re: *** TRYING TO INSTALL GUIXSD v0.15.0 FOR DAYS ***

2018-11-06 Thread swedebugia

Hi

On 2018-11-01 01:09, George Clemmer wrote:
snip

And, with the current state of the guix infrastructure, even a 'guix
pull' on a fresh vm-image triggers guile bootstrap. And a guile
bootstrap, on the best of days, displays these symptoms: howling CPUs
and hardly any disk activity.

So, relative to what one expects when installing a distro this feels
hung. Not the most confidence inspiring experience to subject a guix
noob to ;-)


I react a little on the wording of you last phrase.
We did not subject anyone to anything.

Trying out beta software like guix (especially when our servers are 
down) and pulling the latest guix commit is in my view (with my earlier 
guix-experience) asking for trouble.


Pulling a commit like the one that points to 0.15 see 
http://git.savannah.gnu.org/cgit/guix.git/tag/?h=v0.15.0 is far better - 
I did that 2 days ago with no trouble. No building locally of the few 
packages I needed on a bare-bone install, berlin had 30-40% of the 
substitutes available.


Thus what we could do to improve the situation is to instruct users to 
NOT pull the latest guix unless they know what they are doing or are 
willing to deal with anything that comes up...


We do a rolling release with NO testing branch currently. So everybody 
who pulls the latest and greatest is a tester willingly or not.


--
Cheers
Swedebugia




RE: guix pull fails while Migrating profile generations

2018-11-06 Thread Henk Katerberg
Hi Ludo,

root@stoeptegel ~/.config/guix# ls -al
total 8
drwxr-xr-x 2 root root 4096 Nov  6 08:55 ./
drwxr-xr-x 3 root root 4096 Oct 19 13:33 ../
lrwxrwxrwx 1 root root   33 Oct 25 09:16 current -> 
/root/.config/guix/current-1-link


I have since performed the following steps:
  cd /var/guix/profiles/per-user/root
  rm current-guix-1-link
  rm current-guix-2-link
  rm current-guix-3-link
  rm current-guix-4-link
  rm current-guix-5-link
  rm current-guix-6-link
  rm current-guix 
  /run/current-system/profile/bin/guix pull

That pull no longer complained and seems to have been successfull:

root@stoeptegel ~/.config/guix# ls -al
total 8
drwxr-xr-x 2 root root 4096 Nov  6 09:01 ./
drwxr-xr-x 3 root root 4096 Oct 19 13:33 ../
lrwxrwxrwx 1 root root   45 Nov  6 09:01 current -> 
/var/guix/profiles/per-user/root/current-guix

root@stoeptegel ~# ls -al /var/guix/profiles/per-user/root
total 8
drwxr-xr-x 2 root root 4096 Nov  6 10:57 ./
drwxrwxrwt 5 root root 4096 Nov  6 08:54 ../
lrwxrwxrwx 1 root root   19 Nov  6 09:59 current-guix -> current-guix-2-link
lrwxrwxrwx 1 root root   51 Nov  6 09:59 current-guix-2-link -> 
/gnu/store/17mlp6dhc65mpqrm2x0w7p45znqxcfhs-profile

The machine is currently performing a guix system reconfigure. So, I think I've 
recovered.

Unfortunately, I have no way of reproducing the erroneous situation. I have 
experienced the problem on two distinct GuixSD installations and got there 
throught normal guix commands (no manual tinkering).


Regards,
Henk


From: Ludovic Courtès [l...@gnu.org]
Sent: Tuesday, November 6, 2018 11:29 AM
To: Henk Katerberg
Cc: help-guix@gnu.org
Subject: Re: guix pull fails while Migrating profile generations

Hello,

Henk Katerberg  skribis:

> # guix pull
> Migrating profile generations to '/var/guix/profiles/per-user/root'...
> guix pull: error: symlink: File exists: 
> "/var/guix/profiles/per-user/root/current-guix-1-link"
>
> # ls -al /var/guix/profiles/per-user/root
> total 8
> drwxr-xr-x 2 root root 4096 Oct 24 13:31 ./
> drwxrwxrwt 4 root root 4096 Oct 19 13:13 ../
> lrwxrwxrwx 1 root root   19 Oct 24 13:31 current-guix -> current-guix-6-link
> lrwxrwxrwx 1 root root   51 Oct 23 10:47 current-guix-1-link -> 
> /gnu/store/qdw75jq1ca2yn5v2p2shsqzynx9kb4ry-profile
> lrwxrwxrwx 1 root root   51 Oct 23 10:47 current-guix-2-link -> 
> /gnu/store/vq18fwd8h9c551iwjf2wdqdjiw7v6ga6-profile
> lrwxrwxrwx 1 root root   51 Oct 23 10:47 current-guix-3-link -> 
> /gnu/store/09c5qi053swrdsr4ydcm0f3xwpr3chl2-profile
> lrwxrwxrwx 1 root root   51 Oct 23 10:49 current-guix-4-link -> 
> /gnu/store/9lpay121z4r07m76fqq75a31njgdcysp-profile
> lrwxrwxrwx 1 root root   51 Oct 24 09:17 current-guix-5-link -> 
> /gnu/store/hi11y3myi2590ca7vkhilx12l6gd277s-profile
> lrwxrwxrwx 1 root root   51 Oct 24 13:31 current-guix-6-link -> 
> /gnu/store/dc6d6ycff573s8rln1sks02nghccgwfx-profile

It seems that everything was migrated and is OK, but
~/.config/guix/current still points to the “old” target no?

Could you make sure you have something similar to this:

  $ readlink ~/.config/guix/current
  /var/guix/profiles/per-user/ludo/current-guix

?

HTH!

Ludo’.



Re: hydra.gnu.org off-line for maintenance

2018-11-06 Thread Ludovic Courtès
Hello,

I’m happy to announce that hydra.gnu.org is now back up, thanks to
Mark H Weaver who made sure all the services were up and running
yesterday.

For the record, the outage was initiated by the FSF sysadmins to change
disks in the machine’s disk array (hydra.gnu.org is hosted by the FSF).
They initially thought this would take much less time.

Apologies for the inconvenience!

From there on we must see on our side what we can do to improve the
resilience of our main substitute servers, should the head node of the
build farm fail.

Ludo’.


signature.asc
Description: PGP signature


Re: guix pull fails while Migrating profile generations

2018-11-06 Thread Ludovic Courtès
Hello,

Henk Katerberg  skribis:

> # guix pull
> Migrating profile generations to '/var/guix/profiles/per-user/root'...
> guix pull: error: symlink: File exists: 
> "/var/guix/profiles/per-user/root/current-guix-1-link"
>
> # ls -al /var/guix/profiles/per-user/root
> total 8
> drwxr-xr-x 2 root root 4096 Oct 24 13:31 ./
> drwxrwxrwt 4 root root 4096 Oct 19 13:13 ../
> lrwxrwxrwx 1 root root   19 Oct 24 13:31 current-guix -> current-guix-6-link
> lrwxrwxrwx 1 root root   51 Oct 23 10:47 current-guix-1-link -> 
> /gnu/store/qdw75jq1ca2yn5v2p2shsqzynx9kb4ry-profile
> lrwxrwxrwx 1 root root   51 Oct 23 10:47 current-guix-2-link -> 
> /gnu/store/vq18fwd8h9c551iwjf2wdqdjiw7v6ga6-profile
> lrwxrwxrwx 1 root root   51 Oct 23 10:47 current-guix-3-link -> 
> /gnu/store/09c5qi053swrdsr4ydcm0f3xwpr3chl2-profile
> lrwxrwxrwx 1 root root   51 Oct 23 10:49 current-guix-4-link -> 
> /gnu/store/9lpay121z4r07m76fqq75a31njgdcysp-profile
> lrwxrwxrwx 1 root root   51 Oct 24 09:17 current-guix-5-link -> 
> /gnu/store/hi11y3myi2590ca7vkhilx12l6gd277s-profile
> lrwxrwxrwx 1 root root   51 Oct 24 13:31 current-guix-6-link -> 
> /gnu/store/dc6d6ycff573s8rln1sks02nghccgwfx-profile

It seems that everything was migrated and is OK, but
~/.config/guix/current still points to the “old” target no?

Could you make sure you have something similar to this:

  $ readlink ~/.config/guix/current
  /var/guix/profiles/per-user/ludo/current-guix

?

HTH!

Ludo’.