* Package: sys-apps/sandbox-2.6-r999  * Repository: hardened-development  * Maintainer: sandbox@gentoo.org  * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking sandbox-2.6.tar.xz to /var/tmp/portage/sys-apps/sandbox-2.6-r999/work * Applying sandbox-2.6-trace-hppa.patch ...  [ ok ] * Applying sandbox-2.6-log-var.patch ...  [ ok ] * Applying sandbox-2.6-static-close-fd.patch ...  [ ok ] * Applying sandbox-2.6-desktop.patch ...  [ ok ] * Applying sandbox-2.6-open-nofollow.patch ...  [ ok ] * Applying sandbox-2.6-check-empty-paths-at.patch ...  [ ok ] * Applying sandbox-2.6-no-pch.patch ...  [ ok ] * Applying sandbox-2.6-musl.patch ...  [ ok ] >>> Source unpacked in /var/tmp/portage/sys-apps/sandbox-2.6-r999/work >>> Compiling source in /var/tmp/portage/sys-apps/sandbox-2.6-r999/work/sandbox-2.6 ... * Configuring sandbox for ABI=amd64... * econf: updating sandbox-2.6/config.guess with /usr/share/gnuconfig/config.guess * econf: updating sandbox-2.6/config.sub with /usr/share/gnuconfig/config.sub ../sandbox-2.6//configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking environment state... ok checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-gentoo-linux-musl-gcc... gcc3 checking whether x86_64-gentoo-linux-musl-gcc and cc understand -c and -o together... yes checking for library containing strerror... none required checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking the archiver (x86_64-gentoo-linux-musl-ar) interface... ar checking whether make sets $(MAKE)... (cached) yes checking for gawk... (cached) gawk checking for egrep... (cached) /bin/grep -E checking for readelf... readelf checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 32768 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-gentoo-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-gentoo-linux-musl-ar... (cached) x86_64-gentoo-linux-musl-ar checking for archiver @FILE support... @ checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking command to parse /usr/bin/nm -B output from x86_64-gentoo-linux-musl-gcc object... ok checking for sysroot... no checking for x86_64-gentoo-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for multiple personalities... x86_64:-m64 x86:-m32 x32:-mx32 checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for dirent.h... yes checking for dlfcn.h... (cached) yes checking for elf.h... yes checking for errno.h... yes checking for execinfo.h... no checking for fcntl.h... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking for libgen.h... yes checking for limits.h... yes checking for memory.h... (cached) yes checking for pthread.h... yes checking for pwd.h... yes checking for siginfo.h... no checking for signal.h... yes checking for sigsegv.h... (cached) no checking for stdarg.h... yes checking for stdbool.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for syscall.h... yes checking for unistd.h... (cached) yes checking for utime.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/param.h... yes checking for sys/ptrace.h... yes checking for sys/reg.h... yes checking for sys/stat.h... (cached) yes checking for sys/syscall.h... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for sys/user.h... yes checking for sys/wait.h... (cached) yes checking for asm/ptrace.h... yes checking for linux/ptrace.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for size_t... (cached) yes checking whether environ is declared... yes checking for ptrdiff_t... yes checking for sighandler_t... yes checking for sig_t... yes checking for __sighandler_t... no checking for struct user_regs_struct... yes checking for struct pt_regs... yes checking size of struct user_regs_struct... 216 checking size of struct pt_regs... 168 checking for unistd.h... (cached) yes checking for working chown... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether lstat correctly handles trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat correctly handles trailing slash... (cached) yes checking return type of signal handlers... void checking whether stat accepts an empty string... no checking for backtrace... no checking for creat64... yes checking for faccessat... yes checking for fchmodat... yes checking for fchownat... yes checking for fopen64... yes checking for ftruncate... yes checking for futimesat... yes checking for getcwd... yes checking for lchown... yes checking for linkat... yes checking for lutimes... yes checking for memmove... yes checking for memcpy... yes checking for memset... yes checking for mkdir... yes checking for mkdirat... yes checking for mkdtemp... yes checking for mkfifoat... yes checking for mknodat... yes checking for mkostemp... yes checking for mkostemp64... yes checking for mkostemps... yes checking for mkostemps64... yes checking for mkstemp... yes checking for mkstemp64... yes checking for mkstemps... yes checking for mkstemps64... yes checking for open64... yes checking for openat... yes checking for openat64... yes checking for pathconf... yes checking for ptrace... yes checking for realpath... yes checking for remove... yes checking for renameat... yes checking for rmdir... yes checking for setenv... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strndup... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtok_r... yes checking for symlinkat... yes checking for truncate64... yes checking for unlinkat... yes checking for utime... yes checking for utimensat... yes checking for utimes... yes checking for stackoverflow_install_handler in -lsigsegv... (cached) false checking for __sync_lock_test_and_set... yes checking for va_copy... va_copy checking for library containing dlopen... none required checking for dlvsym... no checking truncate argument type... off_t checking for RTLD_NEXT... yes checking libc path... /usr/lib/gcc/x86_64-gentoo-linux-musl/4.8.4/../../../libc.so checking libc version... libc.so checking for /proc/self/fd... yes checking for /dev/fd... yes checking for /proc/self/cmdline... yes checking for /proc/1/cmdline... yes checking for /proc/4789/cmdline... yes checking how to enable exception handling... -fexceptions checking CFLAGS for maximum warnings... -Wall checking whether C compiler accepts -Winvalid-pch... yes checking whether C compiler accepts -fdata-sections... yes checking whether C compiler accepts -ffunction-sections... yes checking whether the linker accepts -Wl,--as-needed... yes checking whether the linker accepts -Wl,--gc-sections... yes checking whether the linker accepts -Wl,--no-undefined... yes checking whether the linker accepts -Wl,--version-script,conftest.map... yes configure: creating ./config.status config.status: creating src/sandbox.sh config.status: creating Makefile config.status: creating data/Makefile config.status: creating etc/Makefile config.status: creating etc/sandbox.d/00default config.status: creating etc/sandbox.d/Makefile config.status: creating libsandbox/Makefile config.status: creating libsbutil/Makefile config.status: creating scripts/Makefile config.status: creating src/Makefile config.status: creating tests/atlocal config.status: creating tests/Makefile config.status: creating tests/package.m4 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing tests/atconfig commands * Running sb_compile for ABI=amd64... make -j8 make all-recursive Making all in scripts make[2]: Nothing to be done for 'all'. Making all in etc Making all in sandbox.d make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in data make[2]: Nothing to be done for 'all'. Making all in libsbutil CC is_env_on.lo CC get_sandbox_lib.lo CC get_sandbox_rc.lo CC is_env_off.lo CC get_sandbox_log.lo CC get_sandbox_conf.lo CC get_sandbox_confd.lo CC get_tmp_dir.lo CC sb_backtrace.lo CC sb_efuncs.lo CC sb_open.lo CC sb_read.lo CC sb_write.lo CC sb_write_fd.lo CC sb_close.lo CC sb_printf.lo CC sb_proc.lo CC sb_memory.lo CC debug.lo CC string.lo CC file.lo CC config.lo CC dynbuf.lo CCLD libsbutil.la Making all in libsandbox GEN libsandbox.map GEN symbols.h CC libsandbox_la-lock.lo CC libsandbox_la-memory.lo CC libsandbox_la-canonicalize.lo GEN trace_syscalls.h GEN sb_nr.h CC libsandbox_la-wrappers.lo CC libsandbox_la-trace.lo CC libsandbox_la-libsandbox.lo CCLD libsandbox.la *** Warning: Linking the shared library libsandbox.la against the *** static library ../libsbutil/.libs/libsbutil.a is not portable! /usr/lib/gcc/x86_64-gentoo-linux-musl/4.8.4/../../../../x86_64-gentoo-linux-musl/bin/ld:libsandbox.map:3: syntax error in VERSION script collect2: error: ld returned 1 exit status Makefile:389: recipe for target 'libsandbox.la' failed make[2]: *** [libsandbox.la] Error 1 Makefile:403: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:317: recipe for target 'all' failed make: *** [all] Error 2 emake failed * ERROR: sys-apps/sandbox-2.6-r999::hardened-development failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2505: Called sb_foreach_abi 'sb_compile' * environment, line 2454: Called sb_compile * environment, line 2436: Called die * The specific snippet of code: * emake || die * * If you need support, post the output of `emerge --info '=sys-apps/sandbox-2.6-r999::hardened-development'`, * the complete build log and the output of `emerge -pqv '=sys-apps/sandbox-2.6-r999::hardened-development'`. * If configure failed with a 'cannot run C compiled programs' error, try this: * FEATURES=-sandbox emerge sandbox * The complete build log is located at '/var/tmp/portage/sys-apps/sandbox-2.6-r999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-2.6-r999/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/sandbox-2.6-r999/work/build-amd64' * S: '/var/tmp/portage/sys-apps/sandbox-2.6-r999/work/sandbox-2.6'