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: Wed, 04 Oct 2017 09:50:55 -0400 Message-ID: <87shezc98g.fsf@gmail.com> References: <87poa9698o.fsf@163.com> <20170929115835.GN26375@macbook42.flashner.co.il> <87o9pt4sf3.fsf@163.com> <87h8vlslg9.fsf@gmail.com> <87o9po8ub9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzk4k-00072J-PH for guix-devel@gnu.org; Wed, 04 Oct 2017 09:51:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzk4g-0004wM-RS for guix-devel@gnu.org; Wed, 04 Oct 2017 09:51:02 -0400 Received: from mail-io0-x235.google.com ([2607:f8b0:4001:c06::235]:55256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzk4g-0004vi-Ml for guix-devel@gnu.org; Wed, 04 Oct 2017 09:50:58 -0400 Received: by mail-io0-x235.google.com with SMTP id h66so10547925ioh.11 for ; Wed, 04 Oct 2017 06:50:58 -0700 (PDT) In-Reply-To: <87o9po8ub9.fsf@gmail.com> (Oleg Pykhalov's message of "Tue, 03 Oct 2017 12:16:58 +0300") 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: Oleg Pykhalov Cc: guix-devel Oleg Pykhalov writes: > Maxim Cournoyer writes: > >>> Efraim Flashner writes: >>> >>>> On Fri, Sep 29, 2017 at 07:21:27PM +0800, Huang, Ying wrote: > > [...] > >>>> 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. > > A bit of info from my experience writing cgit-service-type and 'cgit test': > > $ rm gnu/services/version-control.go gnu/services/web.go rm -f gnu/*.go gnu/s*/*g.o > > Even `make clean-go' in guix checkout directory didn't help. So, random > thought did the job: > > $ for x in $(find ~/.cache/ -type f -name '*.go' | grep test); do rm $x; done There shouldn't be any auto-compilation going on with Guix unless you are using Emacs-Guix. This has been fixed in a recent commit[1] but will only appear in the next release. In the mean time you could define the following in your ~/.emacs: --8<---------------cut here---------------start------------->8--- (setq guix-guile-program '("guile" "--no-auto-compile")) --8<---------------cut here---------------end--------------->8--- Maxim [1] https://notabug.org/alezost/emacs-guix/issues/2