t-frame-pointer -fno-strength-reduce -Dunix -DSLANG -DMODULE_INSTALL_DIR='"/usr/lib64/slang/modules"' /var/tmp/portage/sys-libs/slang-1.4.9-r2/work/slang-1.4.9/src/slimport.c cd /var/tmp/portage/sys-libs/slang-1.4.9-r2/work/slang-1.4.9/src/amd64objs; x86_64-pc-linux-gnu-gcc -c -march=nocona -O2 -pipe -fomit-frame-pointer -fno-strength-reduce -Dunix -DSLANG /var/tmp/portage/sys-libs/slang-1.4.9-r2/work/slang-1.4.9/src/slpath.c libsandbox: Can't resolve getcwd: (null) make[1]: *** [/var/tmp/portage/sys-libs/slang-1.4.9-r2/work/slang-1.4.9/src/amd64objs/slpath.o] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-libs/slang-1.4.9-r2/work/slang-1.4.9/src' make: *** [all] Error 2 * * ERROR: sys-libs/slang-1.4.9-r2 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * slang-1.4.9-r2.ebuild, line 50: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" ELF_CC="$(tc-getCC)" -j1 all elf || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-libs/slang-1.4.9-r2/temp/build.log'. * * Messages for package sys-libs/slang-1.4.9-r2: * * ERROR: sys-libs/slang-1.4.9-r2 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * slang-1.4.9-r2.ebuild, line 50: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" ELF_CC="$(tc-getCC)" -j1 all elf || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-libs/slang-1.4.9-r2/temp/build.log'.