From: Andreas Enge <andreas@enge.fr>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: Nginx service fails
Date: Mon, 5 Mar 2018 00:43:35 +0100 [thread overview]
Message-ID: <20180304234335.GA24376@jurong> (raw)
In-Reply-To: <20180305000744.671e26f5@scratchpost.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
next prev parent reply other threads:[~2018-03-04 23:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-04 22:27 Nginx service fails Andreas Enge
2018-03-04 23:06 ` Andreas Enge
2018-03-05 7:23 ` bug#30706: " Ricardo Wurmus
2018-03-05 7:43 ` Andreas Enge
2018-03-05 10:09 ` Ludovic Courtès
2018-03-06 16:24 ` Danny Milosavljevic
2018-03-10 15:30 ` Ludovic Courtès
2018-03-04 23:07 ` Danny Milosavljevic
2018-03-04 23:43 ` Andreas Enge [this message]
2018-03-04 23:57 ` Andreas Enge
2018-03-05 7:48 ` Andreas Enge
2018-03-05 10:00 ` Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180304234335.GA24376@jurong \
--to=andreas@enge.fr \
--cc=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).