From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Huang, Ying" <huang_ying_caritas@163.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: gnu/services/shepherd.scm:90:2: In procedure allocate-struct: Wrong type argument in position 2: 5
Date: Fri, 29 Sep 2017 09:06:46 -0400 [thread overview]
Message-ID: <87h8vlslg9.fsf@gmail.com> (raw)
In-Reply-To: <87o9pt4sf3.fsf@163.com> (Ying Huang's message of "Fri, 29 Sep 2017 20:10:08 +0800")
> Efraim Flashner <efraim@flashner.co.il> writes:
>
>> On Fri, Sep 29, 2017 at 07:21:27PM +0800, Huang, Ying wrote:
>>> Hi, All,
>>>
>>> I use the guix git. After not upgrade the code for quite some time
>>> (several months?), today after `git pull`, `guix environment guix`
>>> report the following error. How to deal with it?
>>>
>>> Backtrace:
>>> In ice-9/boot-9.scm:
>>> 230:29 19 (map1 _)
>>> 230:29 18 (map1 _)
>>> 230:29 17 (map1 _)
>>> 230:29 16 (map1 _)
>>> 230:29 15 (map1 _)
>>> 230:29 14 (map1 _)
>>> 230:29 13 (map1 _)
>>> 230:29 12 (map1 _)
>>> 230:29 11 (map1 _)
>>> 230:29 10 (map1 _)
>>> 230:29 9 (map1 (((gnu packages firmware)) ((gnu services)) ((gnu services shepherd)) …))
>>> 230:29 8 (map1 (((gnu services)) ((gnu services shepherd)) ((gnu services base)) (#) …))
>>> 230:17 7 (map1 (((gnu services shepherd)) ((gnu services base)) ((gnu bootloader)) # …))
>>> 2792:17 6 (resolve-interface (gnu services shepherd) #:select _ #:hide _ #:prefix _ # _ …)
>>> 2718:10 5 (_ (gnu services shepherd) _ _ #:ensure _)
>>> 2986:16 4 (try-module-autoload _ _)
>>> 2316:4 3 (save-module-excursion #<procedure 673cd50 at ice-9/boot-9.scm:2987:17 ()>)
>>> 3006:22 2 (_)
>>> In unknown file:
>>> 1 (primitive-load-path "gnu/services/shepherd" #<procedure 6b514a0 at ice-9/boo…>)
>>> 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
>>>
>>> Best Regards,
>>> Huang, Ying
>>>
>> you're in need of a 'make clean'. If you don't want to have to rebuild
>> everything, then 'rm -- gnu/*go gnu/s*/*go gnu/tests/*go' should take
>> care of all of the affected modules.
For the reference, there already is a "clean-go" target that
accomplishes just that, so you could run "make clean-go" the next time
you are faced with a similar error.
Maxim
next prev parent reply other threads:[~2017-09-29 13:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-29 11:21 gnu/services/shepherd.scm:90:2: In procedure allocate-struct: Wrong type argument in position 2: 5 Huang, Ying
2017-09-29 11:53 ` Andy Wingo
2017-09-29 12:09 ` Huang, Ying
2017-09-29 11:58 ` Efraim Flashner
2017-09-29 12:10 ` Huang, Ying
2017-09-29 13:06 ` Maxim Cournoyer [this message]
2017-10-03 9:16 ` Oleg Pykhalov
2017-10-04 13:50 ` Maxim Cournoyer
2017-10-05 0:00 ` Oleg Pykhalov
2017-10-06 17:07 ` Oleg Pykhalov
2017-10-07 1:10 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8vlslg9.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=guix-devel@gnu.org \
--cc=huang_ying_caritas@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.