guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WARNING: loading compiled file activation.go failed: ERROR: not an E


From: myglc2
Subject: Re: WARNING: loading compiled file activation.go failed: ERROR: not an ELF file
Date: Fri, 19 May 2017 17:49:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

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

> Hi,
>
> myglc2 <address@hidden> 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
>>
>> address@hidden ~/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

address@hidden ~/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'
address@hidden ~/con/7# guix system --cores=4 --max-jobs=4 -K --on-error=debug 
build sys.scm
/gnu/store/zga47bix1jjqxskmc7z470rjqj21z2hj-system
address@hidden ~/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.
address@hidden ~/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.
address@hidden ~/con/7# stat ~/.config/guix/latest | grep File:
  File: /root/.config/guix/latest -> 
/gnu/store/b05wix312n8b0r2slcjrxrjf85h1ylr2-guix-latest
address@hidden ~/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.
address@hidden ~/con/7# which guile
/run/current-system/profile/bin/guile
address@hidden ~/con/7# guix package --list-installed
address@hidden ~/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)))
address@hidden ~/con/7# 



reply via email to

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