'guix pull' fails when the host Guix runs on Guile 2.0

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Michael Bowcutt
Owner
unassigned
Submitted by
Michael Bowcutt
Severity
normal
M
M
Michael Bowcutt wrote on 4 Oct 2018 05:54
`guix pull` fail
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
8366805ea63466ea6bbdcf42ea89cbb1cac75231.camel@case.edu
Hi, I ran into a bug.

after running `guix pull`:

```
Updating from Git repository at '
Building from Git commit 9e783d0bf22a7ff965105eb45f6c179a832bbabf...
guile: warning: failed to install locale
Computing Guix derivation for 'x86_64-linux'... /Backtrace:
9 (primitive-load "/gnu/store/2m09y8vajsla3zdlk28rcfdi3zq?")
In ice-9/eval.scm:
155:9 8 (_ _)
159:9 7 (_ #(#(#(#(#(#(#(#(#(#(#(?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ./guix/store.scm:
1592:24 6 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In ./guix/self.scm:
918:16 5 (_ _)
492:4 4 (compiled-guix "/gnu/store/91a7if3r1h6x4y9vigzbw6y1rhi?"
?)
In srfi/srfi-1.scm:
679:15 3 (append-map _ _ . _)
592:17 2 (map1 (#f #<package guile2.0-gnutls@3.5.18 gnu/packa?> ?))
In ./guix/self.scm:
494:31 1 (_ _)
In ./guix/packages.scm:
743:21 0 (package-transitive-propagated-inputs #f)

./guix/packages.scm:743:21: In procedure package-transitive-propagated-
inputs:
In procedure struct_vtable: Wrong type argument in position 1
(expecting struct): #f
guix pull: error: You found a bug: the program
'/gnu/store/2m09y8vajsla3zdlk28rcfdi3zq7cvzq-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"9e783d0bf22a7ff965105eb45f6c179a832bbabf"; system: "x86_64-linux";
host version: "0.15.0"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.
```
L
L
Ludovic Courtès wrote on 8 Oct 2018 22:47
(name . Michael Bowcutt)(address . mwb71@case.edu)(address . 32929@debbugs.gnu.org)
87y3b8upwu.fsf@gnu.org
Hi Michael,

Michael Bowcutt <mwb71@case.edu> skribis:

Toggle quote (38 lines)
> after running `guix pull`:
>
> ```
> Updating from Git repository at '
> https://git.savannah.gnu.org/git/guix.git'...
> Building from Git commit 9e783d0bf22a7ff965105eb45f6c179a832bbabf...
> guile: warning: failed to install locale
> Computing Guix derivation for 'x86_64-linux'... /Backtrace:
> 9 (primitive-load "/gnu/store/2m09y8vajsla3zdlk28rcfdi3zq?")
> In ice-9/eval.scm:
> 155:9 8 (_ _)
> 159:9 7 (_ #(#(#(#(#(#(#(#(#(#(#(?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
> In ./guix/store.scm:
> 1592:24 6 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
> In ./guix/self.scm:
> 918:16 5 (_ _)
> 492:4 4 (compiled-guix "/gnu/store/91a7if3r1h6x4y9vigzbw6y1rhi?"
> ?)
> In srfi/srfi-1.scm:
> 679:15 3 (append-map _ _ . _)
> 592:17 2 (map1 (#f #<package guile2.0-gnutls@3.5.18 gnu/packa?> ?))
> In ./guix/self.scm:
> 494:31 1 (_ _)
> In ./guix/packages.scm:
> 743:21 0 (package-transitive-propagated-inputs #f)
>
> ./guix/packages.scm:743:21: In procedure package-transitive-propagated-
> inputs:
> In procedure struct_vtable: Wrong type argument in position 1
> (expecting struct): #f
> guix pull: error: You found a bug: the program
> '/gnu/store/2m09y8vajsla3zdlk28rcfdi3zq7cvzq-compute-guix-derivation'
> failed to compute the derivation for Guix (version:
> "9e783d0bf22a7ff965105eb45f6c179a832bbabf"; system: "x86_64-linux";
> host version: "0.15.0"; pull-version: 1).
> Please report it by email to <bug-guix@gnu.org>.
> ```

Thanks for your report. I pulled v0.15.0 and from there tried to pull
the above commit, but I couldn’t reproduce the bug above.

Does it still occur for you?

How did you install Guix? It seems to be running on Guile 2.0 (not
2.2), can you confirm?

Thanks in advance,
Ludo’.
M
M
Michael Bowcutt wrote on 8 Oct 2018 23:58
(name . Ludovic Courtès)(address . ludo@gnu.org)
1bfe554e7bd3e7415d821b694106fb81948c0dd0.camel@case.edu
Ludo,

On Mon, 2018-10-08 at 22:47 +0200, Ludovic Courtès wrote:
Toggle quote (6 lines)
> Thanks for your report. I pulled v0.15.0 and from there tried to
> pull
> the above commit, but I couldn’t reproduce the bug above.
>
> Does it still occur for you?

