* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.27-gentoo/build * Found sources for kernel version: * 2.6.27-gentoo * Checking for suitable kernel configuration options...  [ ok ] >>> Unpacking source... >>> Unpacking cloop_2.625-1.tar.gz to /var/tmp/portage/sys-fs/cloop-2.625/work * Applying cloop-2.625-limits.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-fs/cloop-2.625/work/cloop-2.625 ... * Preparing cloop module ( cd advancecomp-1.15 ; ./configure && make advfs ) i686-pc-linux-gnu-gcc -Wall -O2 -s -o extract_compressed_fs extract_compressed_fs.c -lz Building for Kernel Patchlevel 6 make modules -C /usr/src/linux M=/var/tmp/portage/sys-fs/cloop-2.625/work/cloop-2.625 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo' CC [M] /var/tmp/portage/sys-fs/cloop-2.625/work/cloop-2.625/compressed_loop.o /var/tmp/portage/sys-fs/cloop-2.625/work/cloop-2.625/compressed_loop.c:49:27: error: asm/semaphore.h: No such file or directory make[2]: *** [/var/tmp/portage/sys-fs/cloop-2.625/work/cloop-2.625/compressed_loop.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/var/tmp/portage/sys-fs/cloop-2.625/work/cloop-2.625] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo' make: *** [cloop.ko] Error 2 make: *** Waiting for unfinished jobs.... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) gawk checking for tar... tar checking for gzip... gzip checking for groff... groff checking for col... col checking for adler32 in -lz... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... 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 for unistd.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking for stdint.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for getopt... yes checking for getopt_long... yes checking for snprintf... yes checking for vsnprintf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h make[1]: Entering directory `/var/tmp/portage/sys-fs/cloop-2.625/work/cloop-2.625/advancecomp-1.15' g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -pthread -c -o advfs.o ../advfs.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -pthread -c -o zip.o zip.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -pthread -c -o file.o file.cc ../advfs.cc: In function ‘int main(int, char**)’: ../advfs.cc:828: warning: deprecated conversion from string constant to ‘char*’ g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -pthread -c -o data.o data.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -pthread -c -o siglock.o siglock.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -pthread -c -o compress.o compress.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -pthread -c -o zipsh.o zipsh.cc i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c getopt.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c snprintf.c g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o 7zdeflate.o `test -f '7z/7zdeflate.cc' || echo './'`7z/7zdeflate.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o 7zlzma.o `test -f '7z/7zlzma.cc' || echo './'`7z/7zlzma.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o AriBitCoder.o `test -f '7z/AriBitCoder.cc' || echo './'`7z/AriBitCoder.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o CRC.o `test -f '7z/CRC.cc' || echo './'`7z/CRC.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o DeflateDecoder.o `test -f '7z/DeflateDecoder.cc' || echo './'`7z/DeflateDecoder.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o DeflateEncoder.o `test -f '7z/DeflateEncoder.cc' || echo './'`7z/DeflateEncoder.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o HuffmanEncoder.o `test -f '7z/HuffmanEncoder.cc' || echo './'`7z/HuffmanEncoder.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o IInOutStreams.o `test -f '7z/IInOutStreams.cc' || echo './'`7z/IInOutStreams.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o InByte.o `test -f '7z/InByte.cc' || echo './'`7z/InByte.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o LSBFDecoder.o `test -f '7z/LSBFDecoder.cc' || echo './'`7z/LSBFDecoder.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o LSBFEncoder.o `test -f '7z/LSBFEncoder.cc' || echo './'`7z/LSBFEncoder.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o LZMA.o `test -f '7z/LZMA.cc' || echo './'`7z/LZMA.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o LZMADecoder.o `test -f '7z/LZMADecoder.cc' || echo './'`7z/LZMADecoder.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o LZMAEncoder.o `test -f '7z/LZMAEncoder.cc' || echo './'`7z/LZMAEncoder.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o LenCoder.o `test -f '7z/LenCoder.cc' || echo './'`7z/LenCoder.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o LiteralCoder.o `test -f '7z/LiteralCoder.cc' || echo './'`7z/LiteralCoder.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o OutByte.o `test -f '7z/OutByte.cc' || echo './'`7z/OutByte.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o WindowIn.o `test -f '7z/WindowIn.cc' || echo './'`7z/WindowIn.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o WindowOut.o `test -f '7z/WindowOut.cc' || echo './'`7z/WindowOut.cc g++ -pthread -O2 -march=i686 -pipe -DUSE_ERROR_SILENT -DUSE_COMPRESS -o advfs advfs.o zip.o file.o data.o siglock.o compress.o zipsh.o getopt.o snprintf.o 7zdeflate.o 7zlzma.o AriBitCoder.o CRC.o DeflateDecoder.o DeflateEncoder.o HuffmanEncoder.o IInOutStreams.o InByte.o LSBFDecoder.o LSBFEncoder.o LZMA.o LZMADecoder.o LZMAEncoder.o LenCoder.o LiteralCoder.o OutByte.o WindowIn.o WindowOut.o -lz -lpthread make[1]: Leaving directory `/var/tmp/portage/sys-fs/cloop-2.625/work/cloop-2.625/advancecomp-1.15' * * ERROR: sys-fs/cloop-2.625 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3147: Called linux-mod_src_compile * environment, line 2422: Called die * The specific snippet of code: * eval "emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= KVERSION=2.6.27-gentoo KERNEL_DIR=/usr/src/linux all * * 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-fs/cloop-2.625/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/cloop-2.625/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' *