From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Nginx service fails Date: Mon, 5 Mar 2018 08:48:20 +0100 Message-ID: <20180305074820.GB7822@jurong> References: <20180304222749.GA23799@jurong> <20180305000744.671e26f5@scratchpost.org> <20180304234335.GA24376@jurong> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eskrC-00048t-4M for guix-devel@gnu.org; Mon, 05 Mar 2018 02:48:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eskrB-0007N7-BS for guix-devel@gnu.org; Mon, 05 Mar 2018 02:48:26 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:42582) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eskrB-0007KS-3s for guix-devel@gnu.org; Mon, 05 Mar 2018 02:48:25 -0500 Content-Disposition: inline In-Reply-To: <20180304234335.GA24376@jurong> 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: Danny Milosavljevic Cc: guix-devel@gnu.org Hello, On Mon, Mar 05, 2018 at 12:43:35AM +0100, Andreas Enge wrote: > $ guix system reconfigure AE/clementi.scm > guix system: error: failed to load 'AE/clementi.scm': > AE/clementi.scm:5:0: In procedure allocate-struct: Wrong type argument in position 2: 25 I think I know the answer: .cache contains the compiled file for the operating system declaration (clementi.go), and with the recent changes to how these are parsed, it is incompatible. > Is this normal? How are users supposed to know they should delete .cache? Hopefully, this does not occur with "guix pull", and then it might be considered normal... Is .cache actually necessary, since we generally recompile from make files? Or is it needed since the make files do not encode the precise dependency graph of the modules, as they usually do for C code? If it is not necessary, could it be disabled by the project? Andreas