GNU bug report logs - #29274
guix pull throws exception: wrong type argument in struct_vtable

Previous Next

Package: guix;

Reported by: Marco van Hulten <marco <at> hulten.org>

Date: Sun, 12 Nov 2017 14:24:01 UTC

Severity: normal

Done: Marco van Hulten <marco <at> hulten.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29274 in the body.
You can then email your comments to 29274 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#29274; Package guix. (Sun, 12 Nov 2017 14:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marco van Hulten <marco <at> hulten.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 12 Nov 2017 14:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marco van Hulten <marco <at> hulten.org>
To: bug-guix <at> gnu.org
Subject: guix pull throws exception: wrong type argument in struct_vtable
Date: Sun, 12 Nov 2017 15:23:24 +0100
I am trying to upgrade GuixSD, originally installed from the 0.13.0
amd64 USB image.  However, the `guix pull' command exits badly.

```
root <at> 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 <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#29274; Package guix. (Sun, 12 Nov 2017 14:56:01 GMT) Full text and rfc822 format available.

Message #8 received at 29274 <at> debbugs.gnu.org (full text, mbox):

From: Marco van Hulten <marco <at> hulten.org>
To: 29274 <at> debbugs.gnu.org
Subject: configuration
Date: Sun, 12 Nov 2017 15:55:01 +0100
https://paste.debian.net/995301/




Information forwarded to bug-guix <at> gnu.org:
bug#29274; Package guix. (Sun, 12 Nov 2017 20:25:01 GMT) Full text and rfc822 format available.

Message #11 received at 29274 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marco van Hulten <marco <at> hulten.org>
Cc: 29274 <at> debbugs.gnu.org
Subject: Re: bug#29274: guix pull throws exception: wrong type argument in
 struct_vtable
Date: Sun, 12 Nov 2017 21:24:12 +0100
Hi Marco,

Marco van Hulten <marco <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#29274; Package guix. (Tue, 14 Nov 2017 08:06:02 GMT) Full text and rfc822 format available.

Message #14 received at 29274 <at> debbugs.gnu.org (full text, mbox):

From: Marco van Hulten <marco <at> hulten.org>
To: 29274 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: bug#29274: guix pull throws exception: wrong type argument in
 struct_vtable
Date: Tue, 14 Nov 2017 09:05:27 +0100
Ludo'-

Op 12 nov 21:24 schreef Ludovic Courtès:
> Marco van Hulten <marco <at> 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




bug closed, send any further explanations to 29274 <at> debbugs.gnu.org and Marco van Hulten <marco <at> hulten.org> Request was from Marco van Hulten <marco <at> hulten.org> to control <at> debbugs.gnu.org. (Tue, 14 Nov 2017 08:07:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#29274; Package guix. (Tue, 14 Nov 2017 14:42:01 GMT) Full text and rfc822 format available.

Message #19 received at 29274-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marco van Hulten <marco <at> hulten.org>
Cc: 29274-done <at> debbugs.gnu.org
Subject: Re: bug#29274: guix pull throws exception: wrong type argument in
 struct_vtable
Date: Tue, 14 Nov 2017 15:41:50 +0100
Hello,

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

> Op 12 nov 21:24 schreef Ludovic Courtès:
>> Marco van Hulten <marco <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Dec 2017 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 251 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.