From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer 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 Message-ID: <87h8vlslg9.fsf@gmail.com> References: <87poa9698o.fsf@163.com> <20170929115835.GN26375@macbook42.flashner.co.il> <87o9pt4sf3.fsf@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxv0G-0000Wk-Ld for guix-devel@gnu.org; Fri, 29 Sep 2017 09:06:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxv0D-0005a6-ID for guix-devel@gnu.org; Fri, 29 Sep 2017 09:06:52 -0400 Received: from mail-it0-x243.google.com ([2607:f8b0:4001:c0b::243]:50051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxv0D-0005Zf-C9 for guix-devel@gnu.org; Fri, 29 Sep 2017 09:06:49 -0400 Received: by mail-it0-x243.google.com with SMTP id c195so2143340itb.4 for ; Fri, 29 Sep 2017 06:06:49 -0700 (PDT) In-Reply-To: <87o9pt4sf3.fsf@163.com> (Ying Huang's message of "Fri, 29 Sep 2017 20:10:08 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: "Huang, Ying" Cc: guix-devel > Efraim Flashner writes: > >> On Fri, Sep 29, 2017 at 07:21:27PM +0800, Huang, Ying wrote: >>> Hi, All, >>>=20 >>> 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? >>>=20 >>> 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 se= rvices shepherd)) =E2=80=A6)) >>> 230:29 8 (map1 (((gnu services)) ((gnu services shepherd)) ((gnu se= rvices base)) (#) =E2=80=A6)) >>> 230:17 7 (map1 (((gnu services shepherd)) ((gnu services base)) ((g= nu bootloader)) # =E2=80=A6)) >>> 2792:17 6 (resolve-interface (gnu services shepherd) #:select _ #:hi= de _ #:prefix _ # _ =E2=80=A6) >>> 2718:10 5 (_ (gnu services shepherd) _ _ #:ensure _) >>> 2986:16 4 (try-module-autoload _ _) >>> 2316:4 3 (save-module-excursion #) >>> 3006:22 2 (_) >>> In unknown file: >>> 1 (primitive-load-path "gnu/services/shepherd" #) >>> In gnu/services/shepherd.scm: >>> 90:2 0 (_) >>>=20 >>> gnu/services/shepherd.scm:90:2: gnu/services/shepherd.scm:90:2: In proc= edure allocate-struct: Wrong type argument in position 2: 5 >>>=20 >>> Best Regards, >>> Huang, Ying >>>=20 >> 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