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: Tue, 18 Aug 2015 01:07:44 +0200 Message-ID: References: <20150817033358.580a0cdc@openmailbox.org> <5d1d09551a84c1a4aba1061e51bc7be7@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRTVW-0006xS-0h for guix-devel@gnu.org; Mon, 17 Aug 2015 19:07:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRTVV-0001Aw-4a for guix-devel@gnu.org; Mon, 17 Aug 2015 19:07:57 -0400 In-Reply-To: <5d1d09551a84c1a4aba1061e51bc7be7@openmailbox.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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Eric Bavier Cc: guix-devel , David Thompson On Mon, Aug 17, 2015 at 10:57 PM, Eric Bavier wrote: >> Any patches related to bootstrapping gcc? I'm getting lib/lib64 confusion. > > > Yes, that's been one issue. > > Attached are the patches I have so far. Hopefully they can get you a bit > further. I've been able to build a number of packages, but thare are still > some package builds failing, e.g. IIRC one of cmake's dependencies doesn't > build. > > Some of these patches may be alright in general, but turning test cases off > is of course not an ideal solution. Great, thanks. My next ugly hand-cranked fix: $ ln -s /lib64/libnss_vas4.so.2 /home/myuser/.local/opt/guix/guix/store/llnj407l7gh3mz4jjsj6ymc6ph2a7hg6-glibc-2.21/lib/libnss_vas4.so.2 As nss plugins are a system-specific configuration and sysadmin-installed, I guess it could be argued that glibc *should* look in the system paths for them. On the other hand, there's no guarantee the stuff there will work for guix's glibc. In my case, luckily it did, and coreutils could pass its tests.