From: "Cook, Malcolm" <MEC@stowers.org>
To: 'Ricardo Wurmus' <rekado@elephly.net>
Cc: 'Guix-devel' <guix-devel@gnu.org>,
'Pjotr Prins' <pjotr.public66@thebird.nl>,
"'bio-packaging@mailman.open-bio.org'"
<bio-packaging@mailman.open-bio.org>
Subject: RE: Using a shared Guix store (was RE: [Bio-packaging] testing out guix)
Date: Sat, 18 Jul 2015 09:26:59 +0000 [thread overview]
Message-ID: <f0510f90c12f42439b830986acbe2b28@exchsrv2.sgc.loc> (raw)
In-Reply-To: <edc6f31e0b53488294e4e4718b9650e7@exchsrv2.sgc.loc>
> I hope to chime in further with a big WOOHOO once I have this configuration
> working....
Not quite WOOHOO yet. Getting close.... Here is where I am:
I have built guix-0.8.2 on centOS7 passing all checks
However
./pre-inst-env guix package -i hello
Gives me
guix package: error: build failed: the build users group `guix-builder' has no members
But, but, I do have a group `guix-builder`
I think the problem may be that my guix-builder group was defined in NIS whereas its members are not in NIS.
I don't know the method that guix is using to detect group membership, but my configuration seems to not respect it.
I am going to try putting guix-builder1-10 in NIS also and see if that helps, but, while I wait for my sysadmin to help me, I thought I'd ask all y'all.
My setup now is like this:
/gnu is network shared mount rw everywhere
owned by NIS user guix
group owned by NIS group guix-builder
I configured the build with --prefix=/gnu
All tests pass.
The daemon is running as user `guix` on host ${GUIXHOST} (I welcome a better suggestion for this host. Maybe just GUIX is better? Or GUIXMASTER?)
Build works:
> guix build hello
...
The following files will be downloaded:
/gnu/store/ydj867rdlz3p6lnnmbqn7jhvdf3i0dvi-hello-2.10
/gnu/store/hy2hi0zj5hrqkmkhpdxf04c9bcnlnsf9-glibc-2.21
...
603 operations
And confirmed:
/gnu/store/ydj867rdlz3p6lnnmbqn7jhvdf3i0dvi-hello-2.10/bin/hello
Hello, world
However trying to --install is not successful
/gnu/bin/guix package --install hello
accepted connection from pid 26597, uid 1232
error: while creating directory `/gnu/var/guix/profiles/per-user/mec': Permission denied
Please create the `/gnu/var/guix/profiles/per-user/mec' directory, with you as the owner.
Try "info '(guix) Invoking guix package'" for more information.
Which leads me to think the documentation is in error where it says "The per-user directory is created when guix-daemon is started".
Creating it by hand (owned by guix, with write access to all) :
mkdir /gnu/var/guix/profiles/per-user ## the doc says this should happen by the daemon but not! FIXME! BUG?
chmod a+rwx /gnu/var/guix/profiles/per-user
gets me further, and I did find the rest of the sentence to be correct: " and the user sub-directory is created by guix package."
But --installing only gets a little further:
/gnu/bin/guix package --install hello
accepted connection from pid 31645, uid 1232
The following package will be installed:
hello 2.10 /gnu/store/ydj867rdlz3p6lnnmbqn7jhvdf3i0dvi-hello-2.10
The following derivations will be built:
/gnu/store/6cs8g6kq96zdwl25929l5s5y6gxk7hxs-profile.drv
/gnu/store/b1f6jwficry84qgigvkldkfyhlc2xhg2-ca-certificate-bundle.drv
/gnu/store/n2ks4dzmrcg9ghhrp6c6wsp57nib5rqf-info-dir.drv
The following files will be downloaded:
/gnu/store/kbf46vds6f7lp723xn62kgdaxmwc1jvi-module-import-compiled
/gnu/store/41wzbfhmb6j5yha508y30kwycivhpx9b-module-import
/gnu/store/ki6mvjqbf3nc8lfavwqfsrxqzi7qhf50-module-import
/gnu/store/jhbkpizpakgk5xzzpyrh15vaprqcarb8-module-import-compiled
guix package: error: build failed: the build users group `guix-builder' has no members
Huh? Why
a) is it going to download and build derivations AGAIN !?!?
b) does it tell me "the build users group `guix-builder' has no members"
So, I am stymied, and welcome your kind assistance and observations.
I feel a YAHOO WAHOO coming on,
Malcolm
next prev parent reply other threads:[~2015-07-18 9:27 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 20:22 Using a shared Guix store (was RE: [Bio-packaging] testing out guix) Cook, Malcolm
2015-06-19 8:06 ` Ricardo Wurmus
2015-06-19 11:34 ` Ludovic Courtès
2015-06-25 6:40 ` Ricardo Wurmus
2015-06-19 11:40 ` Ludovic Courtès
2015-07-08 19:20 ` Cook, Malcolm
2015-07-08 19:43 ` Ricardo Wurmus
2015-06-19 17:48 ` Cook, Malcolm
2015-06-24 19:57 ` Ludovic Courtès
2015-07-08 18:03 ` Cook, Malcolm
2015-07-08 19:53 ` Ricardo Wurmus
2015-07-10 8:39 ` Ludovic Courtès
2015-07-11 0:48 ` Cook, Malcolm
2015-07-13 16:45 ` Test suite failures Ludovic Courtès
2015-07-18 3:04 ` Cook, Malcolm
2015-07-18 15:02 ` Ludovic Courtès
2015-07-11 0:54 ` Using a shared Guix store (was RE: [Bio-packaging] testing out guix) Cook, Malcolm
2015-07-15 15:45 ` Ricardo Wurmus
2015-07-15 19:49 ` Cook, Malcolm
2015-07-15 20:28 ` Pjotr Prins
2015-07-18 9:26 ` Cook, Malcolm [this message]
2015-07-18 15:13 ` Ludovic Courtès
2015-07-19 9:18 ` Claes Wallin (韋嘉誠)
2015-07-19 9:33 ` Andreas Enge
2015-07-20 22:37 ` Cook, Malcolm
2015-07-21 20:23 ` Cook, Malcolm
2015-07-21 20:29 ` Ricardo Wurmus
2015-07-23 22:52 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f0510f90c12f42439b830986acbe2b28@exchsrv2.sgc.loc \
--to=mec@stowers.org \
--cc=bio-packaging@mailman.open-bio.org \
--cc=guix-devel@gnu.org \
--cc=pjotr.public66@thebird.nl \
--cc=rekado@elephly.net \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.