Yes, I'm still getting this error, although with different program and
guix version hashes which frequently change.

Toggle quote (3 lines)
> How did you install Guix? It seems to be running on Guile 2.0 (not
> 2.2), can you confirm?

I installed via the Fedora 28 COPR at
running Guile 2.0, even though I have both 2.0 and 2.2 installed via
dnf.

-Michael
L
L
Ludovic Courtès wrote on 10 Oct 2018 14:58
control message for bug #32929
(address . control@debbugs.gnu.org)
8736te9cvx.fsf@gnu.org
retitle 32929 'guix pull' fails when the host Guix runs on Guile 2.0
L
L
Ludovic Courtès wrote on 10 Oct 2018 15:01
Re: bug#32929: `guix pull` fail
(name . Michael Bowcutt)(address . mwb71@case.edu)(address . 32929@debbugs.gnu.org)
87va6a7y79.fsf@gnu.org
Hi Michael,

Michael Bowcutt <mwb71@case.edu> skribis:

Toggle quote (18 lines)
> On Mon, 2018-10-08 at 22:47 +0200, Ludovic Courtès wrote:
>> Thanks for your report. I pulled v0.15.0 and from there tried to
>> pull
>> the above commit, but I couldn’t reproduce the bug above.
>>
>> Does it still occur for you?
>
> Yes, I'm still getting this error, although with different program and
> guix version hashes which frequently change.
>
>> How did you install Guix? It seems to be running on Guile 2.0 (not
>> 2.2), can you confirm?
>
> I installed via the Fedora 28 COPR at
> https://copr.fedorainfracloud.org/coprs/lantw44/guix/. I'm 90% sure I'm
> running Guile 2.0, even though I have both 2.0 and 2.2 installed via
> dnf.

I see. I believe commit 099bb0175f681e5f68dafb8ad973866f31fe515c fixes
the problem. With this commit, running ‘guix pull’ will always give
you, under ~/.config/guix/current, a new Guix running on Guile 2.2.

Could you try running ‘guix pull’ and see if it works now?

Besides, I’d like to drop Guile 2.0 support soon, so if you could tell
the COPR packagers to switch to Guile 2.2, that’d be great. :-)

Thanks,
Ludo’.
M
M
Michael Bowcutt wrote on 10 Oct 2018 22:15
(name . Ludovic Courtès)(address . ludo@gnu.org)
2ed3e2703403ff085a3d3fa6a4e173439269bbb8.camel@case.edu
Thanks, Ludo

On Wed, 2018-10-10 at 15:01 +0200, Ludovic Courtès wrote:
Toggle quote (33 lines)
> Hi Michael,
>
> Michael Bowcutt <mwb71@case.edu> skribis:
>
> > On Mon, 2018-10-08 at 22:47 +0200, Ludovic Courtès wrote:
> > > Thanks for your report. I pulled v0.15.0 and from there tried to
> > > pull
> > > the above commit, but I couldn’t reproduce the bug above.
> > >
> > > Does it still occur for you?
> >
> > Yes, I'm still getting this error, although with different program
> > and
> > guix version hashes which frequently change.
> >
> > > How did you install Guix? It seems to be running on Guile 2.0
> > > (not
> > > 2.2), can you confirm?
> >
> > I installed via the Fedora 28 COPR at
> > https://copr.fedorainfracloud.org/coprs/lantw44/guix/. I'm 90% sure
> > I'm
> > running Guile 2.0, even though I have both 2.0 and 2.2 installed
> > via
> > dnf.
>
> I see. I believe commit 099bb0175f681e5f68dafb8ad973866f31fe515c
> fixes
> the problem. With this commit, running ‘guix pull’ will always give
> you, under ~/.config/guix/current, a new Guix running on Guile 2.2.
>
> Could you try running ‘guix pull’ and see if it works now?

I can confirm that I'm no longer running into this issue, `guix pull`
finished successfully!

Toggle quote (4 lines)
> Besides, I’d like to drop Guile 2.0 support soon, so if you could
> tell
> the COPR packagers to switch to Guile 2.2, that’d be great. :-)

I'll report that upstream. Thanks!

-Michael
L
L
Ludovic Courtès wrote on 10 Oct 2018 22:47
(name . Michael Bowcutt)(address . mwb71@case.edu)(address . 32929-done@debbugs.gnu.org)
87in298r5t.fsf@gnu.org
Michael Bowcutt <mwb71@case.edu> skribis:

Toggle quote (2 lines)
> On Wed, 2018-10-10 at 15:01 +0200, Ludovic Courtès wrote:

[...]

Toggle quote (10 lines)
>> I see. I believe commit 099bb0175f681e5f68dafb8ad973866f31fe515c
>> fixes
>> the problem. With this commit, running ‘guix pull’ will always give
>> you, under ~/.config/guix/current, a new Guix running on Guile 2.2.
>>
>> Could you try running ‘guix pull’ and see if it works now?
>
> I can confirm that I'm no longer running into this issue, `guix pull`
> finished successfully!

Awesome, thank you for testing!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 32929@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 32929
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch