all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 'sudo -i guix pull' errors
@ 2018-01-17 23:16 Quiliro Ordonez Baca
  2018-01-19 10:03 ` Chris Marusich
  0 siblings, 1 reply; 6+ messages in thread
From: Quiliro Ordonez Baca @ 2018-01-17 23:16 UTC (permalink / raw)
  To: help-guix


I was running:
$ sudo guix system reconfigure config.scm --fallback
but it has taken 12 hours on a Core2Duo with 2GB in RAM. So I tryed:
$ sudo -i guix pull
but it reports errors:
$ sudo -i guix pull
Password: 
Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Backtrace:
          10 (primitive-load "/gnu/store/imanixx1wliv189y2vzmhbvabjk…")
In guix/ui.scm:
  1331:12  9 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    837:9  8 (catch _ _ #<procedure 7fbf932d98c0 at guix/ui.scm:448…> …)
    837:9  7 (catch _ _ #<procedure 7fbf932d98d8 at guix/ui.scm:536…> …)
    837:9  6 (catch _ _ #<procedure 7fbf8ffdbbb8 at guix/scripts/pu…> …)
In guix/scripts/pull.scm:
   273:27  5 (_)
In guix/git.scm:
   115:29  4 (latest-repository-commit #<build-daemon 256.97 2a6cf50> …)
In ice-9/boot-9.scm:
    849:4  3 (with-throw-handler _ _ _)
In git/clone.scm:
    44:14  2 (_ _ _ _)
In git/structs.scm:
   398:26  1 (clone-options->pointer #<pointer 0x0>)
In ice-9/boot-9.scm:
   760:25  0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:760:25: In procedure dispatch-exception:
ice-9/boot-9.scm:760:25: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #<pointer 0x0>
$ 

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

* Re: 'sudo -i guix pull' errors
  2018-01-17 23:16 'sudo -i guix pull' errors Quiliro Ordonez Baca
@ 2018-01-19 10:03 ` Chris Marusich
  2018-01-19 17:09   ` Quiliro Ordonez Baca
  2018-01-19 21:10   ` Quiliro Ordonez Baca
  0 siblings, 2 replies; 6+ messages in thread
From: Chris Marusich @ 2018-01-19 10:03 UTC (permalink / raw)
  To: Quiliro Ordonez Baca; +Cc: help-guix

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

Quiliro Ordonez Baca <quiliro@riseup.net> writes:

