all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#29274: guix pull throws exception: wrong type argument in struct_vtable
@ 2017-11-12 14:23 Marco van Hulten
  2017-11-12 14:55 ` bug#29274: configuration Marco van Hulten
  2017-11-12 20:24 ` bug#29274: guix pull throws exception: wrong type argument in struct_vtable Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Marco van Hulten @ 2017-11-12 14:23 UTC (permalink / raw)
  To: 29274

I am trying to upgrade GuixSD, originally installed from the 0.13.0
amd64 USB image.  However, the `guix pull' command exits badly.

```
root@watson ~# guix package -u
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following package will be upgraded:
   guile-git    0.0-4.951a32c → 0.0-4.951a32c   /gnu/store/cjg6sngjq540k38s5l3nfxpydybhpas0-guile-git-0.0-4.951a32c

nothing to be done
root@watson ~# guix pull
Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Backtrace:
          10 (primitive-load "/gnu/store/qzw8q4mbk5dymmkffi6k13jphzm…")
In guix/ui.scm:
  1378:12  9 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    837:9  8 (catch _ _ #<procedure 7f1fa9b05b60 at guix/ui.scm:449…> …)
    837:9  7 (catch _ _ #<procedure 7f1fa9b05b78 at guix/ui.scm:542…> …)
    837:9  6 (catch _ _ #<procedure 7f1fa6819bc8 at guix/scripts/pu…> …)
In guix/scripts/pull.scm:
   272:27  5 (_)
In guix/git.scm:
   115:29  4 (latest-repository-commit #<build-daemon 256.97 33dcf50> …)
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>
```

-Marco

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

* bug#29274: configuration
  2017-11-12 14:23 bug#29274: guix pull throws exception: wrong type argument in struct_vtable Marco van Hulten
@ 2017-11-12 14:55 ` Marco van Hulten
  2017-11-12 20:24 ` bug#29274: guix pull throws exception: wrong type argument in struct_vtable Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Marco van Hulten @ 2017-11-12 14:55 UTC (permalink / raw)
  To: 29274

https://paste.debian.net/995301/

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

* bug#29274: guix pull throws exception: wrong type argument in struct_vtable
  2017-11-12 14:23 bug#29274: guix pull throws exception: wrong type argument in struct_vtable Marco van Hulten
  2017-11-12 14:55 ` bug#29274: configuration Marco van Hulten
@ 2017-11-12 20:24 ` Ludovic Courtès
  2017-11-14  8:05   ` Marco van Hulten
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2017-11-12 20:24 UTC (permalink / raw)
  To: Marco van Hulten; +Cc: 29274

Hi Marco,

Marco van Hulten <marco@hulten.org> skribis:

> In guix/git.scm:
>    115:29  4 (latest-repository-commit #<build-daemon 256.97 33dcf50> …)
> 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 has been fixed recently: <https://bugs.gnu.org/29238>.  You’ll get
the fix on your next ‘git pull’.

In the meantime, there are 2 possible workarounds:

  1.   mkdir -p ~/.cache/guix/pull
       cd ~/.cache/guix/pull
       git clone https://git.savannah.gnu.org/git/guix.git \
          pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq

  2.   mv ~/.config/guix/latest{,.bak} && guix pull

Let me know how it goes.

Ludo’.

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

* bug#29274: guix pull throws exception: wrong type argument in struct_vtable
  2017-11-12 20:24 ` bug#29274: guix pull throws exception: wrong type argument in struct_vtable Ludovic Courtès
@ 2017-11-14  8:05   ` Marco van Hulten
  2017-11-14 14:41     ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Marco van Hulten @ 2017-11-14  8:05 UTC (permalink / raw)
  To: 29274

Ludo'-

Op 12 nov 21:24 schreef Ludovic Courtès:
> Marco van Hulten <marco@hulten.org> skribis:
> 
> > In guix/git.scm:
> >    115:29  4 (latest-repository-commit #<build-daemon 256.97 33dcf50> …)
> > 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 has been fixed recently: <https://bugs.gnu.org/29238>.  You’ll get
> the fix on your next ‘git pull’.
> 
> In the meantime, there are 2 possible workarounds:
> 
>   1.   mkdir -p ~/.cache/guix/pull
>        cd ~/.cache/guix/pull
>        git clone https://git.savannah.gnu.org/git/guix.git \
>           pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq
> 
>   2.   mv ~/.config/guix/latest{,.bak} && guix pull
> 
> Let me know how it goes.

The problem is solved after applying workaround 1.

Just now I started another `git pull' and there are again no syntax
errors (compiling...).

-Marco

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

* bug#29274: guix pull throws exception: wrong type argument in struct_vtable
  2017-11-14  8:05   ` Marco van Hulten
@ 2017-11-14 14:41     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2017-11-14 14:41 UTC (permalink / raw)
  To: Marco van Hulten; +Cc: 29274-done

Hello,

Marco van Hulten <marco@hulten.org> skribis:

> Op 12 nov 21:24 schreef Ludovic Courtès:
>> Marco van Hulten <marco@hulten.org> skribis:
>> 
>> > In guix/git.scm:
>> >    115:29  4 (latest-repository-commit #<build-daemon 256.97 33dcf50> …)
>> > 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 has been fixed recently: <https://bugs.gnu.org/29238>.  You’ll get
>> the fix on your next ‘git pull’.
>> 
>> In the meantime, there are 2 possible workarounds:
>> 
>>   1.   mkdir -p ~/.cache/guix/pull
>>        cd ~/.cache/guix/pull
>>        git clone https://git.savannah.gnu.org/git/guix.git \
>>           pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq
>> 
>>   2.   mv ~/.config/guix/latest{,.bak} && guix pull
>> 
>> Let me know how it goes.
>
> The problem is solved after applying workaround 1.

Good, thanks!

Ludo’.

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

end of thread, other threads:[~2017-11-14 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-12 14:23 bug#29274: guix pull throws exception: wrong type argument in struct_vtable Marco van Hulten
2017-11-12 14:55 ` bug#29274: configuration Marco van Hulten
2017-11-12 20:24 ` bug#29274: guix pull throws exception: wrong type argument in struct_vtable Ludovic Courtès
2017-11-14  8:05   ` Marco van Hulten
2017-11-14 14:41     ` Ludovic Courtès

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.