all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* not an ELF file
@ 2017-05-23 20:14 Catonano
  2017-05-23 20:21 ` Catonano
  2017-05-23 20:35 ` Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Catonano @ 2017-05-23 20:14 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]

after having reconfigured successully, attempting to experiment with qemu
some more

guix system vm /etc/vm-config-desktop.scm \
>    --image-size=30GB \
>    --expose=$HOME \
>    --share=$HOME/share=/exchange

I get this

;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/ui.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/gexp.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/store.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/utils.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
....

and many more

was the "latest" guix compiled with an old guile ?

[-- Attachment #2: Type: text/html, Size: 1088 bytes --]

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

* Re: not an ELF file
  2017-05-23 20:14 not an ELF file Catonano
@ 2017-05-23 20:21 ` Catonano
  2017-05-23 20:35 ` Ludovic Courtès
  1 sibling, 0 replies; 8+ messages in thread
From: Catonano @ 2017-05-23 20:21 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1923 bytes --]

I also get:

guix system: warning: Your Guix installation is 9 days old.
guix system: warning: Consider running 'guix pull' followed by

but I reconfigured some minutes ago

I also get

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'...

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'...
100.0%
guix system: error: guile-ssh-rexec-bug.patch: patch not found

How do I know which one is the one produced by the last reconfiguration ?

ls /gnu/store/ | grep guix-latest
1kpv2436gvlgdamq7fmzfmij4j1k04xk-guix-latest.lock
5z8z049ka64d0j5wcgr8lki4d7hycxjr-guix-latest-builder
9691ssj634qv17lkjsbw45dr22f3ba1w-guix-latest-builder
a83466xb67y1yha02cshkv2mq7x5ja04-guix-latest/
bzppcl2260jf7xmgclg21q7173b5zw52-guix-latest.drv
f4j7wi1ibnknsw83z7ls93z5iky3cjbp-guix-latest.drv
f62qraqvqh3pijg016r83z95m86jqm4d-guix-latest-builder
fw5h2c7b53v95ly9fwv5737yi48a322b-guix-latest/
fwyfhrrzn5xiajp51ca6fd5yfzbsb77x-guix-latest/
hlhk104mr0l9afikgcfvm4pyvyy7dq1k-guix-latest.tar.gz
iszc1y4rbibcv11hx95mrh7fm7rc7sr6-guix-latest.drv
l97q3xqsgf7ij0wsmw5nvqcd2k8fragh-guix-latest/
lqfi09gxk2zip7gznl69vl0mqh938691-guix-latest/
m5giwvvx866hhlh8241vqv9ld3za3gxf-guix-latest/
ndgh0amcnn7kv6z6837jd9gqrm0gyyff-guix-latest.drv
nkjg85v9sl3v8dvdz6bk8gwix58vwrz6-guix-latest.tar.gz
nsr2a5rp140z9lgzy06ffp05y81w45ia-guix-latest-builder
pxcm3zya7ygszbksrcgpr2fv9c61n0p3-guix-latest.drv
q1i2hba18ang1caw1i263c0w8gyjgxr8-guix-latest-builder
q2ybh27mbw2cfgh67by32lzhly1dbw26-guix-latest.drv
r28a6ckhdkz79qnk7sspm0rv83kg88a8-guix-latest-builder
rhyp8rw8xn1y4h6z1bgbf6c1q4m8vaah-guix-latest.tar.gz
rs6kpnglkskniv4f8a7hiqz5m6r8a3p4-guix-latest.drv
wa19n207pqfpg8pa69v8ndfmpfpphsrr-guix-latest-builder
wmara0ilcca5552dabqac6vnfp9hvn1k-guix-latest-builder
x235iqrxgizfyr7mw897cv7a4hq0vm24-guix-latest.drv
x4113k0z54fpa5gpwnwbsvlhk6asycn0-guix-latest/
zdzpc2d0xpafxp0rc80578l3s9h814dn-guix-latest.tar.gz

