>>> Unpacking source... >>> Unpacking freeglut-2.4.0.tar.gz to /var/tmp/portage/media-libs/freeglut-2.4.0-r1/work [32;01m*[0m Applying freeglut-2.4.0-macos.patch ... [A[72C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying freeglut-gcc42.patch ... [A[72C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 2.4.0-cursor.patch ... [A[72C [34;01m[ [32;01mok[34;01m ][0m >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0 ... * econf: updating freeglut-2.4.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating freeglut-2.4.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-warnings --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes libsandbox: Can't resolve getcwd: (null) checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking for an ANSI C-conforming const... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output... ok checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... 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... no 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 dlfcn.h usability... yes checking dlfcn.h presence... libsandbox: Can't resolve getcwd: (null) yes checking for dlfcn.h... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip libsandbox: Can't resolve open: (null) checking for objdir... .libs checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... no checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.lo... yes checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking whether the linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes creating libtool checking for X... libraries /usr/lib64, headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XF86VidModeSwitchToMode in -lXxf86vm... yes checking for ANSI C header files... (cached) yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for X11/extensions/xf86vmode.h... yes checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for vprintf... yes checking for _doprnt... no checking for main in -lm... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile libsandbox: Can't resolve getcwd: (null) config.status: error: cannot create directory "include/GL" !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/config.log [31;01m*[0m [31;01m*[0m ERROR: media-libs/freeglut-2.4.0-r1 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 1701: Called dyn_compile [31;01m*[0m ebuild.sh, line 1039: Called qa_call 'src_compile' [31;01m*[0m ebuild.sh, line 44: Called src_compile [31;01m*[0m freeglut-2.4.0-r1.ebuild, line 51: Called econf '--disable-warnings' [31;01m*[0m ebuild.sh, line 638: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m die "econf failed" [31;01m*[0m The die message: [31;01m*[0m econf failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/build.log'. [31;01m*[0m