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/slf4j.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-198872-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/slf4j.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/slf4j-1.7.32-4.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/slf4j.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-198872-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/slf4j.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.CNwIPl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf slf4j-v_1.7.32 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v_1.7.32.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd slf4j-v_1.7.32 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.jar' -delete + install -p -m 0644 /builddir/build/SOURCES/LICENSE-2.0.txt APACHE-LICENSE + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module integration + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module osgi-over-slf4j + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module slf4j-android + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module slf4j-ext + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module slf4j-log4j12 + sed -i s/tasks/target/ slf4j-api/pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project/pom:properties ' ISO-8859-1' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:links + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:plugin[pom:artifactId[text()='\''maven-javadoc-plugin'\'']]/pom:configuration' ' false false /usr/share/javadoc/java' + find -name '*.css' -o -name '*.js' -o -name '*.txt' + xargs -t sed -i 's/\r$//' sed -i 's/\r$//' ./LICENSE.txt ./jcl-over-slf4j/LICENSE.txt ./log4j-over-slf4j/compatibility/readme.txt ./slf4j-android/LICENSE.txt ./slf4j-api/LICENSE.txt ./slf4j-jcl/LICENSE.txt ./slf4j-jdk14/LICENSE.txt ./slf4j-log4j12/LICENSE.txt ./slf4j-migrator/LIMITATIONS.txt ./slf4j-nop/LICENSE.txt ./slf4j-simple/LICENSE.txt ./slf4j-site/LICENSE.txt ./slf4j-site/src/site/pages/changes/changes-1.3.txt ./slf4j-site/src/site/pages/css/popup.css ./slf4j-site/src/site/pages/css/prettify.css ./slf4j-site/src/site/pages/css/site.css ./slf4j-site/src/site/pages/js/decorator.js ./slf4j-site/src/site/pages/js/jquery-min.js ./slf4j-site/src/site/pages/js/prettify.js ./slf4j-site/src/site/pages/templates/footer.js ./slf4j-site/src/site/pages/templates/header.js ./slf4j-site/src/site/pages/templates/left.js ./slf4j-site/src/site/pages/templates/right.js ./src/main/licenseHeader.txt + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:extensions + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:plugin[pom:artifactId='\''maven-jar-plugin'\'']/pom:executions' ' default-jar skip ' slf4j-api + sed -i '/Import-Package/s/\}$/};resolution:=optional/' slf4j-api/src/main/resources/META-INF/MANIFEST.MF + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :::sources: sources + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :slf4j-parent __noinstall + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :slf4j-site __noinstall + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :slf4j-api + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :slf4j-simple + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :slf4j-nop + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0R18vm + 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 slf4j-v_1.7.32 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -s -- -Drequired.jdk.version=1.6 Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Drequired.jdk.version=1.6 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', '-Drequired.jdk.version=1.6', 'package', '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.slf4j:slf4j-api:jar:1.7.32 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-simple:jar:1.7.32 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-nop:jar:1.7.32 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-jdk14:jar:1.7.32 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-jcl:jar:1.7.32 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.slf4j:jcl-over-slf4j:jar:1.7.32 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.slf4j:log4j-over-slf4j:jar:1.7.32 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.slf4j:jul-to-slf4j:jar:1.7.32 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-site:jar:1.7.32 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 35, column 15 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. @ line 68, column 24 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-migrator:jar:1.7.32 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-parent:pom:1.7.32 [WARNING] Reporting configuration should be done in section, not in maven-site-plugin as reportPlugins parameter. @ line 236, column 24 [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 error: Bad exit status from /var/tmp/rpm-tmp.0R18vm (%build) Bad exit status from /var/tmp/rpm-tmp.0R18vm (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/slf4j.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/slf4j.spec