From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?Q2xhZXMgV2FsbGluICjpn4vlmInoqqAp?= Subject: Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.) Date: Mon, 17 Aug 2015 16:27:38 +0200 Message-ID: References: <20150817033358.580a0cdc@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRLOA-00080T-D9 for guix-devel@gnu.org; Mon, 17 Aug 2015 10:27:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRLO5-0003gx-N8 for guix-devel@gnu.org; Mon, 17 Aug 2015 10:27:50 -0400 Received: from mail.lysator.liu.se ([130.236.254.3]:50144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRLO5-0003eK-Fj for guix-devel@gnu.org; Mon, 17 Aug 2015 10:27:45 -0400 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id A4A8640025 for ; Mon, 17 Aug 2015 16:27:42 +0200 (CEST) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id DAA7E40020 for ; Mon, 17 Aug 2015 16:27:40 +0200 (CEST) Received: by oip136 with SMTP id 136so81000859oip.1 for ; Mon, 17 Aug 2015 07:27:39 -0700 (PDT) In-Reply-To: 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Eric Bavier Cc: guix-devel On Mon, Aug 17, 2015 at 3:42 PM, Claes Wallin (=E9=9F=8B=E5=98=89=E8=AA=A0) wrote: > On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier > wrote: >>> https://www.gnu.org/software/guix/manual/guix.html#Build-Environment-Se= tup >>> >>> "If you are installing Guix as an unprivileged user, it is still >>> possible to run guix-daemon provided you pass --disable-chroot." >>> >> >> I have experimented with this a bit lately. It works to some extent, >> but I have had to apply a few patches to some package recipes. Some >> packages have failing tests (where presumably they would pass or be >> skipped in the chroot), which I have disabled for the time being just >> to move along. >> >> I can post a few of the patches to the ML later. > > I'm doing this from git now, as opposed to doing it from the tarball > earlier, because I want that setns patch. > > I have compiled gettext, m4, autoconf, automake and guile and its > deps, installed in /home/myuser/.local. And now I added sqlite and pkg-config as well, because looking at the diff between tarball configure and my configure told me those were missing. This helped me forward! > Rather than run ./bootstrap, I've had to run gettextize, aclocal, > autoreconf -vi (no -f!) with CPATH, LIBRARY_PATH and maybe AC_MACRODIR > (probably not necessary), and I managed to get a ./configure, but it > now tells me: Now I'm doing this: git clean -fxd && # recover from previous attempts git checkout HEAD . && # ditto gettextize --po-dir=3Dpo{/guix,/packages,} && sed -re '/^[[:blank:]]*po\/(guix|packages)\/Makefile.in[[:blank:]]*$/d' -i configure.ac && # because gettextize creates redundant entries for these, over which alocal gets very upset aclocal -I m4 && AUTOPOINT=3Dtrue autoreconf -vi And after a "LIBRARY_PATH=3D/home/myuser/.local/lib CPATH=3D/home/myuser/.local/include ./configure --prefix=3D/home/eclewal/.local" it looks like I'm able to compile! Thanks for putting up with my rubber-ducking.