Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/jgit.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-112323-7303/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/jgit.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/jgit-6.1.0-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/jgit.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-112323-7303/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/jgit.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.CiRKIO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jgit-9072103f3b3cf64dd12ad2949836ab98f62dabf1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jgit-9072103f3b3cf64dd12ad2949836ab98f62dabf1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jgit-9072103f3b3cf64dd12ad2949836ab98f62dabf1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Ensure-the-correct-classpath-is-set-for-the-jgit-com.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm .mvn/maven.config + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:configuration/pom:annotationProcessorPaths + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:configuration/pom:compilerArgs + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep -r org.osgi:org.osgi.core 'org.osgi:osgi.core:${osgi-core-version}:provided' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module org.eclipse.jgit.coverage + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module org.eclipse.jgit.benchmarks + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :jacoco-maven-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_plugin -r :maven-source-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-enforcer-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :japicmp-maven-plugin ++ find -name pom.xml + sed -i -e 's/@{argLine}//' ./org.eclipse.jgit.test/pom.xml ./org.eclipse.jgit.coverage/pom.xml ./org.eclipse.jgit.ssh.apache.test/pom.xml ./org.eclipse.jgit.lfs.test/pom.xml ./org.eclipse.jgit.http.server/pom.xml ./org.eclipse.jgit.http.apache/pom.xml ./org.eclipse.jgit.lfs/pom.xml ./org.eclipse.jgit.archive/pom.xml ./org.eclipse.jgit.junit.ssh/pom.xml ./org.eclipse.jgit.pgm/pom.xml ./org.eclipse.jgit.benchmarks/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.lfs.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.gpg.bc.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.ssh.jsch.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.ssh.apache.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.http.apache.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.source.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml ./org.eclipse.jgit.packaging/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.pgm.feature/pom.xml ./org.eclipse.jgit.junit/pom.xml ./org.eclipse.jgit.ssh.apache/pom.xml ./org.eclipse.jgit/pom.xml ./org.eclipse.jgit.lfs.server/pom.xml ./org.eclipse.jgit.gpg.bc.test/pom.xml ./org.eclipse.jgit.ssh.apache.agent/pom.xml ./org.eclipse.jgit.pgm.test/pom.xml ./org.eclipse.jgit.ui/pom.xml ./org.eclipse.jgit.gpg.bc/pom.xml ./org.eclipse.jgit.http.test/pom.xml ./org.eclipse.jgit.junit.http/pom.xml ./pom.xml ./org.eclipse.jgit.ant/pom.xml ./org.eclipse.jgit.ssh.jsch.test/pom.xml ./org.eclipse.jgit.ant.test/pom.xml ./org.eclipse.jgit.lfs.server.test/pom.xml ./org.eclipse.jgit.ssh.jsch/pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.codehaus.mojo:build-helper-maven-plugin org.eclipse.jgit.pgm + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :spring-boot-maven-plugin org.eclipse.jgit.pgm + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:plugins/pom:plugin/pom:executions/pom:execution[pom:id='\''create_jgit'\'']' org.eclipse.jgit.pgm + sed -i -e 's/org\.springframework\.boot\.loader\.JarLauncher/org.eclipse.jgit.pgm.Main/' org.eclipse.jgit.pgm/jgit.sh + sed -i -e '/\.test<\/module>/d' pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module org.eclipse.jgit.junit + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module org.eclipse.jgit.junit.ssh + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module org.eclipse.jgit.junit.http + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IqLaa5 + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 jgit-9072103f3b3cf64dd12ad2949836ab98f62dabf1 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -- -Pjavac Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Pjavac 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', '-Pjavac', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] JGit - Parent [pom] [INFO] JGit - Core [jar] [INFO] JGit - Ant Tasks [jar] [INFO] JGit - Archive Formats [jar] [INFO] JGit - AWT User Interface [jar] [INFO] JGit - BouncyCastle-based GPG support [jar] [INFO] JGit - Apache httpclient based HTTP support [jar] [INFO] JGit - HTTP Server [jar] [INFO] JGit - Apache sshd-based SSH support [jar] [INFO] JGit - Apache sshd SSH agent support [jar] [INFO] JGit - JSch-based SSH support [jar] [INFO] JGit - Large File Storage [jar] [INFO] JGit - Large File Storage Server [jar] [INFO] JGit - Command Line Interface [jar] [INFO] [INFO] --------------< org.eclipse.jgit:org.eclipse.jgit-parent >-------------- [INFO] Building JGit - Parent 6.6.1-SNAPSHOT [1/14] [INFO] --------------------------------[ pom ]--------------------------------- [WARNING] The POM for org.eclipse.dash:license-tool-plugin:jar:1.0.2 is missing, no dependency information available [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping JGit - Parent [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for JGit - Parent 6.6.1-SNAPSHOT: [INFO] [INFO] JGit - Parent ...................................... FAILURE [ 0.005 s] [INFO] JGit - Core ........................................ SKIPPED [INFO] JGit - Ant Tasks ................................... SKIPPED [INFO] JGit - Archive Formats ............................. SKIPPED [INFO] JGit - AWT User Interface .......................... SKIPPED [INFO] JGit - BouncyCastle-based GPG support .............. SKIPPED [INFO] JGit - Apache httpclient based HTTP support ........ SKIPPED [INFO] JGit - HTTP Server ................................. SKIPPED [INFO] JGit - Apache sshd-based SSH support ............... SKIPPED [INFO] JGit - Apache sshd SSH agent support ............... SKIPPED [INFO] JGit - JSch-based SSH support ...................... SKIPPED [INFO] JGit - Large File Storage .......................... SKIPPED [INFO] JGit - Large File Storage Server ................... SKIPPED [INFO] JGit - Command Line Interface ...................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.333 s [INFO] Finished at: 2023-12-08T11:17:26+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] UndeclaredThrowableException: InvocationTargetException: Plugin org.eclipse.dash:license-tool-plugin:1.0.2 or one of its dependencies could not be resolved: Cannot access repo.eclipse.org.cbi-releases (https://repo.eclipse.org/content/repositories/cbi-releases/) in offline mode and the artifact org.eclipse.dash:license-tool-plugin:jar:1.0.2 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.IqLaa5 (%build) Bad exit status from /var/tmp/rpm-tmp.IqLaa5 (%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/jgit.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/jgit.spec