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 22:46:44 +0200 Message-ID: References: <20150817033358.580a0cdc@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]:49743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRRIz-0002bK-Us for guix-devel@gnu.org; Mon, 17 Aug 2015 16:46:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRRIy-0007Ye-VG for guix-devel@gnu.org; Mon, 17 Aug 2015 16:46:53 -0400 In-Reply-To: <20150817033358.580a0cdc@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:33 AM, Eric Bavier wrote: > 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. Any patches related to bootstrapping gcc? I'm getting lib/lib64 confusion. /home/myuser/.local/opt/guix/guix/store/i901f9ad7j3cq7liaiszgpkcjs9mnw5p-libstdc++-4.9.3/lib64 *does* have a libstdc++.a. I'm doing the ugly thing for now. Just removing the empty lib and making it a symlink from lib64. g++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -Wl,-rpath=/home/myuser/.local/opt/guix/guix/store/llnj407l7gh3mz4jjsj6ymc6ph2a7hg6-glibc-2.21/lib -Wl,-dynamic-linker -Wl,/home/myuser/.local/opt/guix/guix/store/llnj407l7gh3mz4jjsj6ymc6ph2a7hg6-glibc-2.21/lib/ld-linux-x86-64.so.2 -L/home/myuser/.local/opt/guix/guix/store/i901f9ad7j3cq7liaiszgpkcjs9mnw5p-libstdc++-4.9.3/lib -o build/genmddeps \ build/genmddeps.o build/read-md.o build/errors.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a /home/myuser/.local/opt/guix/guix/store/i3s7jv6yfcmp04qjaj2m1v3pmbw6i2qr-binutils-cross-boot0-2.25/bin/x86_64-guix-linux-gnu-ld: cannot find -lstdc++ collect2: error: ld returned 1 exit status Makefile:2532: recipe for target 'build/genmddeps' failed make[3]: *** [build/genmddeps] Error 1 make[3]: Leaving directory '/tmp/nix-build-gcc-4.9.3.drv-0/build/gcc' Makefile:4229: recipe for target 'all-stage1-gcc' failed make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory '/tmp/nix-build-gcc-4.9.3.drv-0/build' Makefile:21597: recipe for target 'stage1-bubble' failed make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory '/tmp/nix-build-gcc-4.9.3.drv-0/build' Makefile:896: recipe for target 'all' failed make: *** [all] Error 2 phase `build' failed after 255 seconds builder for `/home/myuser/.local/opt/guix/guix/store/g6sf7j9a6sqallf0vlkdi4l313bdi2p7-gcc-4.9.3.drv' failed with exit code 1 @ build-failed /home/myuser/.local/opt/guix/guix/store/g6sf7j9a6sqallf0vlkdi4l313bdi2p7-gcc-4.9.3.drv - 1 builder for `/home/myuser/.local/opt/guix/guix/store/g6sf7j9a6sqallf0vlkdi4l313bdi2p7-gcc-4.9.3.drv' failed with exit code 1