D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/jffi-1.3.9-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QkNnSU sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zfGX1v + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build + rm -rf jffi-jffi-1.3.9 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/jffi-1.3.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jffi-jffi-1.3.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Fix-dependencies-on-junit-hamcrest.patch):' Patch #0 (0001-Fix-dependencies-on-junit-hamcrest.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file build.xml + echo 'Patch #1 (0002-Fix-compilation-flags.patch):' Patch #1 (0002-Fix-compilation-flags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jni/GNUmakefile patching file pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_parent + sed -i -e /i586/d jni/GNUmakefile + rm -r archive/jffi-Darwin.jar archive/jffi-aarch64-FreeBSD.jar archive/jffi-aarch64-Linux.jar archive/jffi-arm-Linux.jar archive/jffi-i386-FreeBSD.jar archive/jffi-i386-Linux.jar archive/jffi-i386-OpenBSD.jar archive/jffi-i386-SunOS.jar archive/jffi-i386-Windows.jar archive/jffi-mips64el-Linux.jar archive/jffi-ppc-AIX.jar archive/jffi-ppc-Linux.jar archive/jffi-ppc64-AIX.jar archive/jffi-ppc64-Linux.jar archive/jffi-ppc64le-Linux.jar archive/jffi-s390x-Linux.jar archive/jffi-sparc-SunOS.jar archive/jffi-sparcv9-Linux.jar archive/jffi-sparcv9-SunOS.jar archive/jffi-x86_64-DragonFlyBSD.jar archive/jffi-x86_64-FreeBSD.jar archive/jffi-x86_64-Linux.jar archive/jffi-x86_64-OpenBSD.jar archive/jffi-x86_64-SunOS.jar archive/jffi-x86_64-Windows.jar jni/libffi/ lib/junit lib/junit_4 + find ./ -name '*.jar' -exec rm -f '{}' ';' + find ./ -name '*.class' -exec rm -f '{}' ';' + build-jar-repository -s -p lib/ junit hamcrest/hamcrest + sed -i -e 's/haltonfailure="true"/haltonfailure="no"/' build.xml + sed -i -e 's/<javac/<javac debug="true"/' build.xml + /usr/bin/python3 /usr/share/java-utils/mvn_package.py com.github.jnr:jffi::native: native + /usr/bin/python3 /usr/share/java-utils/mvn_file.py ':{*}' jffi/@1 @1 + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.j0GNhX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jffi-jffi-1.3.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ant jar -Duse.system.libffi=1 Buildfile: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build.xml -pre-init: -init-vars: [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni -post-init: -init: -pre-jar: -pre-compile: -do-compile: [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/classes [javac] Compiling 43 source files to /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] warning: [options] source value 8 is obsolete and will be removed in a future release [javac] warning: [options] target value 8 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/Aggregate.java:66: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] protected void finalize() throws Throwable { [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/Aggregate.java:76: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] super.finalize(); [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/CallContext.java:241: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] protected void finalize() throws Throwable { [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/CallContext.java:251: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] super.finalize(); [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/ClosureMagazine.java:64: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] protected void finalize() throws Throwable { [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/ClosureMagazine.java:74: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] super.finalize(); [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/ClosurePool.java:229: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] protected void finalize() throws Throwable { [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/ClosurePool.java:247: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] super.finalize(); [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/ClosurePool.java:285: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] protected void finalize() throws Throwable { [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/ClosurePool.java:289: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] super.finalize(); [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/Library.java:196: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] protected void finalize() throws Throwable { [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/Library.java:203: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] super.finalize(); [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/NativeMethods.java:150: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] protected void finalize() throws Throwable { [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/NativeMethods.java:157: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] super.finalize(); [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/UnsafeMemoryIO.java:9: warning: Unsafe is internal proprietary API and may be removed in a future release [javac] protected static sun.misc.Unsafe unsafe = sun.misc.Unsafe.class.cast(getUnsafe()); [javac] ^ [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/UnsafeMemoryIO.java:9: warning: Unsafe is internal proprietary API and may be removed in a future release [javac] protected static sun.misc.Unsafe unsafe = sun.misc.Unsafe.class.cast(getUnsafe()); [javac] ^ [javac] Note: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/src/main/java/com/kenai/jffi/ClosureMagazine.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 20 warnings -generate-version-source: [echo] Generating Version.java [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/java/com/kenai/jffi -generate-version: [javac] Compiling 1 source file to /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] warning: [options] source value 8 is obsolete and will be removed in a future release [javac] warning: [options] target value 8 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings -compile-java: -generate-native-headers: [javac] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build.xml:324: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 3 source files to /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni [javac] warning: [options] bootstrap class path not set in conjunction with -source 8 [javac] warning: [options] source value 8 is obsolete and will be removed in a future release [javac] warning: [options] target value 8 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings -build-native-library: [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/CallContext.c: In function 'Java_com_kenai_jffi_Foreign_newCallContext': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/CallContext.c:72:15: warning: unused variable 'ffiParamTypes' [-Wunused-variable] [exec] 72 | ffi_type* ffiParamTypes; [exec] | ^~~~~~~~~~~~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/ClosureMagazine.c: In function 'Java_com_kenai_jffi_Foreign_freeClosureMagazine': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/ClosureMagazine.c:223:14: warning: unused variable 'closure' [-Wunused-variable] [exec] 223 | Closure* closure; [exec] | ^~~~~~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c: In function 'Java_com_kenai_jffi_Foreign_invokeI0NoErrno': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c:152:18: warning: unused variable 'ctx' [-Wunused-variable] [exec] 152 | CallContext *ctx = (CallContext *) j2p(ctxAddress); [exec] | ^~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c: In function 'Java_com_kenai_jffi_Foreign_invokeI1NoErrno': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c:163:18: warning: unused variable 'ctx' [-Wunused-variable] [exec] 163 | CallContext *ctx = (CallContext *) j2p(ctxAddress); [exec] | ^~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c: In function 'Java_com_kenai_jffi_Foreign_invokeI2NoErrno': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c:175:18: warning: unused variable 'ctx' [-Wunused-variable] [exec] 175 | CallContext *ctx = (CallContext *) j2p(ctxAddress); [exec] | ^~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c: In function 'Java_com_kenai_jffi_Foreign_invokeI3NoErrno': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c:187:18: warning: unused variable 'ctx' [-Wunused-variable] [exec] 187 | CallContext *ctx = (CallContext *) j2p(ctxAddress); [exec] | ^~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c: In function 'Java_com_kenai_jffi_Foreign_invokeI4NoErrno': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c:200:18: warning: unused variable 'ctx' [-Wunused-variable] [exec] 200 | CallContext *ctx = (CallContext *) j2p(ctxAddress); [exec] | ^~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c: In function 'Java_com_kenai_jffi_Foreign_invokeI5NoErrno': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c:213:18: warning: unused variable 'ctx' [-Wunused-variable] [exec] 213 | CallContext *ctx = (CallContext *) j2p(ctxAddress); [exec] | ^~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c: In function 'Java_com_kenai_jffi_Foreign_invokeI6NoErrno': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastIntInvoke.c:226:18: warning: unused variable 'ctx' [-Wunused-variable] [exec] 226 | CallContext *ctx = (CallContext *) j2p(ctxAddress); [exec] | ^~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/Foreign.c: In function 'JNI_OnLoad': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/Foreign.c:54:22: warning: unused variable 'sa' [-Wunused-variable] [exec] 54 | struct sigaction sa; [exec] | ^~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/Invoke.c: In function 'invokeArrayWithObjects_': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/Invoke.c:281:16: warning: unused variable 'ary' [-Wunused-variable] [exec] 281 | Array* ary = &arrays[arrayCount]; [exec] | ^~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/Invoke.c:170:45: warning: unused variable 'paramBytes' [-Wunused-variable] [exec] 170 | int i, arrayCount = 0, pinnedCount = 0, paramBytes = 0; [exec] | ^~~~~~~~~~ [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/Library.c:192:1: warning: 'getWideString' defined but not used [-Wunused-function] [exec] 192 | getWideString(JNIEnv* env, wchar_t* dst, jstring src, int n) [exec] | ^~~~~~~~~~~~~ [exec] gcc -o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/libjffi-1.2.so -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lffi -shared /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/Array.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/CallContext.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/ClosureMagazine.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/Exception.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/FastIntInvoke.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/FastLongInvoke.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/FastNumericInvoker.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/FaultProtect.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/Foreign.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/Internals.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/Invoke.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/LastError.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/Library.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/LongDouble.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/Memory.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/MemoryIO.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/MemoryUtil.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/Struct.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/Type.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/deprecated.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/longjmp.o /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/setjmp.o [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/CallContext.o: in function `Java_com_kenai_jffi_Foreign_newCallContext': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/CallContext.c:198:(.text+0x20c): undefined reference to `ffi_prep_cif_var' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/CallContext.c:195:(.text+0x372): undefined reference to `ffi_prep_cif' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/ClosureMagazine.o: in function `closure_prep': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/ClosureMagazine.c:481:(.text+0x624): undefined reference to `ffi_prep_closure_loc' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/FastNumericInvoker.o: in function `call6': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastNumericInvoker.c:312:(.text+0x32a): undefined reference to `ffi_call' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/FastNumericInvoker.o: in function `call5': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastNumericInvoker.c:288:(.text+0x755): undefined reference to `ffi_call' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/FastNumericInvoker.o: in function `call4': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastNumericInvoker.c:263:(.text+0xb5d): undefined reference to `ffi_call' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/FastNumericInvoker.o: in function `call3': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastNumericInvoker.c:238:(.text+0xf23): undefined reference to `ffi_call' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/FastNumericInvoker.o: in function `call2': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastNumericInvoker.c:215:(.text+0x159d): undefined reference to `ffi_call' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/FastNumericInvoker.o:/home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/FastNumericInvoker.c:192: more undefined references to `ffi_call' follow [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/jffi/Type.o: in function `p2j': [exec] /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0x2b): undefined reference to `ffi_type_sint64' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0x33): undefined reference to `ffi_type_uint8' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0x43): undefined reference to `ffi_type_sint8' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0x53): undefined reference to `ffi_type_uint16' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0x63): undefined reference to `ffi_type_sint16' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0x73): undefined reference to `ffi_type_uint32' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0x83): undefined reference to `ffi_type_sint32' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0x93): undefined reference to `ffi_type_uint64' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0x9b): undefined reference to `ffi_type_longdouble' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0xa3): undefined reference to `ffi_type_pointer' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0xab): undefined reference to `ffi_type_void' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0xb3): undefined reference to `ffi_type_float' [exec] /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/jffi/jffi.h:74:(.text+0xbb): undefined reference to `ffi_type_double' [exec] collect2: error: ld returned 1 exit status [exec] make: *** [/home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/jni/GNUmakefile:283: /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build/jni/libjffi-1.2.so] Error 1 BUILD FAILED /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build/jffi-jffi-1.3.9/build.xml:372: exec returned: 2 Total time: 5 seconds error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.j0GNhX (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.j0GNhX (%build) I: [iurt_root_command] ERROR: chroot