On 05/10/2017 at 13:11 myglc2 writes: > On 05/10/2017 at 14:05 Ludovic Courtès writes: > >> Hi, >> >> myglc2 <myg...@gmail.com> 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 ... > > g1@g1 ~/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 ... g1@g1 ~/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 ... g1@g1 ~/src/guix$ git -C ~/.config/guix/latest describe v0.12.0-3681-gbc0e6c931 ... and my ~/.config/guix/latest points to it ... g1@g1 ~/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 ... g1@g1 ~$ 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