[-- Attachment #2: Type: text/html, Size: 2262 bytes --]

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

* Re: not an ELF file
  2017-05-23 20:14 not an ELF file Catonano
  2017-05-23 20:21 ` Catonano
@ 2017-05-23 20:35 ` Ludovic Courtès
  2017-05-23 20:55   ` Catonano
  1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2017-05-23 20:35 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Catonano <catonano@gmail.com> skribis:

> after having reconfigured successully, attempting to experiment with qemu
> some more
>
> guix system vm /etc/vm-config-desktop.scm \
>>    --image-size=30GB \
>>    --expose=$HOME \
>>    --share=$HOME/share=/exchange
>
> I get this
>
> ;;; WARNING: loading compiled file
> /home/catonano/.config/guix/latest/guix/ui.go failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> ;;; WARNING: loading compiled file
> /home/catonano/.config/guix/latest/guix/gexp.go failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> ;;; WARNING: loading compiled file
> /home/catonano/.config/guix/latest/guix/store.go failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> ;;; WARNING: loading compiled file
> /home/catonano/.config/guix/latest/guix/utils.go failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> ....

This means the code in ~/.config/guix/latest (which is populated by
‘guix pull’) comes from Guile 2.0, whereas the ‘guix’ command runs on
Guile 2.2.

Running ‘guix pull’ as user ‘catonano’ should solve the problem.

HTH!

Ludo’.

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

* Re: not an ELF file
  2017-05-23 20:35 ` Ludovic Courtès
@ 2017-05-23 20:55   ` Catonano
  2017-05-23 21:05     ` Catonano
  0 siblings, 1 reply; 8+ messages in thread
From: Catonano @ 2017-05-23 20:55 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 5378 bytes --]

2017-05-23 22:35 GMT+02:00 Ludovic Courtès <ludo@gnu.org>:

> Catonano <catonano@gmail.com> skribis:
>
> > after having reconfigured successully, attempting to experiment with qemu
> > some more
> >
> > guix system vm /etc/vm-config-desktop.scm \
> >>    --image-size=30GB \
> >>    --expose=$HOME \
> >>    --share=$HOME/share=/exchange
> >
> > I get this
> >
> > ;;; WARNING: loading compiled file
> > /home/catonano/.config/guix/latest/guix/ui.go failed:
> > ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> > ;;; WARNING: loading compiled file
> > /home/catonano/.config/guix/latest/guix/gexp.go failed:
> > ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> > ;;; WARNING: loading compiled file
> > /home/catonano/.config/guix/latest/guix/store.go failed:
> > ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> > ;;; WARNING: loading compiled file
> > /home/catonano/.config/guix/latest/guix/utils.go failed:
> > ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> > ....
>
> This means the code in ~/.config/guix/latest (which is populated by
> ‘guix pull’) comes from Guile 2.0, whereas the ‘guix’ command runs on
> Guile 2.2.
>
> Running ‘guix pull’ as user ‘catonano’ should solve the problem.
>
> HTH!
>

thanks

I get

guix pull
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/ui.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/gexp.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/store.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/utils.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/config.go failed:
;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/memoization.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/build/utils.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/build/syscalls.go failed:
;;; ERROR: In procedure load-thunk-from-memory: Carattere multibyte o
esteso non valido o incompleto
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/serialization.go failed:
;;; ERROR: In procedure load-thunk-from-memory: Carattere multibyte o
esteso non valido o incompleto
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/guix/combinators.go failed:


then


Starting download of /tmp/guix-file.WJ5nLR
From https://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
 ….tar.gz                                            0B/s 00:00 | 0B
transferre ….tar.gz                                     480KiB/s 00:00 |
64KiB transferre ….tar.gz                                    483KiB/s 00:00
| 128KiB transferre ….tar.gz                                    706KiB/s
00:00 | 192KiB transferre ….tar.gz
639KiB/s 00:00 | 256KiB transferre
….tar.gz                                    784KiB/s 00:00 | 320KiB
transferre ….tar.gz                                    924KiB/s 00:00 |
384KiB transferre ….tar.gz                                    844KiB/s
00:01 | 448KiB transferre ….tar.gz
943KiB/s 00:01 | 512KiB transferre



