guix-devel
[Top][All Lists]
Advanced

[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 13:11:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

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

;-) George




reply via email to

[Prev in Thread] Current Thread [Next in Thread]