Subject: bug#29274: guix pull throws exception: wrong type argument in struct_vtable

From: [email-masked] (Ludovic Courtès)
Date: Sun, 12 Nov 2017 21:24:12 +0100

Hi Marco,

Marco van Hulten <[email-masked]> 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’.