make fails: In procedure allocate-struct: Wrong type argument in position 2: 5

  • Done
  • quality assurance status badge
Details
2 participants
  • Martin Castillo
  • Ludovic Courtès
Owner
unassigned
Submitted by
Martin Castillo
Severity
normal

Debbugs page

M
M
Martin Castillo wrote on 15 Oct 2017 15:03
(address . bug-guix@gnu.org)
4989bcdc-21fc-ce6d-6939-de622795e46e@uni-bremen.de
I'm trying to build guix from git on guixsd, but the make step fails. I
don't have much experience with scheme, so I have no idea, what the
problem could be.

I did
$ guix environment guix
[env] $ ./configure --localstatedir=/var
[env] $ make
(fails)

Attached is the output of repeated make invocation.

Martin Castillo

[Is it okay to attach logs or should I put them better in the message body?]
Attachment: make-output
Attachment: signature.asc
L
L
Ludovic Courtès wrote on 16 Oct 2017 06:16
(name . Martin Castillo)(address . castilma@uni-bremen.de)(address . 28858@debbugs.gnu.org)
87d15ndygl.fsf@gnu.org
Hi Martin,

Martin Castillo <castilma@uni-bremen.de> skribis:

Toggle quote (2 lines)
> [Is it okay to attach logs or should I put them better in the message body?]

Either way is fine.

Toggle quote (9 lines)
> 2316:4 3 (save-module-excursion #<procedure ce7f540 at ice-9/boo…>)
> 3006:22 2 (_)
> In unknown file:
> 1 (primitive-load-path "gnu/services/shepherd" #<procedur…>)
> In gnu/services/shepherd.scm:
> 90:2 0 (_)
>
> gnu/services/shepherd.scm:90:2: gnu/services/shepherd.scm:90:2: In procedure allocate-struct: Wrong type argument in position 2: 5

This obscure message suggests an ABI compatibility: for example, a field
was recently added to the <file-system> record type; the .go files that
you had in your build tree predate this change, and so they need to be
rebuilt.

The immediate solution is to run “make clean-go && make”.

I think we’ll improve the build system to address this automatically.

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 16 Oct 2017 06:17
control message for bug #28858
(address . control@debbugs.gnu.org)
87bml7dyg0.fsf@gnu.org
tags 28858 notabug
close 28858
?
Your comment

This issue is archived.

To comment on this conversation send an email to 28858@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 28858
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