GNU bug report logs - #31827
"guix pull" fails

Previous Next

Package: guix;

Reported by: Alex Kost <alezost <at> gmail.com>

Date: Thu, 14 Jun 2018 15:14:01 UTC

Severity: normal

Done: Alex Kost <alezost <at> gmail.com>

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 31827 in the body.
You can then email your comments to 31827 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#31827; Package guix. (Thu, 14 Jun 2018 15:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alex Kost <alezost <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 14 Jun 2018 15:14:02 GMT) Full text and rfc822 format available.

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

From: Alex Kost <alezost <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: "guix pull" fails
Date: Thu, 14 Jun 2018 18:13:43 +0300
Hello, sorry for bothering.  I tried to run "guix pull" from the guix
git checkout (using pre-inst-env) and it failed for me with the
following backtrace.  Do I miss anything obvious?

[...]
compiling...	100.0% of 1 files
compiling...	100.0% of 40 files
grafting '/gnu/store/z5fy5i0va7l3ffwlia0pavcfnn6nc58m-libssh-0.7.5-0.239d0f7' -> '/gnu/store/zbbkwn1ilis6fkavs3lnpklys72khdlx-libssh-0.7.5-0.239d0f7'...
grafting '/gnu/store/5ikax0hrz3lk8njl44nlyfizqx03xxf5-libssh2-1.8.0' -> '/gnu/store/r4q5x1dc8q3g885d67m18il2d6hpbddl-libssh2-1.8.0'...
grafting '/gnu/store/wnhdqpvbpa06fb4886hy2vgxwcmddkl5-guile-ssh-0.11.2-debug' -> '/gnu/store/x2x925g9z9qzkw1a58w2ay2lhc2x8sv2-guile-ssh-0.11.2-debug'...
grafting '/gnu/store/l7in7h9bc2phfr64zadvak3klnl8aml6-guile-ssh-0.11.2' -> '/gnu/store/5lmr2x0cl45x0f15hsbaw4y560gnwry3-guile-ssh-0.11.2'...
grafting '/gnu/store/vbi5infjmc6w9yjchxm6p2swvd12xvfi-libgit2-0.26.0' -> '/gnu/store/gqqy05yadvg7afiaafymw2x4899hgr3c-libgit2-0.26.0'...
grafting '/gnu/store/5jvww47vzlv9ggyxd67m5qcrl16gnwb0-guile-git-0.0-6.36f93c1' -> '/gnu/store/2rfa6337gb84bx4f2jzn5h9wfi3lhjik-guile-git-0.0-6.36f93c1'...
loading...	 97.2% of 109 filesrandom seed for tests: 1528987180
compiling...	100.0% of 109 files
compiling...	100.0% of 230 files
compiling...	100.0% of 179 files
compiling...	100.0% of 66 files
compiling...	100.0% of 37 files
Backtrace:
In ice-9/boot-9.scm:
    837:9 19 (catch _ _ #<procedure 7f9060ffc7a0 at guix/scripts/pull.scm:350:4 (…> …)
In guix/scripts/pull.scm:
   391:22 18 (_)
In guix/store.scm:
  1414:24 17 (run-with-store _ _ #:guile-for-build _ #:system _ #:target _)
  1333:38 16 (_ #<build-daemon 256.97 2dc3f50>)
In guix/scripts/package.scm:
   166:19 15 (build-and-use-profile #<build-daemon 256.97 2dc3f50> "/home/al/.con…" …)
In guix/store.scm:
  1414:24 14 (run-with-store _ _ #:guile-for-build _ #:system _ #:target _)
In guix/profiles.scm:
   1292:2 13 (_ _)
In guix/store.scm:
   1319:0 12 (_ _)
In guix/gexp.scm:
    666:2 11 (_ _)
In guix/store.scm:
   1319:0 10 (_ _)
  1333:38  9 (_ #<build-daemon 256.97 2dc3f50>)
In guix/packages.scm:
   878:14  8 (cache! #<weak-table 323/443> #<package guile-gdbm-ffi <at> 20120209.fa1d…> …)
In unknown file:
           7 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/packages.scm:
  1202:22  6 (thunk)
  1135:25  5 (bag->derivation #<build-daemon 256.97 2dc3f50> #<<bag> name: "guile…> …)
In srfi/srfi-1.scm:
   592:17  4 (map1 (("source" #<origin #<<git-reference> url: "https://github…>) …))
In ice-9/boot-9.scm:
    837:9  3 (catch srfi-34 #<procedure 4adf600 at guix/packages.scm:942:5 ()> #<…> …)
In guix/packages.scm:
   947:18  2 (_)
In guix/store.scm:
  1340:50  1 (_ #<build-daemon 256.97 2dc3f50> #<origin #<<git-reference> url: "h…> …)
In guix/git-download.scm:
    86:17  0 (git-fetch #<<git-reference> url: "https://github.com/ijp/guile-gdbm…> …)

guix/git-download.scm:86:17: In procedure git-fetch:
guix/git-download.scm:86:17: In procedure allocate-struct: Wrong type argument in position 2: 3


-- 
Thanks,
Alex




Information forwarded to bug-guix <at> gnu.org:
bug#31827; Package guix. (Fri, 15 Jun 2018 00:26:02 GMT) Full text and rfc822 format available.

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

From: Ben Sturmfels <ben <at> stumbles.id.au>
To: bug-guix <at> gnu.org
Subject: Re: bug#31827: "guix pull" fails
Date: Fri, 15 Jun 2018 10:25:11 +1000
[Message part 1 (text/plain, inline)]
On 15/06/18 01:13, Alex Kost wrote:
> Hello, sorry for bothering.  I tried to run "guix pull" from the guix
> git checkout (using pre-inst-env) and it failed for me with the
> following backtrace.  Do I miss anything obvious?

> guix/git-download.scm:86:17: In procedure allocate-struct: Wrong type argument in position 2: 3

Hi Alex,

See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28265#16

I'm no expert on this, but the cause is recent breaking changes in the
binary interfaces.  The command you need is "make clean-go && make”.

If "make clean-go" is also fails, as it did for me, you'll need to
remove the .go files manually. You can use something like "find . -name
'*.go'" and if you're happy with those files, add a "-delete" argument
on the end.

Once cleaned, up do a full rebuild with "./bootstrap && make".

Regards,
Ben



[signature.asc (application/pgp-signature, attachment)]

Reply sent to Alex Kost <alezost <at> gmail.com>:
You have taken responsibility. (Fri, 15 Jun 2018 09:23:01 GMT) Full text and rfc822 format available.

Notification sent to Alex Kost <alezost <at> gmail.com>:
bug acknowledged by developer. (Fri, 15 Jun 2018 09:23:02 GMT) Full text and rfc822 format available.

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

From: Alex Kost <alezost <at> gmail.com>
To: Ben Sturmfels <ben <at> stumbles.id.au>
Cc: 31827-done <at> debbugs.gnu.org
Subject: Re: bug#31827: "guix pull" fails
Date: Fri, 15 Jun 2018 12:22:46 +0300
Ben Sturmfels (2018-06-15 10:25 +1000) wrote:

> On 15/06/18 01:13, Alex Kost wrote:
>> Hello, sorry for bothering.  I tried to run "guix pull" from the guix
>> git checkout (using pre-inst-env) and it failed for me with the
>> following backtrace.  Do I miss anything obvious?
>
>> guix/git-download.scm:86:17: In procedure allocate-struct: Wrong type argument in position 2: 3
>
> Hi Alex,
>
> See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28265#16
>
> I'm no expert on this, but the cause is recent breaking changes in the
> binary interfaces.  The command you need is "make clean-go && make”.

Indeed, thank you!  I keep forgetting that "clean-go" is the first step
to do when some strange backtraces come up :-)

Sorry for the noise.

-- 
Alex




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Jul 2018 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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