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/httpcomponents-core.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210611095645-a623df05-build-23868-4486/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/httpcomponents-core.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/httpcomponents-core-4.4.10-3.module+el8.3.0+98+51227653.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/httpcomponents-core.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210611095645-a623df05-build-23868-4486/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/httpcomponents-core.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.J2yt9u + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpcomponents-core-4.4.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/httpcomponents-core-4.4.10-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd httpcomponents-core-4.4.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Re-generated-expired-test-certificates.patch):' Patch #0 (0001-Re-generated-expired-test-certificates.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file httpcore/src/test/resources/test-client.keystore patching file httpcore/src/test/resources/test-server.keystore patching file httpcore/src/test/resources/test-ssl.txt + sed -i /Thread.sleep/s/100/2000/ httpcore-nio/src/test/java/org/apache/http/nio/integration/TestHttpAsyncHandlers.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-checkstyle-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :apache-rat-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-source-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-javadoc-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module httpcore-osgi + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module httpcore-ab + for module in httpcore httpcore-nio + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:packaging httpcore + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project 'bundle' httpcore + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-jar-plugin httpcore + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:build/pom:plugins ' org.apache.felix maven-bundle-plugin true * org.apache.httpcomponents.httpcore <_nouses>true ' httpcore + for module in httpcore httpcore-nio + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:packaging httpcore-nio + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project 'bundle' httpcore-nio + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-jar-plugin httpcore-nio + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:build/pom:plugins ' org.apache.felix maven-bundle-plugin true * org.apache.httpcomponents.httpcore-nio <_nouses>true ' httpcore-nio + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py ':{*}' httpcomponents/@1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tkLoZw + umask 022 + cd /builddir/build/BUILD + cd httpcomponents-core-4.4.10 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true package org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] /usr/share/maven/bin/mvn: line 36: /etc/java/maven.conf: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.tkLoZw (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.tkLoZw (%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/httpcomponents-core.spec