D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/lz4-java-1.3.0-2.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.NffZeu + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf lz4-java-1.3.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/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/win32/amd64/liblz4-java.so ./src/resources/linux/i386/liblz4-java.so ./src/resources/linux/amd64/liblz4-java.so + echo 'Patch #0 (lz4-java-1.3.0-build.patch):' Patch #0 (lz4-java-1.3.0-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + echo 'Patch #1 (lz4-java-1.3.0-junit_Assert.patch):' 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0RCT6v + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd lz4-java-1.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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: /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build.xml init: [ivy:resolve] impossible to define new type: class not found: org.apache.ivy.plugins.resolver.VfsResolver in [] nor Ivy classloader [ivy:resolve] impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SshResolver in [] nor Ivy classloader [ivy:resolve] impossible to define new type: class not found: org.apache.ivy.plugins.signer.bouncycastle.OpenPGPSignatureGenerator in [] nor Ivy classloader [ivy:resolve] impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SFTPResolver in [] nor Ivy classloader [ivy:resolve] :: Apache Ivy 2.5.0-local-20200905132708 - 20200905132708 :: https://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.8 (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 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 (forced) [ivy:resolve] :: resolution report :: resolve 3553ms :: artifacts dl 7ms [ivy:resolve] :: evicted modules: [ivy:resolve] org.apache.ant#ant;1.10.8 by [org.apache.ant#ant;SYSTEM] in [test] [ivy:resolve] junit#junit;4.13 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 (6434kB/423ms) generate-sources: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaSafeFastDecompressor.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaSafeSafeDecompressor.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaUnsafeFastDecompressor.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaUnsafeSafeDecompressor.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaSafeCompressor.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4JavaUnsafeCompressor.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4HCJavaSafeCompressor.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/lz4/LZ4HCJavaUnsafeCompressor.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/XXHash32JavaSafe.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/XXHash32JavaUnsafe.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/XXHash64JavaSafe.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/XXHash64JavaUnsafe.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/StreamingXXHash32JavaSafe.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/StreamingXXHash32JavaUnsafe.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/StreamingXXHash64JavaSafe.java [java] Generating /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/java/net/jpountz/xxhash/StreamingXXHash64JavaUnsafe.java compile-java: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/classes [javac] Compiling 35 source files to /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 4 warnings [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/unsafe-classes [javac] Compiling 2 source files to /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/unsafe-classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /home/iurt/rpmbuild/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] /home/iurt/rpmbuild/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] /home/iurt/rpmbuild/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] /home/iurt/rpmbuild/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] 8 warnings [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/generated-classes [javac] Compiling 16 source files to /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/generated-classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 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 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.8 (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 86ms :: artifacts dl 2ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 5 | 5 | 0 | 0 || 5 | 5 | --------------------------------------------------------------------- generate-headers: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build/jni-headers BUILD FAILED /home/iurt/rpmbuild/BUILD/lz4-java-1.3.0/build.xml:155: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead Total time: 12 seconds error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.0RCT6v (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.0RCT6v (%build) I: [iurt_root_command] ERROR: chroot