# emerge --verbose sys-fs/cloop Calculating dependencies ...done! >>> emerge (1 of 1) sys-fs/cloop-2.01.5-r1 to / >>> md5 files ;-) cloop-2.02.1.ebuild >>> md5 files ;-) cloop-2.01.5-r1.ebuild >>> md5 files ;-) files/cloop.fix-create_compressed_fs-segfault-on-amd64.patch >>> md5 files ;-) files/digest-cloop-2.01.5-r1 >>> md5 files ;-) files/cloop.fix-7z-syntax-for-gcc-3.4.patch >>> md5 files ;-) files/cloop-2.02.1-netinet-gentoo.patch >>> md5 files ;-) files/cloop.fix-incompatible-kernel-2.6.7-and-later.patch >>> md5 files ;-) files/cloop.fix-Makefile-for-kernel-2.6-and-amd64.patch >>> md5 files ;-) files/cloop-2.01.5-netinet-gentoo.patch >>> md5 files ;-) files/digest-cloop-2.02.1 >>> md5 src_uri ;-) cloop_2.01-5.tar.gz >>> root -sandbox(setup) >>> CFLAGS = [-march=athlon -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.16-gentoo-r3 * Checking for suitable kernel configuration options: >>> root +sandbox(unpack) >>> CFLAGS = [-march=athlon -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer] >>> Unpacking source... >>> Unpacking cloop_2.01-5.tar.gz to /var/tmp/portage/cloop-2.01.5-r1/work * Applying cloop.fix-Makefile-for-kernel-2.6-and-amd64.patch ... [ ok ] * Applying cloop.fix-incompatible-kernel-2.6.7-and-later.patch ... [ ok ] * Applying cloop.fix-7z-syntax-for-gcc-3.4.patch ... [ ok ] * Applying cloop.fix-create_compressed_fs-segfault-on-amd64.patch ... [ ok ] * Applying cloop-2.01.5-netinet-gentoo.patch ... [ ok ] >>> Source unpacked. >>> portage +sandbox(compile) >>> CFLAGS = [-march=athlon -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer] * Preparing cloop module ( make -C advancecomp-1.9_create_compressed_fs advfs ) cc -march=athlon -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -c -o extract_compressed_fs.o extract_compressed_fs.c cc -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default -march=athlon -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -D__KERNEL__ -DMODULE -fno-builtin -nostdlib -DKBUILD_MODNAME="cloop" -DKBUILD_BASENAME="cloop" -D__OPTIMIZE__ -DMODVERSIONS -include /usr/src/linux/include/config/modversions.h -include /usr/src/linux/include/linux/version.h compressed_loop.c -c -o compressed_loop.o make[1]: Entering directory `/var/tmp/portage/cloop-2.01.5-r1/work/cloop-2.01/advancecomp-1.9_create_compressed_fs' g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o advfs.o `test -f 'advfs.cc' || echo './'`advfs.cc cc -o extract_compressed_fs extract_compressed_fs.o -lz g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o utility.o `test -f 'utility.cc' || echo './'`utility.cc advfs.cc:34:1: warning: "__OPTIMIZE__" redefined :64:1: warning: this is the location of the previous definition g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o siglock.o `test -f 'siglock.cc' || echo './'`siglock.cc In file included from /usr/src/linux/include/linux/rwsem.h:27, from /usr/src/linux/include/asm/semaphore.h:42, from /usr/src/linux/include/linux/sched.h:20, from /usr/src/linux/include/linux/module.h:10, from compressed_loop.c:29: /usr/src/linux/include/asm/rwsem.h: In function `__down_read': /usr/src/linux/include/asm/rwsem.h:105: error: syntax error before "cloop" /usr/src/linux/include/asm/rwsem.h: In function `__down_write': /usr/src/linux/include/asm/rwsem.h:157: error: syntax error before "cloop" /usr/src/linux/include/asm/rwsem.h: In function `__up_read': /usr/src/linux/include/asm/rwsem.h:194: error: syntax error before "cloop" /usr/src/linux/include/asm/rwsem.h: In function `__up_write': /usr/src/linux/include/asm/rwsem.h:220: error: syntax error before "cloop" /usr/src/linux/include/asm/rwsem.h: In function `__downgrade_write': /usr/src/linux/include/asm/rwsem.h:245: error: syntax error before "cloop" In file included from /usr/src/linux/include/linux/sched.h:20, from /usr/src/linux/include/linux/module.h:10, from compressed_loop.c:29: /usr/src/linux/include/asm/semaphore.h: In function `down': /usr/src/linux/include/asm/semaphore.h:105: error: syntax error before "cloop" /usr/src/linux/include/asm/semaphore.h: In function `down_interruptible': /usr/src/linux/include/asm/semaphore.h:130: error: syntax error before "cloop" /usr/src/linux/include/asm/semaphore.h: In function `down_trylock': /usr/src/linux/include/asm/semaphore.h:155: error: syntax error before "cloop" /usr/src/linux/include/asm/semaphore.h: In function `up': /usr/src/linux/include/asm/semaphore.h:179: error: syntax error before "cloop" make: *** [compressed_loop.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o compress.o `test -f 'compress.cc' || echo './'`compress.cc gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c `test -f 'snprintf.c' || echo './'`snprintf.c g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o pngex.o `test -f 'pngex.cc' || echo './'`pngex.cc gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o fz.o `test -f 'lib/fz.c' || echo './'`lib/fz.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o error.o `test -f 'lib/error.c' || echo './'`lib/error.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o snstring.o `test -f 'lib/snstring.c' || echo './'`lib/snstring.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o png.o `test -f 'lib/png.c' || echo './'`lib/png.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o mng.o `test -f 'lib/mng.c' || echo './'`lib/mng.c g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -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. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o WindowOut.o `test -f '7z/WindowOut.cc' || echo './'`7z/WindowOut.cc g++ -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -o advfs advfs.o utility.o siglock.o compress.o getopt.o snprintf.o pngex.o fz.o error.o snstring.o png.o mng.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 make[1]: Leaving directory `/var/tmp/portage/cloop-2.01.5-r1/work/cloop-2.01/advancecomp-1.9_create_compressed_fs' !!! ERROR: sys-fs/cloop-2.01.5-r1 failed. !!! Function linux-mod_src_compile, Line 512, Exitcode 2 !!! Unable to make KVERSION=2.6.16-gentoo-r3 KERNEL_DIR=/usr/src/linux all. !!! If you need support, post the topmost build error, NOT this status message.