Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/apache-ivy.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210612012006-a623df05-build-24137-4496/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=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/apache-ivy.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/apache-ivy-2.4.0-14.module+el8.3.0+101+f52793df.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/apache-ivy.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210612012006-a623df05-build-24137-4496/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=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/apache-ivy.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.qCBq9R + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apache-ivy-2.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/apache-ivy-2.4.0-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-ivy-2.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (apache-ivy-global-settings.patch):' Patch #0 (apache-ivy-global-settings.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/java/org/apache/ivy/ant/IvyAntSettings.java Patch #1 (port-to-bc-1.52.patch): + echo 'Patch #1 (port-to-bc-1.52.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ivy.xml patching file src/java/org/apache/ivy/plugins/signer/bouncycastle/OpenPGPSignatureGenerator.java + sed -i s:/etc/ivy/:/etc/ivy/: src/java/org/apache/ivy/ant/IvyAntSettings.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :jsch + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :jsch.agentproxy + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :jsch.agentproxy.connector-factory + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :jsch.agentproxy.jsch + rm -r src/java/org/apache/ivy/plugins/repository/ssh src/java/org/apache/ivy/plugins/repository/sftp + rm src/java/org/apache/ivy/plugins/resolver/AbstractSshBasedResolver.java src/java/org/apache/ivy/plugins/resolver/SshResolver.java src/java/org/apache/ivy/plugins/resolver/SFTPResolver.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep org.bouncycastle + rm src/java/org/apache/ivy/plugins/signer/bouncycastle/OpenPGPSignatureGenerator.java + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py : jayasoft:ivy + /usr/bin/python3 /usr/share/java-utils/mvn_file.py : apache-ivy/ivy ivy + for F in README LICENSE NOTICE + sed 's/\r//' README + iconv -f iso8859-1 -t utf8 + touch -r README README.utf8 + mv README.utf8 README + for F in README LICENSE NOTICE + sed 's/\r//' LICENSE + iconv -f iso8859-1 -t utf8 + touch -r LICENSE LICENSE.utf8 + mv LICENSE.utf8 LICENSE + for F in README LICENSE NOTICE + sed 's/\r//' NOTICE + iconv -f iso8859-1 -t utf8 + touch -r NOTICE NOTICE.utf8 + mv NOTICE.utf8 NOTICE + sed -i s/ant-trax/ant/ ivy.xml + sed -i /bouncycastle/s/jdk14/jdk16/ ivy.xml + sed -i /commons-vfs/d ivy.xml + rm -rf src/java/org/apache/ivy/plugins/repository/vfs + rm -rf src/java/org/apache/ivy/plugins/resolver/VfsResolver.java + rm -rf doc build/doc + sed -i /ivy:publish/s/local/xmvn/ build.xml + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4D78iY + umask 022 + cd /builddir/build/BUILD + cd apache-ivy-2.4.0 + JAVA_HOME=/usr/lib/jvm/java-11-openjdk + ant -Divy.mode=local -Dtarget.ivy.bundle.version=2.4.0 -Dtarget.ivy.bundle.version.qualifier= -Dtarget.ivy.version=2.4.0 jar javadoc publish-local Buildfile: /builddir/build/BUILD/apache-ivy-2.4.0/build.xml init: prepare: [mkdir] Created dir: /builddir/build/BUILD/apache-ivy-2.4.0/build/classes [mkdir] Created dir: /builddir/build/BUILD/apache-ivy-2.4.0/build/classes/core [mkdir] Created dir: /builddir/build/BUILD/apache-ivy-2.4.0/build/classes/bootstrap [mkdir] Created dir: /builddir/build/BUILD/apache-ivy-2.4.0/build/classes/ant [mkdir] Created dir: /builddir/build/BUILD/apache-ivy-2.4.0/build/classes/optional [mkdir] Created dir: /builddir/build/BUILD/apache-ivy-2.4.0/build/classes/all [mkdir] Created dir: /builddir/build/BUILD/apache-ivy-2.4.0/build/test [mkdir] Created dir: /builddir/build/BUILD/apache-ivy-2.4.0/build/artifact [mkdir] Created dir: /builddir/build/BUILD/apache-ivy-2.4.0/build/doc/reports/test [mkdir] Created dir: /builddir/build/BUILD/apache-ivy-2.4.0/build/doc/reports/ivy compile-core: [javac] Compiling 402 source files to /builddir/build/BUILD/apache-ivy-2.4.0/build/classes/core [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/apache-ivy-2.4.0/build.xml:194: Compile failed; see the compiler error output for details. Total time: 0 seconds RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.4D78iY (%build) Bad exit status from /var/tmp/rpm-tmp.4D78iY (%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: # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/apache-ivy.spec