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/sisu.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-198870-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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/sisu.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 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/sisu-0.3.5-4.ocs23.src.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/sisu.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-198870-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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/sisu.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 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mL78KK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sisu-0.3.5 + /usr/bin/mkdir -p sisu-0.3.5 + cd sisu-0.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar xf /builddir/build/SOURCES/org.eclipse.sisu.inject-0.3.5.tar.gz + mv sisu.inject-releases-0.3.5 sisu-inject + tar xf /builddir/build/SOURCES/org.eclipse.sisu.plexus-0.3.5.tar.gz + mv sisu.plexus-releases-0.3.5 sisu-plexus + cp /builddir/build/SOURCES/sisu-parent.pom pom.xml + cp /builddir/build/SOURCES/sisu-inject.pom sisu-inject/pom.xml + cp /builddir/build/SOURCES/sisu-plexus.pom sisu-plexus/pom.xml + echo 'Patch #3000 (sisu-OSGi-import-guava.patch):' Patch #3000 (sisu-OSGi-import-guava.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file sisu-inject/org.eclipse.sisu.inject/META-INF/MANIFEST.MF patching file sisu-inject/org.eclipse.sisu.inject/build.properties Patch #3001 (sisu-ignored-tests.patch): + echo 'Patch #3001 (sisu-ignored-tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file sisu-inject/org.eclipse.sisu.inject.tests/src/org/eclipse/sisu/inject/LocatedBeansTest.java Hunk #2 succeeded at 156 (offset -1 lines). patching file sisu-plexus/org.eclipse.sisu.plexus.tests/src/org/eclipse/sisu/plexus/PlexusXmlScannerTest.java Patch #3002 (sisu-osgi-api.patch): + echo 'Patch #3002 (sisu-osgi-api.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file sisu-plexus/org.eclipse.sisu.plexus/src/org/eclipse/sisu/plexus/PlexusBundlePlan.java Patch #3003 (0001-Remove-dependency-on-glassfish-servlet-api.patch): + echo 'Patch #3003 (0001-Remove-dependency-on-glassfish-servlet-api.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sisu-inject/org.eclipse.sisu.inject/src/org/eclipse/sisu/inject/Implementations.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :servlet-api sisu-inject + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set -r /pom:project/pom:version 0.3.5 + /usr/bin/python3 /usr/share/java-utils/mvn_file.py ':{*}' @1 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*{inject,plexus}' + /usr/bin/python3 /usr/share/java-utils/mvn_package.py : __noinstall + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :org.eclipse.sisu.plexus org.sonatype.sisu:sisu-inject-plexus + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.75xmTv + 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 sisu-0.3.5 + /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... [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 error: Bad exit status from /var/tmp/rpm-tmp.75xmTv (%build) RPM build warnings: RPM build errors: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.75xmTv (%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/sisu.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/sisu.spec