all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* WARNING: loading compiled file activation.go failed: ERROR: not an ELF file
@ 2017-05-17 14:22 myglc2
  2017-05-19  9:05 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: myglc2 @ 2017-05-17 14:22 UTC (permalink / raw)
  To: guix-devel

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=4 --max-jobs=4
reconfigure sys.scm
[...]
activating system...
;;; WARNING: loading compiled file /gnu/store/zaj3a5fsxjalirfypz6hn7hx3vc9d5kp-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/zaj3a5fsxjalirfypz6hn7hx3vc9d5kp-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 system...
[...]
Installation finished. No error reported.
root@g1 ~/con/4#

Version info
: guix (GNU Guix) 0.12.0.3894-6f543
: Copyright (C) 2017 the Guix authors
: License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
: This is free software: you are free to change and redistribute it.
: There is NO WARRANTY, to the extent permitted by law.
:   File: /root/.config/guix/latest -> /home/g1/src/guix/
: v0.12.0-3911-ge7620b649
: e7620b649 gnu: qemu: Fix CVE-2017-7493.
: * o-master                                e7620b649 gnu: qemu: Fix CVE-2017-7493.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WARNING: loading compiled file activation.go failed: ERROR: not an ELF file
  2017-05-17 14:22 WARNING: loading compiled file activation.go failed: ERROR: not an ELF file myglc2
@ 2017-05-19  9:05 ` Ludovic Courtès
  2017-05-19 21:49   ` myglc2
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-05-19  9:05 UTC (permalink / raw)
  To: myglc2; +Cc: guix-devel

Hi,

myglc2 <myglc2@gmail.com> 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=4 --max-jobs=4
> reconfigure sys.scm
> [...]
> activating system...
> ;;; WARNING: loading compiled file /gnu/store/zaj3a5fsxjalirfypz6hn7hx3vc9d5kp-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/zaj3a5fsxjalirfypz6hn7hx3vc9d5kp-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 system...
> [...]
> 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’t prevent ‘guix system reconfigure’ from completing.)

From now on, you should make sure you only have 2.2 .go files around.
If you use ‘guix pull’, that means that you have to run ‘guix pull’.

If instead ~/.config/guix/latest is a symlink to a checkout that you
made yourself, then make sure to “make clean && make” with Guile 2.2.

HTH!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WARNING: loading compiled file activation.go failed: ERROR: not an ELF file
  2017-05-19  9:05 ` Ludovic Courtès
@ 2017-05-19 21:49   ` myglc2
  0 siblings, 0 replies; 3+ messages in thread
From: myglc2 @ 2017-05-19 21:49 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

On 05/19/2017 at 11:05 Ludovic Courtès writes:

> Hi,
>
> myglc2 <myglc2@gmail.com> 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=4 --max-jobs=4
>> reconfigure sys.scm
>> [...]
>> activating system...
>> ;;; WARNING: loading compiled file /gnu/store/zaj3a5fsxjalirfypz6hn7hx3vc9d5kp-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/zaj3a5fsxjalirfypz6hn7hx3vc9d5kp-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 system...
>> [...]
>> 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’t prevent ‘guix system reconfigure’ from completing.)
>
> From now on, you should make sure you only have 2.2 .go files around.
> If you use ‘guix pull’, that means that you have to run ‘guix pull’.
>
> If instead ~/.config/guix/latest is a symlink to a checkout that you
> made yourself, then make sure to “make clean && make” with Guile 2.2.
>

Thanks Ludo’. I tried both approaches:

In the g1 user account I did git pull, "make clean && make". I ended up
with guile 2.2. But when I tried to reconfigure as root I got the
"activation.go failed:" messages.

So, as root, I tried guix pull (please see below). I still ended up with
"activation.go failed:" and now I have guile 2.0.

TIA - George

root@g1 ~/con/7# guix pull

Starting download of /tmp/guix-file.tCtCOM
From https://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
 ….tar.gz                                   2.8MiB/s 00:05 | 13.1MiB transferred
