From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Nginx service fails Date: Mon, 5 Mar 2018 00:43:35 +0100 Message-ID: <20180304234335.GA24376@jurong> References: <20180304222749.GA23799@jurong> <20180305000744.671e26f5@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esdI4-0000jT-AM for guix-devel@gnu.org; Sun, 04 Mar 2018 18:43:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esdI3-0000UT-IR for guix-devel@gnu.org; Sun, 04 Mar 2018 18:43:40 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:41212) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1esdI3-0000Tp-BH for guix-devel@gnu.org; Sun, 04 Mar 2018 18:43:39 -0500 Content-Disposition: inline In-Reply-To: <20180305000744.671e26f5@scratchpost.org> 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 Danny, thanks for your quick reply! On Mon, Mar 05, 2018 at 12:07:44AM +0100, Danny Milosavljevic wrote: > find-long-options is supposed to be in gnu/build/linux-boot.scm and > gnu/services/base.scm is using it. > > It's in there for some weeks now... > > You can find out where guix is by: > readlink $(which guix) > and then examine the scm files there... It should not matter, since I am using "./pre-inst-env" in a current git checkout. But "guix --version" is at 0.14.0-9.bdf0c64, which also has find-long-options. I did a successful reconfigure on February 28. Trying to use the old guix (without ./pre-inst-env), I am also running into trouble: $ 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 The configuration file looks like this: (use-modules (gnu)) (use-service-modules networking ssh web) (use-package-modules screen ssh vim) (operating-system (host-name "clementi") So line 5 is "operating-system". I think there is a problem with caching somewhere: $ rm -rf ~/.cache $ guix system reconfigure AE/clementi.scm Now things happen. (But they hang when contacting the substitute server.) It has also bitten me in the other direction: When I run "guix system reconfigure...", press "Ctrl-C" immediately, and then run "./pre-inst-env guix system reconfigure...", I get almost the same message: guix system: error: failed to load 'AE/clementi.scm': /home/andreas/guix/AE/clementi.scm:5:0: In procedure allocate-struct: Wrong type argument in position 2: 24 Is this normal? How are users supposed to know they should delete .cache? And when is this actually necessary? Andreas