Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/hamcrest.spec'], chrootPath='/var/lib/mock/dist-an7-build-27983-15215/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.osngjmsp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.osngjmsp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1e9413eb261e44f780cac20ec677d8d7', '-D', '/var/lib/mock/dist-an7-build-27983-15215/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.osngjmsp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/hamcrest-1.3-6.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/hamcrest.spec'], chrootPath='/var/lib/mock/dist-an7-build-27983-15215/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.osngjmsp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.osngjmsp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '40c7197f4c1346a88ae1d8f3a2a1e1e0', '-D', '/var/lib/mock/dist-an7-build-27983-15215/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.osngjmsp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gu3Ccw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hamcrest-1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/hamcrest-1.3.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd hamcrest-1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type f -name '*.jar' + xargs -t rm rm ./hamcrest-integration-1.3-sources.jar ./hamcrest-integration-1.3.jar ./hamcrest-library-1.3-javadoc.jar ./hamcrest-generator-1.3-sources.jar ./hamcrest-integration-1.3-javadoc.jar ./hamcrest-core-1.3-javadoc.jar ./hamcrest-core-1.3.jar ./hamcrest-library-1.3-sources.jar ./hamcrest-generator-1.3-javadoc.jar ./hamcrest-all-1.3-sources.jar ./hamcrest-generator-1.3.jar ./hamcrest-library-1.3.jar ./hamcrest-all-1.3.jar ./hamcrest-all-1.3-javadoc.jar ./lib/generator/jarjar-1.3.jar ./lib/generator/qdox-1.12.jar ./lib/sources/qdox-1.12-sources.jar ./lib/sources/testng-6.5.2-sources.jar ./lib/integration/testng-6.5.2.jar ./lib/integration/junit-3.8.1.jar ./lib/integration/junit-dep-4.10.jar ./lib/integration/jmock-1.10RC1.jar ./lib/integration/easymock-2.2.jar ./hamcrest-core-1.3-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 easymock2-2.4 + ln -sf /usr/share/java/easymock2-2.4.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/ + echo 'Patch #0 (hamcrest-1.3-build.patch):' Patch #0 (hamcrest-1.3-build.patch): + /usr/bin/cat /builddir/build/SOURCES/hamcrest-1.3-build.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/hamcrest-1.3-no-jarjar.patch + /usr/bin/patch -p1 --fuzz=0 patching file build.xml + echo 'Patch #3 (hamcrest-1.3-javadoc.patch):' Patch #3 (hamcrest-1.3-javadoc.patch): + /usr/bin/cat /builddir/build/SOURCES/hamcrest-1.3-javadoc.patch + /usr/bin/patch -p1 --fuzz=0 patching file build.xml + perl -pi -e 's/\r$//g' LICENSE.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IsBQkO + umask 022 + cd /builddir/build/BUILD + cd hamcrest-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/hamcrest-1.3/build.xml clean: generator: [mkdir] Created dir: /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-generator-1.3.jar.manifest [mkdir] Created dir: /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-generator-1.3.jar.contents [javac] Compiling 11 source files to /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-generator-1.3.jar.contents [copy] Copying 1 file to /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-generator-1.3.jar.contents [jar] Building jar: /builddir/build/BUILD/hamcrest-1.3/build/hamcrest-generator-1.3.jar [copy] Copying 11 files to /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-generator-1.3-sources.jar.contents [jar] Building jar: /builddir/build/BUILD/hamcrest-1.3/build/hamcrest-generator-1.3-sources.jar core: [mkdir] Created dir: /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-core-1.3.jar.manifest [mkdir] Created dir: /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-core-1.3.jar.contents [javac] Compiling 37 source files to /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-core-1.3.jar.contents [copy] Copying 1 file to /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-core-1.3.jar.contents [jar] Building jar: /builddir/build/BUILD/hamcrest-1.3/build/hamcrest-core-1.3.jar [copy] Copying 39 files to /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-core-1.3-sources.jar.contents [jar] Building jar: /builddir/build/BUILD/hamcrest-1.3/build/hamcrest-core-1.3-sources.jar [mkdir] Created dir: /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-core/generated-code [java] Generating org.hamcrest.CoreMatchers [java] [T] allOf(Matcher first, Matcher second, Matcher third, Matcher fourth, Matcher fifth, Matcher sixth) [java] [T] allOf(Matcher first, Matcher second, Matcher third) [java] [T] allOf(Matcher first, Matcher second, Matcher third, Matcher fourth, Matcher fifth) [java] [T] allOf(Matcher first, Matcher second, Matcher third, Matcher fourth) [java] [T] allOf(Matcher... matchers) [java] [T] allOf(Iterable> matchers) [java] [T] allOf(Matcher first, Matcher second) [java] [T] anyOf(Matcher first, Matcher second, Matcher third) [java] [T] anyOf(Matcher first, Matcher second, Matcher third, Matcher fourth) [java] [T] anyOf(Matcher first, Matcher second, Matcher third, Matcher fourth, Matcher fifth) [java] [T] anyOf(Matcher first, Matcher second, Matcher third, Matcher fourth, Matcher fifth, Matcher sixth) [java] [T] anyOf(Iterable> matchers) [java] [T] anyOf(Matcher... matchers) [java] [T] anyOf(Matcher first, Matcher second) [java] [LHS] both(Matcher matcher) [java] [LHS] either(Matcher matcher) [java] [T] describedAs(String description, Matcher matcher, Object... values) [java] [Iterable] everyItem(Matcher itemMatcher) [java] [T] isA(Class type) [java] [T] is(Matcher matcher) [java] [T] is(Class type) [java] [T] is(T value) [java] [Object] anything() [java] [Object] anything(String description) [java] [Iterable] hasItem(T item) [java] [Iterable] hasItem(Matcher itemMatcher) [java] [Iterable] hasItems(T... items) [java] [Iterable] hasItems(Matcher... itemMatchers) [java] [T] equalTo(T operand) [java] [T] any(Class type) [java] [T] instanceOf(Class type) [java] [T] not(T value) [java] [T] not(Matcher matcher) [java] [Object] nullValue() [java] [T] nullValue(Class type) [java] [Object] notNullValue() [java] [T] notNullValue(Class type) [java] [T] sameInstance(T target) [java] [T] theInstance(T target) [java] [String] containsString(String substring) [java] [String] startsWith(String prefix) [java] [String] endsWith(String suffix) [javac] Compiling 1 source file to /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-core-1.3.jar.contents [jar] Building jar: /builddir/build/BUILD/hamcrest-1.3/build/hamcrest-core-1.3.jar [copy] Copying 1 file to /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-core-1.3-sources.jar.contents [jar] Building jar: /builddir/build/BUILD/hamcrest-1.3/build/hamcrest-core-1.3-sources.jar generator: generator: core: [java] Generating org.hamcrest.CoreMatchers [java] [T] allOf(Matcher first, Matcher second, Matcher third) [java] [T] allOf(Matcher first, Matcher second, Matcher third, Matcher fourth) [java] [T] allOf(Matcher first, Matcher second, Matcher third, Matcher fourth, Matcher fifth) [java] [T] allOf(Matcher first, Matcher second, Matcher third, Matcher fourth, Matcher fifth, Matcher sixth) [java] [T] allOf(Matcher first, Matcher second) [java] [T] allOf(Matcher... matchers) [java] [T] allOf(Iterable> matchers) [java] [T] anyOf(Matcher first, Matcher second, Matcher third, Matcher fourth) [java] [T] anyOf(Matcher first, Matcher second, Matcher third, Matcher fourth, Matcher fifth) [java] [T] anyOf(Matcher first, Matcher second) [java] [T] anyOf(Matcher first, Matcher second, Matcher third, Matcher fourth, Matcher fifth, Matcher sixth) [java] [T] anyOf(Matcher first, Matcher second, Matcher third) [java] [T] anyOf(Matcher... matchers) [java] [T] anyOf(Iterable> matchers) [java] [LHS] both(Matcher matcher) [java] [LHS] either(Matcher matcher) [java] [T] describedAs(String description, Matcher matcher, Object... values) [java] [Iterable] everyItem(Matcher itemMatcher) [java] [T] is(T value) [java] [T] is(Matcher matcher) [java] [T] is(Class type) [java] [T] isA(Class type) [java] [Object] anything() [java] [Object] anything(String description) [java] [Iterable] hasItem(T item) [java] [Iterable] hasItem(Matcher itemMatcher) [java] [Iterable] hasItems(T... items) [java] [Iterable] hasItems(Matcher... itemMatchers) [java] [T] equalTo(T operand) [java] [T] any(Class type) [java] [T] instanceOf(Class type) [java] [T] not(Matcher matcher) [java] [T] not(T value) [java] [Object] nullValue() [java] [T] nullValue(Class type) [java] [Object] notNullValue() [java] [T] notNullValue(Class type) [java] [T] sameInstance(T target) [java] [T] theInstance(T target) [java] [String] containsString(String substring) [java] [String] startsWith(String prefix) [java] [String] endsWith(String suffix) library: [mkdir] Created dir: /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-library/generated-code [mkdir] Created dir: /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-library-1.3.jar.manifest [mkdir] Created dir: /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-library-1.3.jar.contents [javac] Compiling 28 source files to /builddir/build/BUILD/hamcrest-1.3/build/temp/hamcrest-library-1.3.jar.contents [javac] /builddir/build/BUILD/hamcrest-1.3/hamcrest-library/src/main/java/org/hamcrest/beans/HasProperty.java:5: error: cannot access Description [javac] import org.hamcrest.Description; [javac] ^ [javac] bad class file: /builddir/build/BUILD/hamcrest-1.3/build/hamcrest-core-1.3.jar(org/hamcrest/Description.class) [javac] unable to access file: corrupted zip file [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. BUILD FAILED /builddir/build/BUILD/hamcrest-1.3/build.xml:50: The following error occurred while executing this line: /builddir/build/BUILD/hamcrest-1.3/build.xml:277: Compile failed; see the compiler error output for details. Total time: 2 seconds error: Bad exit status from /var/tmp/rpm-tmp.IsBQkO (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IsBQkO (%build) Child return code was: 1 EXCEPTION: [Error()] 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 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 40c7197f4c1346a88ae1d8f3a2a1e1e0 -D /var/lib/mock/dist-an7-build-27983-15215/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.osngjmsp:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/hamcrest.spec