Package: src:jffi Version: 1.0.2-9 Severity: important Tags: sid jessie User: [email protected] Usertags: ftbfs-gcc-4.8
The package fails to build in a test rebuild on at least amd64 with gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The severity of this report may be raised before the jessie release. [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:48:40: error: unused parameter 'env' [-Werror=unused-parameter] The full build log can be found at: http://people.debian.org/~doko/logs-20130217/gcc48/jffi_1.0.2-9_unstable_gcc48.log The last lines of the build log are at the end of this report. To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues might be caused by the updated glibc. [...] [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c: In function 'freeShortArray': [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:48:40: error: unused parameter 'env' [-Werror=unused-parameter] [exec] static void free##JTYPE##Array(JNIEnv *env, Array *array) \ [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:59:1: note: in expansion of macro 'RELEASE' [exec] RELEASE(Short, jshort); [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c: In function 'freeIntArray': [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:48:40: error: unused parameter 'env' [-Werror=unused-parameter] [exec] static void free##JTYPE##Array(JNIEnv *env, Array *array) \ [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:60:1: note: in expansion of macro 'RELEASE' [exec] RELEASE(Int, jint); [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c: In function 'freeLongArray': [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:48:40: error: unused parameter 'env' [-Werror=unused-parameter] [exec] static void free##JTYPE##Array(JNIEnv *env, Array *array) \ [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:61:1: note: in expansion of macro 'RELEASE' [exec] RELEASE(Long, jlong); [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c: In function 'freeFloatArray': [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:48:40: error: unused parameter 'env' [-Werror=unused-parameter] [exec] static void free##JTYPE##Array(JNIEnv *env, Array *array) \ [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:62:1: note: in expansion of macro 'RELEASE' [exec] RELEASE(Float, jfloat); [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c: In function 'freeDoubleArray': [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:48:40: error: unused parameter 'env' [-Werror=unused-parameter] [exec] static void free##JTYPE##Array(JNIEnv *env, Array *array) \ [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:63:1: note: in expansion of macro 'RELEASE' [exec] RELEASE(Double, jdouble); [exec] ^ [exec] /«PKGBUILDDIR»/jni/jffi/Array.c: In function 'jffi_getArrayCritical': [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:214:81: error: unused parameter 'paramType' [-Werror=unused-parameter] [exec] jffi_getArrayCritical(JNIEnv* env, jobject buf, jsize offset, jsize length, int paramType, struct Array* array) [exec] ^ [exec] cc1: all warnings being treated as errors [exec] make[1]: *** [/«PKGBUILDDIR»/build/jni/jffi/Array.o] Error 1 [exec] make[1]: Leaving directory `/«PKGBUILDDIR»' BUILD FAILED /«PKGBUILDDIR»/custom-build.xml:125: exec returned: 2 Total time: 4 seconds make: *** [debian/stamp-ant-build] Error 1 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.

