[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Heads-up: transition to Guile 2.2
From: |
myglc2 |
Subject: |
Re: Heads-up: transition to Guile 2.2 |
Date: |
Wed, 10 May 2017 20:40:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
On 05/10/2017 at 13:11 myglc2 writes:
> On 05/10/2017 at 14:05 Ludovic Courtès writes:
>
>> Hi,
>>
>> myglc2 <address@hidden> skribis:
>>
>>> I run GuixSD from git checkout this way ...
>>>
>>> cd ~/src/guix
>>> guix environment -e "(@ (gnu packages package-management) guix)" -M 4 \
>>> -c 4
>>> git pull
>>> make clean-go
>>> ./bootstrap
>>> ./configure --localstatedir=/var --sysconfdir=/etc
>>> make -j 10 check
>>> exit
>>> sudo guix system build /root/con/55.scm -M 4 -c 4
>>> sudo guix system reconfigure /root/con/55.scm -M 4 -c 4
>>> sudo reboot
>>>
>>> Should this just work? Or is there something that needs to be done
>>> differently for the 2.0 >>> 2.2 change?
>>
>> That should just work.
>>
>> The only issue you might have is warnings about invalid .go files if
>> ~/.config/guix/latest contains 2.0 .go files and you’re running Guile
>> 2.2. The fix is to run ‘guix pull’.
>
> Thanks, I did that and, as you suggested, I got warnings ...
>
> address@hidden ~/src$ guix package -m g1.scm
> ;;; WARNING: loading compiled file /home/g1/.config/guix/latest/guix/ui.go
> failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> ;;; note: source file /home/g1/.config/guix/latest/guix/ui.scm
> ;;; newer than compiled
> /gnu/store/d4wwx93gqizx132zjk7h1ir7rzph0pig-guix-0.12.0-10.ba2260d/lib/guile/2.2/site-ccache/guix/ui.go
>
> ... but I really didn't want to do a git pull. So I re-built guix.
>
> Bottom line: FWIW, I upgraded from 2.0 to 2.2 without 'guix pull' like
> this way ...
>
> cd ~/src/guix
> guix environment -e "(@ (gnu packages package-management) guix)" -M 4 \
> -c 4
> git pull
> make clean-go
> ./bootstrap
> ./configure --localstatedir=/var --sysconfdir=/etc
> make -j 10 check
> exit
> sudo guix system build /root/con/55.scm -M 4 -c 4
> sudo guix system reconfigure /root/con/55.scm -M 4 -c 4
> sudo reboot
> <log in>
> cd ~/src/guix
> guix environment -e "(@ (gnu packages package-management) guix)" -M 4 \
> -c 4
> make clean-go
> ./bootstrap
> ./configure --localstatedir=/var --sysconfdir=/etc
> make -j 10 check
Or maybe not. With your recent change, guix says it's 85 days old ...
address@hidden ~/src/guix$ guix package -i icecat
guix package: warning: Your Guix installation is 85 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
[...]
But I just did a git pull ...
address@hidden ~/src/guix$ git -C ~/.config/guix/latest describe
v0.12.0-3681-gbc0e6c931
... and my ~/.config/guix/latest points to it ...
address@hidden ~/src/guix$ stat ~/.config/guix/latest | grep File:
File: /home/g1/.config/guix/latest -> /home/g1/src/guix/
... and I did 'make' and 'git system reconfigure' & reboot so that guix
claims it is the latest version ...
address@hidden ~$ guix --version guix
(GNU Guix) 0.12.0.3681-bc0e6
So... is some part of my guix 85 days old?
Or... there a problem with the new "days old" message?
TIA - George
- Heads-up: transition to Guile 2.2, Ludovic Courtès, 2017/05/09
- Re: Heads-up: transition to Guile 2.2, myglc2, 2017/05/09
- Re: Heads-up: transition to Guile 2.2, Ludovic Courtès, 2017/05/10
- Re: Heads-up: transition to Guile 2.2, myglc2, 2017/05/10
- Re: Heads-up: transition to Guile 2.2,
myglc2 <=
- Re: Heads-up: transition to Guile 2.2, Ludovic Courtès, 2017/05/11
- Re: Heads-up: transition to Guile 2.2, myglc2, 2017/05/11
- Re: Heads-up: transition to Guile 2.2, ng0, 2017/05/11
- Re: Heads-up: transition to Guile 2.2, ng0, 2017/05/11
- Re: Heads-up: transition to Guile 2.2, Adonay Felipe Nogueira, 2017/05/11
- Re: Heads-up: transition to Guile 2.2, Chris Marusich, 2017/05/12
- Re: Heads-up: transition to Guile 2.2, ng0, 2017/05/18
- Re: Heads-up: transition to Guile 2.2, Vincent Legoll, 2017/05/11
- Re: Heads-up: transition to Guile 2.2, Ludovic Courtès, 2017/05/11
Re: Heads-up: transition to Guile 2.2, Pjotr Prins, 2017/05/14