Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/ant.spec'], chrootPath='/var/lib/mock/dist-an7-build-38103-18130/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.2zwog0td:/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=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2zwog0td:/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', '3c47ca356abb4060a63a605f5295ecdf', '-D', '/var/lib/mock/dist-an7-build-38103-18130/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2zwog0td:/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/ant.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 warning: bogus date in %changelog: Thu Jul 03 2007 Ralph Apel - 0:1.7.0-2.jpp5 warning: bogus date in %changelog: Wed Aug 17 2004 Fernando Nasser - 0:1.6.2-1jpp warning: bogus date in %changelog: Wed Jan 04 2001 Guillaume Rousse 1.2-2mdk Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/ant-1.9.4-2.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/ant.spec'], chrootPath='/var/lib/mock/dist-an7-build-38103-18130/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.2zwog0td:/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=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2zwog0td:/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', '73c9d19f1f334bf38a04740de8e63841', '-D', '/var/lib/mock/dist-an7-build-38103-18130/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2zwog0td:/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/ant.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 warning: bogus date in %changelog: Thu Jul 03 2007 Ralph Apel - 0:1.7.0-2.jpp5 warning: bogus date in %changelog: Wed Aug 17 2004 Fernando Nasser - 0:1.6.2-1jpp warning: bogus date in %changelog: Wed Jan 04 2001 Guillaume Rousse 1.2-2mdk Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ti86YU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apache-ant-1.9.4 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/apache-ant-1.9.4-src.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-ant-1.9.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name build.xml -o -name pom.xml + xargs sed -i -e s/-SNAPSHOT// + echo 'Patch #1 (0001-Fix-arbitrary-file-write-vulnerability.patch):' Patch #1 (0001-Fix-arbitrary-file-write-vulnerability.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-Fix-arbitrary-file-write-vulnerability.patch + /usr/bin/patch -p1 --fuzz=0 patching file WHATSNEW patching file manual/Tasks/unzip.html patching file src/main/org/apache/tools/ant/taskdefs/Expand.java patching file src/tests/antunit/taskdefs/unzip-test.xml patching file src/tests/antunit/taskdefs/zip/direscape-absolute.zip patching file src/tests/antunit/taskdefs/zip/direscape.zip + echo 'Patch #4 (apache-ant-class-path-in-manifest.patch):' Patch #4 (apache-ant-class-path-in-manifest.patch): + /usr/bin/cat /builddir/build/SOURCES/apache-ant-class-path-in-manifest.patch + /usr/bin/patch -p0 --fuzz=0 patching file build.xml Hunk #1 succeeded at 740 (offset 12 lines). + find . -name '*.jar' + /usr/bin/xargs -t rm rm ./lib/optional/junit-3.8.2.jar ./lib/optional/junit-4.11.jar ./src/etc/testcases/taskdefs/conditions/jars/apassword.jar ./src/etc/testcases/taskdefs/conditions/jars/nosign.jar ./src/etc/testcases/taskdefs/conditions/jars/pass.jar + rm src/tests/junit/org/apache/tools/ant/types/selectors/SignedSelectorTest.java src/tests/junit/org/apache/tools/ant/taskdefs/condition/IsFileSelectedTest.java src/tests/junit/org/apache/tools/ant/taskdefs/condition/IsSignedTest.java src/tests/junit/org/apache/tools/ant/taskdefs/JarTest.java src/tests/junit/org/apache/tools/mail/MailMessageTest.java + build-jar-repository -s -p lib/optional antlr bcel javamail/mailapi jdepend junit log4j oro regexp bsf commons-logging commons-net jsch xalan-j2 xml-commons-resolver xalan-j2-serializer xerces-j2 xml-commons-apis + iconv KEYS -f iso-8859-1 -t utf-8 -o KEYS.utf8 + mv KEYS.utf8 KEYS + iconv LICENSE -f iso-8859-1 -t utf-8 -o LICENSE.utf8 + mv LICENSE.utf8 LICENSE + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.57ZLLD + umask 022 + cd /builddir/build/BUILD + cd apache-ant-1.9.4 + JAVA_HOME=/usr/lib/jvm/java + ant jars test-jar Buildfile: /builddir/build/BUILD/apache-ant-1.9.4/build.xml prepare: check_for_optional_packages: BUILD FAILED /builddir/build/BUILD/apache-ant-1.9.4/build.xml:413: java.lang.UnsupportedClassVersionError: org/apache/regexp/RE : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:808) at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1136) at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1307) at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1362) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1323) at org.apache.tools.ant.taskdefs.Available.checkClass(Available.java:446) at org.apache.tools.ant.taskdefs.Available.eval(Available.java:285) at org.apache.tools.ant.taskdefs.Available.execute(Available.java:236) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:607) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.Main.runBuild(Main.java:851) at org.apache.tools.ant.Main.startAnt(Main.java:235) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Total time: 0 seconds error: Bad exit status from /var/tmp/rpm-tmp.57ZLLD (%build) RPM build errors: bogus date in %changelog: Thu Jul 03 2007 Ralph Apel - 0:1.7.0-2.jpp5 bogus date in %changelog: Wed Aug 17 2004 Fernando Nasser - 0:1.6.2-1jpp bogus date in %changelog: Wed Jan 04 2001 Guillaume Rousse 1.2-2mdk Bad exit status from /var/tmp/rpm-tmp.57ZLLD (%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 73c9d19f1f334bf38a04740de8e63841 -D /var/lib/mock/dist-an7-build-38103-18130/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2zwog0td:/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/ant.spec