From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: WARNING: loading compiled file activation.go failed: ERROR: not an ELF file Date: Fri, 19 May 2017 11:05:21 +0200 Message-ID: <87zie9gqsu.fsf@gnu.org> References: <86d1b7imvw.fsf@gmail.com> 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]:40728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBdqh-00068v-DG for guix-devel@gnu.org; Fri, 19 May 2017 05:05:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBdqe-0006XN-9Z for guix-devel@gnu.org; Fri, 19 May 2017 05:05:27 -0400 In-Reply-To: <86d1b7imvw.fsf@gmail.com> (myglc2@gmail.com's message of "Wed, 17 May 2017 10:22:27 -0400") 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: myglc2 Cc: guix-devel Hi, myglc2 skribis: > The warning/error shown below sounds alarming but seems to be > harmless. But it leaves me wondering, is there a way to fix it? > > TIA - George > > root@g1 ~/con/4# guix system --fallback --cores=3D4 --max-jobs=3D4 > reconfigure sys.scm > [...] > activating system... > ;;; WARNING: loading compiled file /gnu/store/zaj3a5fsxjalirfypz6hn7hx3vc= 9d5kp-module-import-compiled/gnu/build/activation.go failed: > ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file > ;;; WARNING: loading compiled file /gnu/store/zaj3a5fsxjalirfypz6hn7hx3vc= 9d5kp-module-import-compiled/gnu/build/activation.go failed: > ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file > making '/gnu/store/fz77c02mf1dh84zj5vxfswcq1m3ibhxz-system' the current s= ystem... > [...] > Installation finished. No error reported. Contrary to what the messages say, these are actually warnings. ;-) They come from Guile 2.2 complaining that it stumbled upon Guile 2.0 .go files: https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00515.html (The warnings didn=E2=80=99t prevent =E2=80=98guix system reconfigure=E2=80= =99 from completing.) >From now on, you should make sure you only have 2.2 .go files around. If you use =E2=80=98guix pull=E2=80=99, that means that you have to run =E2= =80=98guix pull=E2=80=99. If instead ~/.config/guix/latest is a symlink to a checkout that you made yourself, then make sure to =E2=80=9Cmake clean && make=E2=80=9D with = Guile 2.2. HTH! Ludo=E2=80=99.