Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lz4-java.spec'], chrootPath='/var/lib/mock/f30-build-34493-19051/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lz4-java.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/lz4-java-1.3.0-9.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lz4-java.spec'], chrootPath='/var/lib/mock/f30-build-34493-19051/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lz4-java.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JgL8X2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lz4-java-1.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lz4-java-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.dylib' -print -delete ./src/resources/darwin/x86_64/liblz4-java.dylib + find -name '*.so' -print -delete ./src/resources/linux/i386/liblz4-java.so ./src/resources/linux/amd64/liblz4-java.so ./src/resources/win32/amd64/liblz4-java.so Patch #0 (lz4-java-1.3.0-build.patch): + echo 'Patch #0 (lz4-java-1.3.0-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml Patch #1 (lz4-java-1.3.0-junit_Assert.patch): + echo 'Patch #1 (lz4-java-1.3.0-junit_Assert.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/test/net/jpountz/lz4/LZ4BlockStreamingTest.java patching file src/test/net/jpountz/lz4/LZ4Test.java patching file src/test/net/jpountz/xxhash/XXHash32Test.java patching file src/test/net/jpountz/xxhash/XXHash64Test.java + cp -p src/xxhash/LICENSE LICENSE.xxhash + cp -p src/lz4/LICENSE lz4_LICENSE + echo 'Export-Package: net.jpountz.*,!linux.*' + sed -i /packages.version/d lz4.bnd + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xfk6P4 + umask 022 + cd /builddir/build/BUILD + cd lz4-java-1.3.0 + ant -Doffline=true -Divy.mode=local -Divysettings.xml=/etc/ivy/ivysettings.xml -Divy.revision=1.3.0 -Divy.pom.version=1.3.0 jar docs makepom Buildfile: /builddir/build/BUILD/lz4-java-1.3.0/build.xml init: [ivy:resolve] :: Apache Ivy 2.4.0-local-20181023112341 - 20181023112341 :: http://ant.apache.org/ivy/ :: [ivy:resolve] :: loading settings :: file = /etc/ivy/ivysettings.xml [ivy:resolve] :: resolving dependencies :: net.jpountz.lz4#lz4;1.3-SNAPSHOT [ivy:resolve] confs: [test] [ivy:resolve] found com.carrotsearch.randomizedtesting#junit4-ant;SYSTEM in xmvn [ivy:resolve] [SYSTEM] com.carrotsearch.randomizedtesting#junit4-ant;2.0.9 (forced) [ivy:resolve] found org.apache.ant#ant;SYSTEM in xmvn [ivy:resolve] [SYSTEM] org.apache.ant#ant;1.9.7 (forced) [ivy:resolve] found org.apache.ant#ant-launcher;SYSTEM in xmvn [ivy:resolve] [SYSTEM] org.apache.ant#ant-launcher;1.10.5 (forced) [ivy:resolve] found org.apache.ant#ant-junit;SYSTEM in xmvn [ivy:resolve] [SYSTEM] org.apache.ant#ant-junit;1.9.7 (forced) [ivy:resolve] found junit#junit;SYSTEM in xmvn [ivy:resolve] [SYSTEM] junit#junit;4.10 (forced) [ivy:resolve] found org.hamcrest#hamcrest-core;SYSTEM in xmvn [ivy:resolve] [SYSTEM] org.hamcrest#hamcrest-core;1.3 (forced) [ivy:resolve] found com.google.guava#guava;19.0 in xmvn [ivy:resolve] found org.ow2.asm#asm;SYSTEM in xmvn [ivy:resolve] [SYSTEM] org.ow2.asm#asm;5.1 (forced) [ivy:resolve] found org.simpleframework#simple-xml;SYSTEM in xmvn [ivy:resolve] [SYSTEM] org.simpleframework#simple-xml;2.7.1 (forced) [ivy:resolve] found stax#stax-api;SYSTEM in xmvn [ivy:resolve] [SYSTEM] stax#stax-api;1.0.1 (forced) [ivy:resolve] found stax#stax;SYSTEM in xmvn [ivy:resolve] [SYSTEM] stax#stax;1.2.0 (forced) [ivy:resolve] found xpp3#xpp3;SYSTEM in xmvn [ivy:resolve] [SYSTEM] xpp3#xpp3;1.1.3.3 (forced) [ivy:resolve] found com.carrotsearch.randomizedtesting#randomizedtesting-runner;SYSTEM in xmvn [ivy:resolve] [SYSTEM] com.carrotsearch.randomizedtesting#randomizedtesting-runner;2.5.3 (forced) [ivy:resolve] found org.hamcrest#hamcrest-core;SYSTEM in xmvn [ivy:resolve] [SYSTEM] org.hamcrest#hamcrest-core;any [ivy:resolve] :: resolution report :: resolve 15086ms :: artifacts dl 186ms [ivy:resolve] :: evicted modules: [ivy:resolve] org.apache.ant#ant;1.10.5 by [org.apache.ant#ant;SYSTEM] in [test] [ivy:resolve] junit#junit;4.12 by [junit#junit;SYSTEM] in [test] --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | test | 15 | 13 | 0 | 2 || 13 | 13 | --------------------------------------------------------------------- [ivy:retrieve] :: retrieving :: net.jpountz.lz4#lz4 [ivy:retrieve] confs: [test] [ivy:retrieve] 13 artifacts copied, 0 already retrieved (6340kB/550ms) generate-sources: [mkdir] Created dir: /builddir/build/BUILD/lz4-java-1.3.0/build/java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaSafeFastDecompressor.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaSafeSafeDecompressor.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaUnsafeFastDecompressor.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaUnsafeSafeDecompressor.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaSafeCompressor.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaUnsafeCompressor.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4HCJavaSafeCompressor.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4HCJavaUnsafeCompressor.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/XXHash32JavaSafe.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/XXHash32JavaUnsafe.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/XXHash64JavaSafe.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/XXHash64JavaUnsafe.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/StreamingXXHash32JavaSafe.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/StreamingXXHash32JavaUnsafe.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/StreamingXXHash64JavaSafe.java [java] Generating /builddir/build/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/StreamingXXHash64JavaUnsafe.java compile-java: [mkdir] Created dir: /builddir/build/BUILD/lz4-java-1.3.0/build/classes [javac] Compiling 35 source files to /builddir/build/BUILD/lz4-java-1.3.0/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 warning [mkdir] Created dir: /builddir/build/BUILD/lz4-java-1.3.0/build/unsafe-classes [javac] Compiling 2 source files to /builddir/build/BUILD/lz4-java-1.3.0/build/unsafe-classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] /builddir/build/BUILD/lz4-java-1.3.0/src/java-unsafe/net/jpountz/util/UnsafeUtils.java:22: warning: Unsafe is internal proprietary API and may be removed in a future release [javac] import sun.misc.Unsafe; [javac] ^ [javac] /builddir/build/BUILD/lz4-java-1.3.0/src/java-unsafe/net/jpountz/util/UnsafeUtils.java:27: warning: Unsafe is internal proprietary API and may be removed in a future release [javac] private static final Unsafe UNSAFE; [javac] ^ [javac] /builddir/build/BUILD/lz4-java-1.3.0/src/java-unsafe/net/jpountz/util/UnsafeUtils.java:37: warning: Unsafe is internal proprietary API and may be removed in a future release [javac] Field theUnsafe = Unsafe.class.getDeclaredField("theUnsafe"); [javac] ^ [javac] /builddir/build/BUILD/lz4-java-1.3.0/src/java-unsafe/net/jpountz/util/UnsafeUtils.java:39: warning: Unsafe is internal proprietary API and may be removed in a future release [javac] UNSAFE = (Unsafe) theUnsafe.get(null); [javac] ^ [javac] 5 warnings [mkdir] Created dir: /builddir/build/BUILD/lz4-java-1.3.0/build/generated-classes [javac] Compiling 16 source files to /builddir/build/BUILD/lz4-java-1.3.0/build/generated-classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] 1 warning install-cpptasks: [ivy:cachepath] :: resolving dependencies :: ant-contrib#cpptasks-caller;working [ivy:cachepath] confs: [default] [ivy:cachepath] found ant-contrib#cpptasks;SYSTEM in xmvn [ivy:cachepath] [SYSTEM] ant-contrib#cpptasks;1.0b5 (forced) [ivy:cachepath] found org.apache.ant#ant;SYSTEM in xmvn [ivy:cachepath] [SYSTEM] org.apache.ant#ant;1.6.5 (forced) [ivy:cachepath] found org.apache.ant#ant-launcher;SYSTEM in xmvn [ivy:cachepath] [SYSTEM] org.apache.ant#ant-launcher;1.10.5 (forced) [ivy:cachepath] found xerces#xercesImpl;SYSTEM in xmvn [ivy:cachepath] [SYSTEM] xerces#xercesImpl;2.8.1 (forced) [ivy:cachepath] found xml-apis#xml-apis;SYSTEM in xmvn [ivy:cachepath] [SYSTEM] xml-apis#xml-apis;1.4.01 (forced) [ivy:cachepath] :: resolution report :: resolve 2970ms :: artifacts dl 63ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 5 | 5 | 0 | 0 || 5 | 5 | --------------------------------------------------------------------- generate-headers: [mkdir] Created dir: /builddir/build/BUILD/lz4-java-1.3.0/build/jni-headers compile-jni: [mkdir] Created dir: /builddir/build/BUILD/lz4-java-1.3.0/build/objects [mkdir] Created dir: /builddir/build/BUILD/lz4-java-1.3.0/build/jni/linux/riscv64 [cpptasks:cc] 5 total files to be compiled. BUILDSTDERR: BUILD FAILED BUILDSTDERR: /builddir/build/BUILD/lz4-java-1.3.0/build.xml:172: Could not launch gcc: java.io.IOException: Cannot run program "gcc" (in directory "/builddir/build/BUILD/lz4-java-1.3.0/build/objects"): error=2, No such file or directory BUILDSTDERR: Total time: 2 minutes 40 seconds RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.xfk6P4 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.xfk6P4 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lz4-java.spec