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/jacoco.spec'], chrootPath='/var/lib/mock/dist-an23-build-273533-64200/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/jacoco.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=1564012800 Wrote: /builddir/build/SRPMS/jacoco-0.7.8-1.an23.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/jacoco.spec'], chrootPath='/var/lib/mock/dist-an23-build-273533-64200/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/jacoco.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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bYJdg9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jacoco-0.7.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.7.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jacoco-0.7.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ find -name '*.MF' + sed -i '/org.objectweb.asm/s/version="[^"]*"/bundle-version="[5.1.0,7.0.0)"/' ./org.jacoco.agent.test/META-INF/MANIFEST.MF ./org.jacoco.agent/META-INF/MANIFEST.MF ./org.jacoco.ant.test/META-INF/MANIFEST.MF ./org.jacoco.ant/META-INF/MANIFEST.MF ./org.jacoco.core.test/META-INF/MANIFEST.MF ./org.jacoco.core/META-INF/MANIFEST.MF ./org.jacoco.doc/META-INF/MANIFEST.MF ./org.jacoco.examples.test/META-INF/MANIFEST.MF ./org.jacoco.examples/META-INF/MANIFEST.MF ./org.jacoco.report.test/META-INF/MANIFEST.MF ./org.jacoco.report/META-INF/MANIFEST.MF + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module ../org.jacoco.examples org.jacoco.build + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module ../org.jacoco.doc org.jacoco.build + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module ../org.jacoco.tests org.jacoco.build + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module ../jacoco org.jacoco.build + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :buildnumber-maven-plugin org.jacoco.build + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':jacoco-maven-plugin:{jar,pom}:{}:' maven-plugin + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':{org.}*:{jar,pom}:runtime:' + sed -i -e 's|nb-configuration.xml|nb-configuration.xml,build.xml, pom.xml|g' org.jacoco.build/pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.codehaus.groovy.maven:gmaven-plugin ./org.jacoco.build/pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -f -r org.apache.maven.plugins:maven-enforcer-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:plugin[pom:artifactId='\''maven-antrun-plugin'\'']/pom:executions' ' parse-version validate run true ' org.jacoco.build/pom.xml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.y89rFh + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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 jacoco-0.7.8 + PATH=/usr/libexec/javapackages-bootstrap:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dproject.build.sourceEncoding=UTF-8 Executing: xmvn --batch-mode --offline -Dproject.build.sourceEncoding=UTF-8 verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dproject.build.sourceEncoding=UTF-8', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [WARNING] The project org.jacoco:org.jacoco.build:pom:0.7.8 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] JaCoCo [pom] [INFO] JaCoCo :: Core [jar] [INFO] JaCoCo :: Report [jar] [INFO] JaCoCo :: Agent RT [jar] [INFO] JaCoCo :: Agent [jar] [INFO] JaCoCo :: Ant [jar] [INFO] JaCoCo :: Maven Plugin [maven-plugin] [INFO] root [pom] [INFO] [INFO] --------------------< org.jacoco:org.jacoco.build >--------------------- [INFO] Building JaCoCo 0.7.8 [1/8] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-antrun-plugin:3.0.0.MBI:run (parse-version) @ org.jacoco.build --- [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] --- maven-antrun-plugin:3.0.0.MBI:run (check-license-header) @ org.jacoco.build --- [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] --- build-helper-maven-plugin:3.2.0.MBI:parse-version (parse-version) @ org.jacoco.build --- [INFO] [INFO] ---------------------< org.jacoco:org.jacoco.core >--------------------- [INFO] Building JaCoCo :: Core 0.7.8 [2/8] [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8 is missing, no dependency information available [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping root [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for root 0.7.8: [INFO] [INFO] JaCoCo ............................................. SUCCESS [ 0.415 s] [INFO] JaCoCo :: Core ..................................... FAILURE [ 0.002 s] [INFO] JaCoCo :: Report ................................... SKIPPED [INFO] JaCoCo :: Agent RT ................................. SKIPPED [INFO] JaCoCo :: Agent .................................... SKIPPED [INFO] JaCoCo :: Ant ...................................... SKIPPED [INFO] JaCoCo :: Maven Plugin ............................. SKIPPED [INFO] root ............................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.633 s [INFO] Finished at: 2023-06-09T18:14:02+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] UndeclaredThrowableException: InvocationTargetException: Plugin org.apache.maven.plugins:maven-javadoc-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8 has not been downloaded from it before. [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: Bad exit status from /var/tmp/rpm-tmp.y89rFh (%build) Bad exit status from /var/tmp/rpm-tmp.y89rFh (%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/jacoco.spec\n', 1)] 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 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/jacoco.spec