Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/httpcomponents-core.spec'], chrootPath='/var/lib/mock/f40-build-2675850-67823/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=864000uid=996gid=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 setting SOURCE_DATE_EPOCH=1709337600 Wrote: /builddir/build/SRPMS/httpcomponents-core-4.4.16-8.fc40.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='/var/lib/mock/f40-build-2675850-67823/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=864000uid=996gid=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 setting SOURCE_DATE_EPOCH=1709337600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dunR27 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpcomponents-core-4.4.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpcomponents-core-4.4.16-source-release.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd httpcomponents-core-4.4.16 + rm -rf /builddir/build/BUILD/httpcomponents-core-4.4.16-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/httpcomponents-core-4.4.16-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Port-to-mockito-2.patch):' Patch #1 (0001-Port-to-mockito-2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file httpcore-nio/src/test/java/org/apache/http/impl/nio/pool/TestBasicNIOConnPool.java patching file httpcore-nio/src/test/java/org/apache/http/nio/pool/TestNIOConnPool.java patching file httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncService.java Hunk #1 succeeded at 505 (offset 3 lines). Hunk #2 succeeded at 1022 (offset 3 lines). Patch #2 (0002-Port-to-Mockito-5.patch): + echo 'Patch #2 (0002-Port-to-Mockito-5.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file httpcore-nio/src/test/java/org/apache/http/impl/nio/TestDefaultNHttpClientConnection.java patching file httpcore-nio/src/test/java/org/apache/http/impl/nio/TestDefaultNHttpServerConnection.java patching file httpcore-nio/src/test/java/org/apache/http/impl/nio/codecs/TestChunkEncoder.java patching file httpcore-nio/src/test/java/org/apache/http/impl/nio/codecs/TestIdentityEncoder.java patching file httpcore-nio/src/test/java/org/apache/http/impl/nio/codecs/TestLengthDelimitedEncoder.java patching file httpcore-nio/src/test/java/org/apache/http/impl/nio/pool/TestBasicNIOConnPool.java patching file httpcore-nio/src/test/java/org/apache/http/nio/pool/TestNIOConnPool.java patching file httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestBasicAsyncClientExchangeHandler.java patching file httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestBasicAsyncRequestHandler.java patching file httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncRequestExecutor.java patching file httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncRequester.java patching file httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncService.java patching file httpcore/src/test/java/org/apache/http/impl/TestBHttpConnectionBase.java Hunk #5 succeeded at 290 (offset -1 lines). Hunk #6 succeeded at 310 (offset -2 lines). Hunk #7 succeeded at 350 (offset -3 lines). Hunk #8 succeeded at 363 (offset -3 lines). Hunk #9 succeeded at 376 (offset -3 lines). patching file httpcore/src/test/java/org/apache/http/impl/io/TestSessionInOutBuffers.java Hunk #2 succeeded at 340 (offset -1 lines). Hunk #3 succeeded at 353 (offset -2 lines). patching file httpcore/src/test/java/org/apache/http/pool/TestConnPool.java patching file httpcore/src/test/java/org/apache/http/protocol/TestHttpRequestExecutor.java patching file httpcore/src/test/java/org/apache/http/protocol/TestHttpService.java + sed -i '/testAwaitInputInBuffer\|testAwaitInputInSocket\|testNotStaleWhenHasData\|testWriteSmallFragmentBuffering\|testWriteSmallFragmentNoBuffering/i@org.junit.Ignore' httpcore/src/test/java/org/apache/http/impl/TestBHttpConnectionBase.java httpcore/src/test/java/org/apache/http/impl/io/TestSessionInOutBuffers.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 + sed -i '/testRequestTargetHostFallback()/i@org.junit.Ignore' httpcore/src/test/java/org/apache/http/protocol/TestStandardInterceptors.java + rm httpcore-nio/src/test/java/org/apache/http/impl/nio/TestContentChannel.java + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wr1nCE + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.16 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dmaven.compiler.release=8 Executing: xmvn --batch-mode --offline -Dmaven.compiler.release=8 verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.compiler.release=8', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] Error occurred during initialization of VM Unsupported satp mode: sv57. Only satp modes up to sv48 are supported for now. error: Bad exit status from /var/tmp/rpm-tmp.Wr1nCE (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Wr1nCE (%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.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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