the last block:

unpacking
'/gnu/store/9i74zayg5l2bxf9i8abgrwhlr4iih32i-guix-latest.tar.gz'...
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/system.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/zile.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/lsof.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/firmware.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/cross-base.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/mingw.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/services.go failed:


and in the end

guix pull: error: guile-ssh-rexec-bug.patch: patch not found

[-- Attachment #2: Type: text/html, Size: 6530 bytes --]

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

* Re: not an ELF file
  2017-05-23 20:55   ` Catonano
@ 2017-05-23 21:05     ` Catonano
  2017-05-24  3:35       ` Catonano
  0 siblings, 1 reply; 8+ messages in thread
From: Catonano @ 2017-05-23 21:05 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 75 bytes --]

it was suggested to me to try to guix pull in the root user too

Let's see

[-- Attachment #2: Type: text/html, Size: 191 bytes --]

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

* Re: not an ELF file
  2017-05-23 21:05     ` Catonano
@ 2017-05-24  3:35       ` Catonano
  2017-05-24 10:08         ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Catonano @ 2017-05-24  3:35 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]

sudo guix pull succeeded

guix pull fails with
guix pull: error: guile-ssh-rexec-bug.patch: patch not found

togethher with a ton of

;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/unrtf.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/uucp.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/vtk.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/wdiff.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/wine.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente
;;; WARNING: loading compiled file
/home/catonano/.config/guix/latest/gnu/packages/xnee.go failed:
;;; ERROR: In procedure load-thunk-from-memory: File o directory non
esistente


2017-05-23 23:05 GMT+02:00 Catonano <catonano@gmail.com>:

> it was suggested to me to try to guix pull in the root user too
>
> Let's see
>
>
>

[-- Attachment #2: Type: text/html, Size: 1914 bytes --]

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

* Re: not an ELF file
  2017-05-24  3:35       ` Catonano
@ 2017-05-24 10:08         ` Ludovic Courtès
  2017-05-24 11:10           ` Catonano
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2017-05-24 10:08 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Catonano <catonano@gmail.com> skribis:

> sudo guix pull succeeded
>
> guix pull fails with
> guix pull: error: guile-ssh-rexec-bug.patch: patch not found

Hmm, could you run “rm ~/.config/guix/latest”?

HTH,
Ludo’.

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

* Re: not an ELF file
  2017-05-24 10:08         ` Ludovic Courtès
@ 2017-05-24 11:10           ` Catonano
  0 siblings, 0 replies; 8+ messages in thread
From: Catonano @ 2017-05-24 11:10 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 957 bytes --]

2017-05-24 12:08 GMT+02:00 Ludovic Courtès <ludo@gnu.org>:

> Catonano <catonano@gmail.com> skribis:
>
> > sudo guix pull succeeded
> >
> > guix pull fails with
> > guix pull: error: guile-ssh-rexec-bug.patch: patch not found
>
> Hmm, could you run “rm ~/.config/guix/latest”?
>

I could. But then, without a working guix, how would I reinstate it ?

Anyway, I linked .config/guix/latest to a local checkked out master branch
I had

It seems to work

Ricardo made me aware that I could run "guix pull" from within any checked
out guix and that would reset the .coni/guix/latest  to point to a guix
subjected to the "guix pull" command

So it seems this is solved

I believe that these tricks related to .config/guix/latest  should be
discussed, to some extent, in the manual

It's not just a configuration matter
It's about the substantial day to day use

I will open a new thread for this

In the meantime: thank you

[-- Attachment #2: Type: text/html, Size: 1535 bytes --]

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

end of thread, other threads:[~2017-05-24 11:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-23 20:14 not an ELF file Catonano
2017-05-23 20:21 ` Catonano
2017-05-23 20:35 ` Ludovic Courtès
2017-05-23 20:55   ` Catonano
2017-05-23 21:05     ` Catonano
2017-05-24  3:35       ` Catonano
2017-05-24 10:08         ` Ludovic Courtès
2017-05-24 11:10           ` Catonano

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.