unpacking '/gnu/store/5xv70jwadhknhhma3c3vv2jhj2jwh62m-guix-latest.tar.gz'...
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivation will be built:
   /gnu/store/ihg334sz1vh99pp0ck0dvwahnw26nhqc-guix-latest.drv
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
copying and compiling to '/gnu/store/b05wix312n8b0r2slcjrxrjf85h1ylr2-guix-latest' with Guile 2.2.2...
loading...	 24.7% of 595 filesrandom seed for tests: 1495218038
loading...	 99.8% of 595 files
compiling...	 98.7% of 595 files

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
updated GNU Guix successfully deployed under `/root/.config/guix/latest'
root@g1 ~/con/7# guix system --cores=4 --max-jobs=4 -K --on-error=debug build sys.scm
/gnu/store/zga47bix1jjqxskmc7z470rjqj21z2hj-system
root@g1 ~/con/7# guix system --fallback --cores=4 --max-jobs=4 reconfigure sys.scm
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivation will be built:
   /gnu/store/1lbk6yyxq6ll86cymyjdp4qaf6xqj6z1-grub.cfg.drv
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
/gnu/store/zga47bix1jjqxskmc7z470rjqj21z2hj-system
/gnu/store/a309iqd2s0fr1w1ljy0a4pra3v3nwm23-grub.cfg
/gnu/store/bdzxdpdw25k8v6lz54clz42bilx47srj-grub-2.02
/gnu/store/ldk2vqmxsmfk4ibwhijxxyzqv8wha54n-bootloader-installer
activating system...
;;; WARNING: loading compiled file /gnu/store/yayx5714vbxrl7fn4gygvbp662hbc53y-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/yayx5714vbxrl7fn4gygvbp662hbc53y-module-import-compiled/gnu/build/activation.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
making '/gnu/store/zga47bix1jjqxskmc7z470rjqj21z2hj-system' the current system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/3ic3cb3k5vabfc0cilgz79pc5jsrdvak-etc...
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
guix system: unloading service 'user-homes'...
shepherd: Removing service 'user-homes'...
shepherd: Done.
guix system: loading new services: user-homes...
shepherd: Evaluating user expression (register-services (primitive-load "/gnu/s...")).
shepherd: Service user-homes could not be started.
Installing for i386-pc platform.
Installation finished. No error reported.
root@g1 ~/con/7# guix --version
guix (GNU Guix) 20170519.18
Copyright (C) 2017 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
root@g1 ~/con/7# stat ~/.config/guix/latest | grep File:
  File: /root/.config/guix/latest -> /gnu/store/b05wix312n8b0r2slcjrxrjf85h1ylr2-guix-latest
root@g1 ~/con/7# guile --version
guile (GNU Guile) 2.0.14
Copyright (C) 2016 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
root@g1 ~/con/7# which guile
/run/current-system/profile/bin/guile
root@g1 ~/con/7# guix package --list-installed
root@g1 ~/con/7# cat sys.scm
;;; GuixSD headless server
(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules
 admin
 base
 certs
 cups
 disk
 emacs
 freeipmi
 linux
 qemu
 rsync
 screen
 ssh
 version-control
 wget
 xorg 
 )
(operating-system
  (host-name "g1")
  (timezone "America/New_York")
  (locale "en_US.utf8")
  (kernel-arguments '("console=ttyS1,115200"))
  ;; RAID1 root using 1 NVMe SSD + 2 HDs
  (bootloader (grub-configuration (device "/dev/nvme0n1")
				  (terminal-outputs '(console))
				  (terminal-inputs '(serial console))
				  (serial-speed 115200)				  
				  ))
  (initrd (lambda (file-systems . rest) (apply base-initrd file-systems
					       #:extra-modules '("raid1")
					       rest)))
  (mapped-devices (list (mapped-device
			 (source '("/dev/nvme0n1p1" "/dev/sda1" "/dev/sdb1"))
			 (target "/dev/md3")
			 (type raid-device-mapping))))
  (file-systems (cons (file-system
			(title 'device)
			(device "/dev/md3")
			(mount-point "/")
			(type "ext4")
			(dependencies mapped-devices))
		      %base-file-systems))
  (swap-devices '("/dev/nvme0n1p2" ))
  (users (cons* (user-account (name "g1")
			      (group "users")
			      (supplementary-groups '("wheel" "kvm"))
			      (home-directory (string-append "/home/" name)))
		(user-account (name "admin")
			      (group "users")
			      (supplementary-groups '("wheel" "kvm"))
			      (home-directory (string-append "/home/" name)))
		%base-user-accounts))
  (packages (cons*
	     cups
	     emacs-no-x-toolkit
	     emacs-guix
	     emacs-zenburn-theme
	     freeipmi
	     git
	     glibc-utf8-locales
	     gnu-make
	     mdadm
	     magit
	     nss-certs
	     openssh
	     parted
	     qemu
	     rsync
	     screen
	     smartmontools
	     tree
	     wget
	     xauth
	     %base-packages))
  (services (cons* (dhcp-client-service)
		   (ntp-service)
		   (service openssh-service-type (openssh-configuration
						  (x11-forwarding? #t)))
		   (agetty-service (agetty-configuration (tty "ttyS1")
							 (baud-rate "115200")))
		   %base-services)))
root@g1 ~/con/7# 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-19 21:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-17 14:22 WARNING: loading compiled file activation.go failed: ERROR: not an ELF file myglc2
2017-05-19  9:05 ` Ludovic Courtès
2017-05-19 21:49   ` myglc2

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.