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/httpcomponents-core.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-198867-13923/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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.13-6.ocs23.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/httpcomponents-core.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-198867-13923/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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.6dRXKU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpcomponents-core-4.4.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpcomponents-core-4.4.13-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httpcomponents-core-4.4.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Port-to-mockito-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i /Thread.sleep/s/100/2000/ httpcore-nio/src/test/java/org/apache/http/nio/integration/TestHttpAsyncHandlers.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-checkstyle-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :apache-rat-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-source-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-javadoc-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :conscrypt-openjdk-uber httpcore-nio + rm httpcore-nio/src/test/java/org/apache/http/nio/integration/TestJSSEProviderIntegration.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module httpcore-osgi + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module httpcore-ab + for module in httpcore httpcore-nio + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:packaging httpcore + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project 'bundle' httpcore + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-jar-plugin httpcore + /usr/bin/python3 /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/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:packaging httpcore-nio + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project 'bundle' httpcore-nio + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-jar-plugin httpcore-nio + /usr/bin/python3 /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/bin/python3 /usr/share/java-utils/mvn_file.py ':{*}' httpcomponents/@1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MwUjjW + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd httpcomponents-core-4.4.13 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.httpcomponents:httpcore:bundle:4.4.13 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-site-plugin is missing. @ org.apache.httpcomponents:httpcomponents-core:4.4.13, /builddir/build/BUILD/httpcomponents-core-4.4.13/pom.xml, line 132, column 15 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:clirr-maven-plugin is missing. @ org.apache.httpcomponents:httpcomponents-core:4.4.13, /builddir/build/BUILD/httpcomponents-core-4.4.13/pom.xml, line 208, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @ line 64, column 15 [WARNING] 'build.plugins.plugin.version' for com.agilejava.docbkx:docbkx-maven-plugin is missing. @ org.apache.httpcomponents:httpcomponents-core:4.4.13, /builddir/build/BUILD/httpcomponents-core-4.4.13/pom.xml, line 135, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.httpcomponents:httpcore-nio:bundle:4.4.13 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-site-plugin is missing. @ org.apache.httpcomponents:httpcomponents-core:4.4.13, /builddir/build/BUILD/httpcomponents-core-4.4.13/pom.xml, line 132, column 15 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:clirr-maven-plugin is missing. @ org.apache.httpcomponents:httpcomponents-core:4.4.13, /builddir/build/BUILD/httpcomponents-core-4.4.13/pom.xml, line 208, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @ line 79, column 15 [WARNING] 'build.plugins.plugin.version' for com.agilejava.docbkx:docbkx-maven-plugin is missing. @ org.apache.httpcomponents:httpcomponents-core:4.4.13, /builddir/build/BUILD/httpcomponents-core-4.4.13/pom.xml, line 135, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.httpcomponents:httpcomponents-core:pom:4.4.13 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-site-plugin is missing. @ line 132, column 15 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:clirr-maven-plugin is missing. @ line 208, column 15 [WARNING] 'build.plugins.plugin.version' for com.agilejava.docbkx:docbkx-maven-plugin is missing. @ line 135, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [ERROR] Unable to configure XMvn toolchain: Non-existing JDK home configuration at /usr/lib/jvm/java-1.8.0 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.MwUjjW (%build) Bad exit status from /var/tmp/rpm-tmp.MwUjjW (%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/httpcomponents-core.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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/httpcomponents-core.spec