Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/jffi.spec'], printOutput=Falselogger=uid=1000timeout=0gid=135env={'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'CCACHE_UMASK': '002', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100'}shell=FalsechrootPath='/var/lib/mock/fedora-20-armhfp-pidora-root-18397/root'user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/jffi.spec'] with env {'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'CCACHE_UMASK': '002', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100'} and shell False warning: Could not canonicalize hostname: armbuilder Building target platforms: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/jffi-1.2.9-8.fc20.src.rpm Child return code was: 0 LEAVE do --> Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/jffi.spec'], env={'TERM': 'vt100', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'CCACHE_UMASK': '002', 'HOSTNAME': 'mock'}logger=gid=135user='mockbuild'timeout=0chrootPath='/var/lib/mock/fedora-20-armhfp-pidora-root-18397/root'printOutput=Falseshell=Falseuid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/jffi.spec'] with env {'TERM': 'vt100', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'CCACHE_UMASK': '002', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: armbuilder Building target platforms: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/jffi-1.2.9-8.fc20.src.rpm Child return code was: 0 LEAVE do --> Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/jffi.spec'], uid=1000gid=135shell=FalsechrootPath='/var/lib/mock/fedora-20-armhfp-pidora-root-9995/root'printOutput=Falsetimeout=0user='mockbuild'logger=env={'HOME': '/builddir', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache', 'LANG': 'en_US.UTF-8'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/jffi.spec'] with env {'HOME': '/builddir', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: armbuilder Building target platforms: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/jffi-1.2.9-8bs01fc23.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/jffi.spec '], uid=1000user='mockbuild'gid=135shell=FalsechrootPath='/var/lib/mock/fedora-20-armhfp-pidora-root-9995/root'printOutput=Falsetimeout=0private_network=Truelogger=env={'HOME': '/builddir', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache', 'LANG': 'en_US.UTF-8'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/jffi.spec '] with env {'HOME': '/builddir', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: armv6hl Building for target armv6hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cm3ru6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jffi-1.2.9 + /usr/bin/unzip -qq /builddir/build/SOURCES/1.2.9.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd jffi-1.2.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/MANIFEST.MF . + cp /builddir/build/SOURCES/NATIVE-MANIFEST.MF . + sed -i -es/@VERSION/1.2.9/g MANIFEST.MF + sed -i -es/@VERSION/1.2.9/g NATIVE-MANIFEST.MF + echo 'Patch #0 (jffi-fix-dependencies-in-build-xml.patch):' Patch #0 (jffi-fix-dependencies-in-build-xml.patch): + /usr/bin/patch -p0 --fuzz=0 patching file build.xml + echo 'Patch #1 (jffi-add-built-jar-to-test-classpath.patch):' Patch #1 (jffi-add-built-jar-to-test-classpath.patch): + /usr/bin/patch -p0 --fuzz=0 patching file build.xml + echo 'Patch #2 (jffi-fix-compilation-flags.patch):' Patch #2 (jffi-fix-compilation-flags.patch): + /usr/bin/patch -p0 --fuzz=0 patching file jni/GNUmakefile + sed -i.cpu -e '/m\$(MODEL)/d' jni/GNUmakefile libtest/GNUmakefile + rm -rf archive/jffi-Darwin.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-ppc-AIX.jar archive/jffi-ppc-Linux.jar archive/jffi-ppc64-Linux.jar archive/jffi-ppc64le-Linux.jar archive/jffi-s390x-Linux.jar archive/jffi-sparc-SunOS.jar archive/jffi-sparcv9-SunOS.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/ jni/win32/ lib/CopyLibs/ lib/junit lib/junit_4 + find ./ -name '*.jar' -exec rm -f '{}' ';' + find ./ -name '*.class' -exec rm -f '{}' ';' + build-jar-repository -s -p lib/ junit /usr/share/java-utils/java-functions: line 396: popd: lib/: invalid argument popd: usage: popd [-n] [+N | -N] + python /usr/share/java-utils/mvn_package.py com.github.jnr:jffi::native: native + python /usr/share/java-utils/mvn_file.py ':{*}' jffi/@1 @1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZwpDkA + umask 022 + cd /builddir/build/BUILD + cd jffi-1.2.9 + ant jar build-native -Duse.system.libffi=1 Buildfile: /builddir/build/BUILD/jffi-1.2.9/build.xml -pre-init: -init-vars: [mkdir] Created dir: /builddir/build/BUILD/jffi-1.2.9/build/jni -post-init: -init: -pre-jar: -pre-compile: -do-compile: [mkdir] Created dir: /builddir/build/BUILD/jffi-1.2.9/build/classes [javac] Compiling 42 source files to /builddir/build/BUILD/jffi-1.2.9/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] /builddir/build/BUILD/jffi-1.2.9/src/main/java/com/kenai/jffi/MemoryIO.java:847: 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] /builddir/build/BUILD/jffi-1.2.9/src/main/java/com/kenai/jffi/MemoryIO.java:847: 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: /builddir/build/BUILD/jffi-1.2.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] 3 warnings -generate-version-source: [echo] Generating Version.java [mkdir] Created dir: /builddir/build/BUILD/jffi-1.2.9/build/java/com/kenai/jffi -generate-version: [javac] Compiling 1 source file to /builddir/build/BUILD/jffi-1.2.9/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] 1 warning -compile-java: -generate-native-headers: -build-native-library: [exec] /builddir/build/BUILD/jffi-1.2.9/jni/jffi/Library.c:189:1: warning: 'getWideString' defined but not used [-Wunused-function] [exec] getWideString(JNIEnv* env, wchar_t* dst, jstring src, int n) [exec] ^ [exec] /builddir/build/BUILD/jffi-1.2.9/jni/jffi/Foreign.c: In function 'JNI_OnLoad': [exec] /builddir/build/BUILD/jffi-1.2.9/jni/jffi/Foreign.c:54:22: warning: unused variable 'sa' [-Wunused-variable] [exec] struct sigaction sa; [exec] ^ [exec] /builddir/build/BUILD/jffi-1.2.9/jni/jffi/Invoke.c: In function 'invokeArrayWithObjects_': [exec] /builddir/build/BUILD/jffi-1.2.9/jni/jffi/Invoke.c:281:16: warning: unused variable 'ary' [-Wunused-variable] [exec] Array* ary = &arrays[arrayCount]; [exec] ^ [exec] /builddir/build/BUILD/jffi-1.2.9/jni/jffi/Invoke.c:170:45: warning: unused variable 'paramBytes' [-Wunused-variable] [exec] int i, arrayCount = 0, pinnedCount = 0, paramBytes = 0; [exec] ^ [exec] /builddir/build/BUILD/jffi-1.2.9/jni/jffi/CallContext.c: In function 'Java_com_kenai_jffi_Foreign_newCallContext': [exec] /builddir/build/BUILD/jffi-1.2.9/jni/jffi/CallContext.c:72:15: warning: unused variable 'ffiParamTypes' [-Wunused-variable] [exec] ffi_type* ffiParamTypes; [exec] ^ [exec] /builddir/build/BUILD/jffi-1.2.9/jni/jffi/ClosureMagazine.c: In function 'Java_com_kenai_jffi_Foreign_freeClosureMagazine': [exec] /builddir/build/BUILD/jffi-1.2.9/jni/jffi/ClosureMagazine.c:156:14: warning: unused variable 'closure' [-Wunused-variable] [exec] Closure* closure; [exec] ^ [exec] cc -o /builddir/build/BUILD/jffi-1.2.9/build/jni/libjffi-1.2.so -shared -static-libgcc -Wl,-soname,libjffi-1.2.so -Wl,-O1 /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/FastLongInvoke.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/setjmp.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/Struct.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/Library.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/Exception.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/FastIntInvoke.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/Foreign.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/Type.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/FastNumericInvoker.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/FaultProtect.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/LastError.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/MemoryUtil.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/Invoke.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/Memory.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/longjmp.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/CallContext.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/ClosureMagazine.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/MemoryIO.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/LongDouble.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/Array.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/deprecated.o /builddir/build/BUILD/jffi-1.2.9/build/jni/jffi/Internals.o -lffi [exec] /bin/true /builddir/build/BUILD/jffi-1.2.9/build/jni/libjffi-1.2.so -post-compile: compile: -do-jar: [mkdir] Created dir: /builddir/build/BUILD/jffi-1.2.9/dist [jar] Building jar: /builddir/build/BUILD/jffi-1.2.9/dist/jffi.jar -build-platform-jar: [echo] platform=arm-Linux [zip] Building zip: /builddir/build/BUILD/jffi-1.2.9/dist/jffi-arm-Linux.jar -assemble-native-jar: [jar] Building jar: /builddir/build/BUILD/jffi-1.2.9/build/native.jar -assemble-final-jar: [jar] Building jar: /builddir/build/BUILD/jffi-1.2.9/dist/jffi-complete.jar [jar] Warning: selected jar files include a META-INF/INDEX.LIST which will be replaced by a newly generated one. -post-jar: jar: -pre-init: -init-vars: -post-init: -init: -generate-version-source: [echo] Generating Version.java -generate-version: [javac] Compiling 1 source file to /builddir/build/BUILD/jffi-1.2.9/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] 1 warning -do-compile: -compile-java: -generate-native-headers: -build-native-library: [exec] make: Nothing to be done for 'all'. -build-platform-jar: [echo] platform=arm-Linux -assemble-native-jar: -assemble-final-jar: build-native: BUILD SUCCESSFUL Total time: 42 seconds + cp -p dist/jffi-arm-Linux.jar archive/ + python /usr/share/java-utils/mvn_build.py -n jffi [INFO] Scanning for projects... [WARNING] Failed to resolve artifact: org.apache.maven.plugins:maven-javadoc-plugin:pom:SYSTEM [WARNING] The POM for org.apache.maven.plugins:maven-javadoc-plugin:jar:SYSTEM is missing, no dependency information available [WARNING] Failed to resolve artifact: org.apache.maven.plugins:maven-javadoc-plugin:jar:SYSTEM [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.703s [INFO] Finished at: Fri Dec 18 00:34:48 CST 2015 [INFO] Final Memory: 5M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-javadoc-plugin:SYSTEM or one of its dependencies could not be resolved: Cannot access central (http://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-javadoc-plugin:jar:SYSTEM has not been downloaded from it before. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException error: Bad exit status from /var/tmp/rpm-tmp.ZwpDkA (%build) Bad exit status from /var/tmp/rpm-tmp.ZwpDkA (%build) RPM build errors: Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/jffi.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/jffi.spec LEAVE do --> EXCEPTION RAISED