From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: Re: Heads-up: transition to Guile 2.2 Date: Tue, 09 May 2017 18:26:48 -0400 Message-ID: <864lwtzmxj.fsf@gmail.com> References: <87bmt28qnm.fsf@gnu.org> <87k26chy16.fsf@gnu.org> <87y3u5wwsi.fsf_-_@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8Daq-0000hH-Ek for guix-devel@gnu.org; Tue, 09 May 2017 18:26:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8Dal-00017R-DR for guix-devel@gnu.org; Tue, 09 May 2017 18:26:56 -0400 In-Reply-To: <87y3u5wwsi.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Tue, 09 May 2017 23:22:05 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel On 05/09/2017 at 23:22 Ludovic Court=C3=A8s writes: > Hello Guix! > > ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > >> There=E2=80=99s a problem though, called =E2=80=9Cguix pull=E2=80=9D. ~= /.config/guix/latest >> currently contains 2.0 .go files. Thus after reconfiguring GuixSD to >> use Guix-for-2.2, running =E2=80=98guix=E2=80=99 typically gives loads o= f warnings like: >> >> ;;; WARNING: loading compiled file /home/ludo/.config/guix/latest/guix= /derivations.go failed: >> ;;; ERROR: In procedure load-thunk-from-memory: No such file or direct= ory > > With commit 838ba73d6e49bd2b1f2d4ed9329b65cc4e8c1f54, =E2=80=98guix pull= =E2=80=99 builds > with the currently used Guile, be it 2.0 or 2.2. To achieve that, it > tries hard to pick 2.0 or 2.2 packages for the dependencies of Guix. > > If it cannot find a =E2=80=9Cguile-ssh=E2=80=9D package for the Guile bei= ng used (for > instance, you=E2=80=99re using Guile 2.2 but lacking the =E2=80=9Cguile-s= sh=E2=80=9D package > built with 2.2), then it simply skips modules that depend on Guile-SSH; > they are optional anyway. For Guile-JSON, it just assumes that there is > a matching Guile-JSON, which should be the case anyway. > > As I wrote before, =E2=80=98guix pull=E2=80=99 in its current form is pre= tty fragile; > please report any problems you have. > > > In addition, with commit 7561881f2a5d2dc463c24713745eca03e67044bf, the > =E2=80=9Cguix=E2=80=9D package is now built with Guile 2.2 instead of 2.0= . Thus, next > time you update GuixSD, /run/current-system/profile/bin/guix will be > using Guile 2.2. At that point, if ~/.config/guix/latest contains .go > files for 2.0, you=E2=80=99ll get warnings as shown above, and you=E2=80= =99ll have to > =E2=80=9Cguix pull=E2=80=9D to get rid of them. > > > At this point, we=E2=80=99re still using Guile 2.0 (1) to build derivatio= ns, and > (2) in the Shepherd, mcron, and modules imported inside the Shepherd. > In =E2=80=98core-updates=E2=80=99 we have addressed #1 and we=E2=80=99ll = address #2 as well. > > Ludo=E2=80=99. Hi Ludo, this sounds great! 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=3D/var --sysconfdir=3D/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? TIA - George