GNU bug report logs - #28858
make fails: In procedure allocate-struct: Wrong type argument in position 2: 5

Previous Next

Package: guix;

Reported by: Martin Castillo <castilma <at> uni-bremen.de>

Date: Mon, 16 Oct 2017 07:13:04 UTC

Severity: normal

Tags: notabug

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Martin Castillo <castilma <at> uni-bremen.de>
Cc: 28858 <at> debbugs.gnu.org
Subject: Re: bug#28858: make fails: In procedure allocate-struct: Wrong type
 argument in position 2: 5
Date: Mon, 16 Oct 2017 15:16:58 +0200
Hi Martin,

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

> [Is it okay to attach logs or should I put them better in the message body?]

Either way is fine.

>    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’.




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

Previous Next


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