Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/hamcrest.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-300723-65959/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/hamcrest.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/hamcrest-1.3-23.module+an8.8.0+11099+13f6a98c.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/hamcrest.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-300723-65959/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/hamcrest.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3wD0xp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf JavaHamcrest-hamcrest-java-1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/hamcrest-java-1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd JavaHamcrest-hamcrest-java-1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type f -name '*.jar' + xargs -t rm rm ./lib/generator/jarjar-1.3.jar ./lib/generator/qdox-1.12.jar ./lib/integration/easymock-2.2.jar ./lib/integration/jmock-1.10RC1.jar ./lib/integration/junit-3.8.1.jar ./lib/integration/junit-dep-4.10.jar ./lib/integration/testng-6.5.2.jar ./lib/sources/qdox-1.12-sources.jar ./lib/sources/testng-6.5.2-sources.jar + rm -fr hamcrest-integration/src/main/java/org/hamcrest/integration/JMock1Adapter.java + rm -fr hamcrest-integration/src/main/java/org/hamcrest/JMock1Matchers.java + rm -fr hamcrest-unit-test/src/main/java/org/hamcrest/integration/JMock1AdapterTest.java ++ build-classpath qdox + ln -sf /usr/share/java/qdox.jar lib/generator/ ++ build-classpath easymock3 + ln -sf /usr/share/java/easymock3.jar lib/integration/ ++ build-classpath jmock /usr/bin/build-classpath: Could not find jmock Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found + ln -sf lib/integration/ ++ build-classpath testng-jdk15 + ln -sf /usr/share/java/testng.jar lib/integration/ + echo 'Patch #0 (hamcrest-1.3-build.patch):' Patch #0 (hamcrest-1.3-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + echo 'Patch #1 (hamcrest-1.3-no-jarjar.patch):' Patch #1 (hamcrest-1.3-no-jarjar.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + echo 'Patch #3 (hamcrest-1.3-javadoc.patch):' Patch #3 (hamcrest-1.3-javadoc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + echo 'Patch #4 (hamcrest-1.3-qdox-2.0.patch):' Patch #4 (hamcrest-1.3-qdox-2.0.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file hamcrest-generator/src/main/java/org/hamcrest/generator/QDox.java patching file hamcrest-generator/src/main/java/org/hamcrest/generator/QDoxFactoryReader.java + echo 'Patch #5 (hamcrest-1.3-fork-javac.patch):' Patch #5 (hamcrest-1.3-fork-javac.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml Hunk #1 succeeded at 275 (offset -9 lines). + sed -i 's/\r//' LICENSE.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I3ISk6 + umask 022 + cd /builddir/build/BUILD + cd JavaHamcrest-hamcrest-java-1.3 ++ build-classpath qdox + export CLASSPATH=/usr/share/java/qdox.jar + CLASSPATH=/usr/share/java/qdox.jar + export 'OPT_JAR_LIST=junit ant/ant-junit' + OPT_JAR_LIST='junit ant/ant-junit' + ant -Dant.build.javac.source=1.5 -Dversion=1.3 -Dbuild.sysclasspath=last clean core generator library bigjar javadoc Buildfile: /builddir/build/BUILD/JavaHamcrest-hamcrest-java-1.3/build.xml clean: generator: [mkdir] Created dir: /builddir/build/BUILD/JavaHamcrest-hamcrest-java-1.3/build/temp/hamcrest-generator-1.3.jar.manifest [mkdir] Created dir: /builddir/build/BUILD/JavaHamcrest-hamcrest-java-1.3/build/temp/hamcrest-generator-1.3.jar.contents [javac] Compiling 11 source files to /builddir/build/BUILD/JavaHamcrest-hamcrest-java-1.3/build/temp/hamcrest-generator-1.3.jar.contents [javac] warning: [options] bootstrap class path not set in conjunction with -source 5 [javac] error: Source option 5 is no longer supported. Use 6 or later. [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later. BUILD FAILED /builddir/build/BUILD/JavaHamcrest-hamcrest-java-1.3/build.xml:17: The following error occurred while executing this line: /builddir/build/BUILD/JavaHamcrest-hamcrest-java-1.3/build.xml:278: Compile failed; see the compiler error output for details. Total time: 0 seconds error: Bad exit status from /var/tmp/rpm-tmp.I3ISk6 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.I3ISk6 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/hamcrest.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status 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 --noclean --target noarch --nodeps /builddir/build/SPECS/hamcrest.spec