guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls:


From: 韋嘉誠
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

On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier
<address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]