* Package: dev-java/jffi-1.3.6 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_ppc_64 elibc_glibc kernel_linux ppc64 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Using: icedtea-bin-8 >>> Unpacking source... >>> Unpacking jffi-1.3.6.tar.gz to /var/tmp/portage/dev-java/jffi-1.3.6/work >>> Source unpacked in /var/tmp/portage/dev-java/jffi-1.3.6/work >>> Preparing source in /var/tmp/portage/dev-java/jffi-1.3.6/work/jffi-jffi-1.3.6 ... * Applying jffi-1.3.6-GNUmakefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/jffi-1.3.6/work/jffi-jffi-1.3.6 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/jffi-1.3.6/work/jffi-jffi-1.3.6 ... * Compiling ... Note: src/main/java/com/kenai/jffi/ClosureMagazine.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. make -j12 -l10 SRC_DIR=jni JNI_DIR=jni BUILD_DIR=build/jni VERSION=1.3 USE_SYSTEM_LIBFFI=1 CCACHE= -f jni/GNUmakefile mkdir -p build/jni/jffi cc -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wundef -Werror -W -Wall -Wno-unused -Wno-parentheses -Wno-unused-parameter -I"build/jni" -I"build/jni"/jni -Ijni -I"jni/jffi" -fPIC -I"/opt/icedtea-bin-3.16.0/include" -I"/opt/icedtea-bin-3.16.0/include/linux" -I/usr/lib64/libffi/include -D_REENTRANT -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -pthread -c jni/jffi/Array.c -o build/jni/jffi/Array.o mkdir -p build/jni/jffi cc -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wundef -Werror -W -Wall -Wno-unused -Wno-parentheses -Wno-unused-parameter -I"build/jni" -I"build/jni"/jni -Ijni -I"jni/jffi" -fPIC -I"/opt/icedtea-bin-3.16.0/include" -I"/opt/icedtea-bin-3.16.0/include/linux" -I/usr/lib64/libffi/include -D_REENTRANT -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -pthread -c jni/jffi/CallContext.c -o build/jni/jffi/CallContext.o mkdir -p build/jni/jffi cc -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wundef -Werror -W -Wall -Wno-unused -Wno-parentheses -Wno-unused-parameter -I"build/jni" -I"build/jni"/jni -Ijni -I"jni/jffi" -fPIC -I"/opt/icedtea-bin-3.16.0/include" -I"/opt/icedtea-bin-3.16.0/include/linux" -I/usr/lib64/libffi/include -D_REENTRANT -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -pthread -c jni/jffi/ClosureMagazine.c -o build/jni/jffi/ClosureMagazine.o mkdir -p build/jni/jffi cc -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wundef -Werror -W -Wall -Wno-unused -Wno-parentheses -Wno-unused-parameter -I"build/jni" -I"build/jni"/jni -Ijni -I"jni/jffi" -fPIC -I"/opt/icedtea-bin-3.16.0/include" -I"/opt/icedtea-bin-3.16.0/include/linux" -I/usr/lib64/libffi/include -D_REENTRANT -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -pthread -c jni/jffi/Exception.c -o build/jni/jffi/Exception.o In file included from /usr/lib64/libffi/include/ffi.h:58, from jni/jffi/CallContext.c:44: /usr/lib64/libffi/include/ffitarget.h:161:7: error: "FFI_TYPE_LAST" is not defined, evaluates to 0 [-Werror=undef[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef]] 161 | #if !(FFI_TYPE_LAST == FFI_PPC_TYPE_LAST \ | ^~~~~~~~~~~~~ /usr/lib64/libffi/include/ffitarget.h:154:27: error: "FFI_TYPE_POINTER" is not defined, evaluates to 0 [-Werror=undef[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef]] 154 | #define FFI_PPC_TYPE_LAST FFI_TYPE_POINTER | ^~~~~~~~~~~~~~~~ /usr/lib64/libffi/include/ffitarget.h:161:24: note: in expansion of macro ‘FFI_PPC_TYPE_LAST’ 161 | #if !(FFI_TYPE_LAST == FFI_PPC_TYPE_LAST \ | ^~~~~~~~~~~~~~~~~ In file included from /usr/lib64/libffi/include/ffi.h:58, from jni/jffi/jffi.h:45, from jni/jffi/Array.c:39: /usr/lib64/libffi/include/ffitarget.h:161:7: error: "FFI_TYPE_LAST" is not defined, evaluates to 0 [-Werror=undef[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef]] 161 | #if !(FFI_TYPE_LAST == FFI_PPC_TYPE_LAST \ | ^~~~~~~~~~~~~ /usr/lib64/libffi/include/ffitarget.h:154:27: error: "FFI_TYPE_POINTER" is not defined, evaluates to 0 [-Werror=undef[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef]] 154 | #define FFI_PPC_TYPE_LAST FFI_TYPE_POINTER | ^~~~~~~~~~~~~~~~ /usr/lib64/libffi/include/ffitarget.h:161:24: note: in expansion of macro ‘FFI_PPC_TYPE_LAST’ 161 | #if !(FFI_TYPE_LAST == FFI_PPC_TYPE_LAST \ | ^~~~~~~~~~~~~~~~~ mkdir -p build/jni/jffi In file included from /usr/lib64/libffi/include/ffi.h:58, from jni/jffi/jffi.h:45, from jni/jffi/ClosureMagazine.c:47: /usr/lib64/libffi/include/ffitarget.h:161:7: error: "FFI_TYPE_LAST" is not defined, evaluates to 0 [-Werror=undef[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef]] 161 | #if !(FFI_TYPE_LAST == FFI_PPC_TYPE_LAST \ | ^~~~~~~~~~~~~ /usr/lib64/libffi/include/ffitarget.h:154:27: error: "FFI_TYPE_POINTER" is not defined, evaluates to 0 [-Werror=undef[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef]] 154 | #define FFI_PPC_TYPE_LAST FFI_TYPE_POINTER | ^~~~~~~~~~~~~~~~ /usr/lib64/libffi/include/ffitarget.h:161:24: note: in expansion of macro ‘FFI_PPC_TYPE_LAST’ 161 | #if !(FFI_TYPE_LAST == FFI_PPC_TYPE_LAST \ | ^~~~~~~~~~~~~~~~~ cc -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option -fdiagnostics-color=always -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wundef -Werror -W -Wall -Wno-unused -Wno-parentheses -Wno-unused-parameter -I"build/jni" -I"build/jni"/jni -Ijni -I"jni/jffi" -fPIC -I"/opt/icedtea-bin-3.16.0/include" -I"/opt/icedtea-bin-3.16.0/include/linux" -I/usr/lib64/libffi/include -D_REENTRANT -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -pthread -c jni/jffi/Foreign.c -o build/jni/jffi/Foreign.o cc1: all warnings being treated as errors make: *** [jni/GNUmakefile:286: build/jni/jffi/CallContext.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from /usr/lib64/libffi/include/ffi.h:58, from jni/jffi/jffi.h:45, from jni/jffi/Foreign.c:42: /usr/lib64/libffi/include/ffitarget.h:161:7: error: "FFI_TYPE_LAST" is not defined, evaluates to 0 [-Werror=undef[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef]] 161 | #if !(FFI_TYPE_LAST == FFI_PPC_TYPE_LAST \ | ^~~~~~~~~~~~~ /usr/lib64/libffi/include/ffitarget.h:154:27: error: "FFI_TYPE_POINTER" is not defined, evaluates to 0 [-Werror=undef[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef]] 154 | #define FFI_PPC_TYPE_LAST FFI_TYPE_POINTER | ^~~~~~~~~~~~~~~~ /usr/lib64/libffi/include/ffitarget.h:161:24: note: in expansion of macro ‘FFI_PPC_TYPE_LAST’ 161 | #if !(FFI_TYPE_LAST == FFI_PPC_TYPE_LAST \ | ^~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors cc1: all warnings being treated as errors make: *** [jni/GNUmakefile:286: build/jni/jffi/ClosureMagazine.o] Error 1 make: *** [jni/GNUmakefile:286: build/jni/jffi/Array.o] Error 1 cc1: all warnings being treated as errors make: *** [jni/GNUmakefile:286: build/jni/jffi/Foreign.o] Error 1 * ERROR: dev-java/jffi-1.3.6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-java/jffi-1.3.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/jffi-1.3.6::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-java/jffi-1.3.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/jffi-1.3.6/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/jffi-1.3.6/work/jffi-jffi-1.3.6' * S: '/var/tmp/portage/dev-java/jffi-1.3.6/work/jffi-jffi-1.3.6' !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-8 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.16.0" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" and of course, the output of emerge --info =jffi-1.3.6