> I was running:
> $ sudo guix system reconfigure config.scm --fallback
> but it has taken 12 hours on a Core2Duo with 2GB in RAM. So I tryed:
> $ sudo -i guix pull
> but it reports errors:
> $ sudo -i guix pull
> Password: 
> Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Backtrace:
>           10 (primitive-load "/gnu/store/imanixx1wliv189y2vzmhbvabjk…")
> In guix/ui.scm:
>   1331:12  9 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
>     837:9  8 (catch _ _ #<procedure 7fbf932d98c0 at guix/ui.scm:448…> …)
>     837:9  7 (catch _ _ #<procedure 7fbf932d98d8 at guix/ui.scm:536…> …)
>     837:9  6 (catch _ _ #<procedure 7fbf8ffdbbb8 at guix/scripts/pu…> …)
> In guix/scripts/pull.scm:
>    273:27  5 (_)
> In guix/git.scm:
>    115:29  4 (latest-repository-commit #<build-daemon 256.97 2a6cf50> …)
> In ice-9/boot-9.scm:
>     849:4  3 (with-throw-handler _ _ _)
> In git/clone.scm:
>     44:14  2 (_ _ _ _)
> In git/structs.scm:
>    398:26  1 (clone-options->pointer #<pointer 0x0>)
> In ice-9/boot-9.scm:
>    760:25  0 (dispatch-exception _ _ _)
>
> ice-9/boot-9.scm:760:25: In procedure dispatch-exception:
> ice-9/boot-9.scm:760:25: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #<pointer 0x0>
> $ 
>

That's terrible.  I'm not sure what this means, but I've seen similarly
confusing backtraces when backwards-incompatible ABI changes have
occurred.  Maybe you can try removing ~root/.cache/guile/ccache and see
if the command works?

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: 'sudo -i guix pull' errors
  2018-01-19 10:03 ` Chris Marusich
@ 2018-01-19 17:09   ` Quiliro Ordonez Baca
  2018-01-19 21:10   ` Quiliro Ordonez Baca
  1 sibling, 0 replies; 6+ messages in thread
From: Quiliro Ordonez Baca @ 2018-01-19 17:09 UTC (permalink / raw)
  To: Chris Marusich; +Cc: help-guix

Chris Marusich <cmmarusich@gmail.com> writes:

> Quiliro Ordonez Baca <quiliro@riseup.net> writes:
>
>> I was running:
>> $ sudo guix system reconfigure config.scm --fallback
>> but it has taken 12 hours on a Core2Duo with 2GB in RAM. So I tryed:
>> $ sudo -i guix pull
>> but it reports errors:
>> $ sudo -i guix pull
>> Password: 
>> Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
>> Backtrace:
>>           10 (primitive-load "/gnu/store/imanixx1wliv189y2vzmhbvabjk…")
>> In guix/ui.scm:
>>   1331:12  9 (run-guix-command _ . _)
>> In ice-9/boot-9.scm:
>>     837:9  8 (catch _ _ #<procedure 7fbf932d98c0 at guix/ui.scm:448…> …)
>>     837:9  7 (catch _ _ #<procedure 7fbf932d98d8 at guix/ui.scm:536…> …)
>>     837:9  6 (catch _ _ #<procedure 7fbf8ffdbbb8 at guix/scripts/pu…> …)
>> In guix/scripts/pull.scm:
>>    273:27  5 (_)
>> In guix/git.scm:
>>    115:29  4 (latest-repository-commit #<build-daemon 256.97 2a6cf50> …)
>> In ice-9/boot-9.scm:
>>     849:4  3 (with-throw-handler _ _ _)
>> In git/clone.scm:
>>     44:14  2 (_ _ _ _)
>> In git/structs.scm:
>>    398:26  1 (clone-options->pointer #<pointer 0x0>)
>> In ice-9/boot-9.scm:
>>    760:25  0 (dispatch-exception _ _ _)
>>
>> ice-9/boot-9.scm:760:25: In procedure dispatch-exception:
>> ice-9/boot-9.scm:760:25: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #<pointer 0x0>
>> $ 
>>
>
> That's terrible.  I'm not sure what this means, but I've seen similarly
> confusing backtraces when backwards-incompatible ABI changes have
> occurred.  Maybe you can try removing ~root/.cache/guile/ccache and see
> if the command works?

Ran:
sudo -E guix pull
and it worked. But if I run:
sudo -i guix system reconfigure config.scm --fallback
it complains that I am running an old version of Guix.

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

* Re: 'sudo -i guix pull' errors
  2018-01-19 10:03 ` Chris Marusich
  2018-01-19 17:09   ` Quiliro Ordonez Baca
@ 2018-01-19 21:10   ` Quiliro Ordonez Baca
  2018-01-25 14:39     ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Quiliro Ordonez Baca @ 2018-01-19 21:10 UTC (permalink / raw)
  To: Chris Marusich; +Cc: help-guix

Chris Marusich <cmmarusich@gmail.com> writes:

> Quiliro Ordonez Baca <quiliro@riseup.net> writes:
>
>> I was running:
>> $ sudo guix system reconfigure config.scm --fallback
>> but it has taken 12 hours on a Core2Duo with 2GB in RAM. So I tryed:
>> $ sudo -i guix pull
>> but it reports errors:
>> $ sudo -i guix pull
>> Password: 
>> Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
>> Backtrace:
>>           10 (primitive-load "/gnu/store/imanixx1wliv189y2vzmhbvabjk…")
>> In guix/ui.scm:
>>   1331:12  9 (run-guix-command _ . _)
>> In ice-9/boot-9.scm:
>>     837:9  8 (catch _ _ #<procedure 7fbf932d98c0 at guix/ui.scm:448…> …)
>>     837:9  7 (catch _ _ #<procedure 7fbf932d98d8 at guix/ui.scm:536…> …)
>>     837:9  6 (catch _ _ #<procedure 7fbf8ffdbbb8 at guix/scripts/pu…> …)
>> In guix/scripts/pull.scm:
>>    273:27  5 (_)
>> In guix/git.scm:
>>    115:29  4 (latest-repository-commit #<build-daemon 256.97 2a6cf50> …)
>> In ice-9/boot-9.scm:
>>     849:4  3 (with-throw-handler _ _ _)
>> In git/clone.scm:
>>     44:14  2 (_ _ _ _)
>> In git/structs.scm:
>>    398:26  1 (clone-options->pointer #<pointer 0x0>)
>> In ice-9/boot-9.scm:
>>    760:25  0 (dispatch-exception _ _ _)
>>
>> ice-9/boot-9.scm:760:25: In procedure dispatch-exception:
>> ice-9/boot-9.scm:760:25: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #<pointer 0x0>
>> $ 
>>
>
> That's terrible.  I'm not sure what this means, but I've seen similarly
> confusing backtraces when backwards-incompatible ABI changes have
> occurred.  Maybe you can try removing ~root/.cache/guile/ccache and see
> if the command works?

Ran:
sudo rm -fr /root/.cache/guile/ccache
and then:
sudo guix pull
Got errors:
quiliro@portkomputilo ~$ sudo guix pull
Password: 
Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Backtrace:
          10 (primitive-load "/gnu/store/imanixx1wliv189y2vzmhbvabjk…")
In guix/ui.scm:
  1331:12  9 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    837:9  8 (catch _ _ #<procedure 7fa3ad29e8c0 at guix/ui.scm:448…> …)
    837:9  7 (catch _ _ #<procedure 7fa3ad29e8d8 at guix/ui.scm:536…> …)
    837:9  6 (catch _ _ #<procedure 7fa3a9fa0bb8 at guix/scripts/pu…> …)
In guix/scripts/pull.scm:
   273:27  5 (_)
In guix/git.scm:
   115:29  4 (latest-repository-commit #<build-daemon 256.97 2d12f50> …)
In ice-9/boot-9.scm:
    849:4  3 (with-throw-handler _ _ _)
In git/clone.scm:
    44:14  2 (_ _ _ _)
In git/structs.scm:
   398:26  1 (clone-options->pointer #<pointer 0x0>)
In ice-9/boot-9.scm:
   760:25  0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:760:25: In procedure dispatch-exception:
ice-9/boot-9.scm:760:25: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #<pointer 0x0>
quiliro@portkomputilo ~$ 

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

* Re: 'sudo -i guix pull' errors
  2018-01-19 21:10   ` Quiliro Ordonez Baca
@ 2018-01-25 14:39     ` Ludovic Courtès
  2018-01-29 15:17       ` Quiliro Ordonez Baca
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2018-01-25 14:39 UTC (permalink / raw)
  To: Quiliro Ordonez Baca; +Cc: help-guix

Hi Quiliro,

Quiliro Ordonez Baca <quiliro@riseup.net> skribis:

> Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Backtrace:
>           10 (primitive-load "/gnu/store/imanixx1wliv189y2vzmhbvabjk…")
> In guix/ui.scm:
>   1331:12  9 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
>     837:9  8 (catch _ _ #<procedure 7fa3ad29e8c0 at guix/ui.scm:448…> …)
>     837:9  7 (catch _ _ #<procedure 7fa3ad29e8d8 at guix/ui.scm:536…> …)
>     837:9  6 (catch _ _ #<procedure 7fa3a9fa0bb8 at guix/scripts/pu…> …)
> In guix/scripts/pull.scm:
>    273:27  5 (_)
> In guix/git.scm:
>    115:29  4 (latest-repository-commit #<build-daemon 256.97 2d12f50> …)
> In ice-9/boot-9.scm:
>     849:4  3 (with-throw-handler _ _ _)
> In git/clone.scm:
>     44:14  2 (_ _ _ _)
> In git/structs.scm:
>    398:26  1 (clone-options->pointer #<pointer 0x0>)

This looks like the issue described at <https://bugs.gnu.org/29238>.

What does “sudo guix pull --version” report?

I think you can work around it by installing a newer Guile-Git as root:

  # guix package -i /gnu/store/…-guile-git…

where the /gnu/store file name above is that returned by ‘guix build
guile-git’ on a more recent Guix.

HTH!

Ludo’.

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

* Re: 'sudo -i guix pull' errors
  2018-01-25 14:39     ` Ludovic Courtès
@ 2018-01-29 15:17       ` Quiliro Ordonez Baca
  0 siblings, 0 replies; 6+ messages in thread
From: Quiliro Ordonez Baca @ 2018-01-29 15:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

ludo@gnu.org (Ludovic Courtès) writes:

> Hi Quiliro,
>
> Quiliro Ordonez Baca <quiliro@riseup.net> skribis:
>
>> Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
>> Backtrace:
>>           10 (primitive-load "/gnu/store/imanixx1wliv189y2vzmhbvabjk…")
>> In guix/ui.scm:
>>   1331:12  9 (run-guix-command _ . _)
>> In ice-9/boot-9.scm:
>>     837:9  8 (catch _ _ #<procedure 7fa3ad29e8c0 at guix/ui.scm:448…> …)
>>     837:9  7 (catch _ _ #<procedure 7fa3ad29e8d8 at guix/ui.scm:536…> …)
>>     837:9  6 (catch _ _ #<procedure 7fa3a9fa0bb8 at guix/scripts/pu…> …)
>> In guix/scripts/pull.scm:
>>    273:27  5 (_)
>> In guix/git.scm:
>>    115:29  4 (latest-repository-commit #<build-daemon 256.97 2d12f50> …)
>> In ice-9/boot-9.scm:
>>     849:4  3 (with-throw-handler _ _ _)
>> In git/clone.scm:
>>     44:14  2 (_ _ _ _)
>> In git/structs.scm:
>>    398:26  1 (clone-options->pointer #<pointer 0x0>)
>
> This looks like the issue described at <https://bugs.gnu.org/29238>.

Yes. It does. Fixed it with help in #guix:

sudo bash --login
guix pull
guix system reconfigure /home/quiliro/config.scm

> What does “sudo guix pull --version” report?

guix pull (GNU Guix) 0b88f536db025fb8d8722089f61fc1d01e4c66ca

>
> I think you can work around it by installing a newer Guile-Git as root:
>
>   # guix package -i /gnu/store/…-guile-git…
>
> where the /gnu/store file name above is that returned by ‘guix build
> guile-git’ on a more recent Guix.
>
> HTH!

Thank you. Will keep it in mind for next time. Do you think this should
be documented in the manual?

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

end of thread, other threads:[~2018-01-29 15:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17 23:16 'sudo -i guix pull' errors Quiliro Ordonez Baca
2018-01-19 10:03 ` Chris Marusich
2018-01-19 17:09   ` Quiliro Ordonez Baca
2018-01-19 21:10   ` Quiliro Ordonez Baca
2018-01-25 14:39     ` Ludovic Courtès
2018-01-29 15:17       ` Quiliro Ordonez Baca

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.