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/jgit.spec'], chrootPath='/var/lib/mock/dist-an23-build-273316-64186/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=982gid=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 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/jgit-6.1.0-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/jgit.spec'], chrootPath='/var/lib/mock/dist-an23-build-273316-64186/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=982gid=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 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wsKiSN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jgit-6.1.0.202203080745-r + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jgit-6.1.0.202203080745-r.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd jgit-6.1.0.202203080745-r + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Ensure-the-correct-classpath-is-set-for-the-jgit-com.patch):' Patch #0 (0001-Ensure-the-correct-classpath-is-set-for-the-jgit-com.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file org.eclipse.jgit.pgm/jgit.sh + 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.ant.test/pom.xml ./org.eclipse.jgit.ant/pom.xml ./org.eclipse.jgit.archive/pom.xml ./org.eclipse.jgit.benchmarks/pom.xml ./org.eclipse.jgit.coverage/pom.xml ./org.eclipse.jgit.gpg.bc.test/pom.xml ./org.eclipse.jgit.gpg.bc/pom.xml ./org.eclipse.jgit.http.apache/pom.xml ./org.eclipse.jgit.http.server/pom.xml ./org.eclipse.jgit.http.test/pom.xml ./org.eclipse.jgit.junit.http/pom.xml ./org.eclipse.jgit.junit.ssh/pom.xml ./org.eclipse.jgit.junit/pom.xml ./org.eclipse.jgit.lfs.server.test/pom.xml ./org.eclipse.jgit.lfs.server/pom.xml ./org.eclipse.jgit.lfs.test/pom.xml ./org.eclipse.jgit.lfs/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.gpg.bc.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.http.apache.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.lfs.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.pgm.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.source.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.ssh.apache.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.ssh.jsch.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml ./org.eclipse.jgit.packaging/pom.xml ./org.eclipse.jgit.pgm.test/pom.xml ./org.eclipse.jgit.pgm/pom.xml ./org.eclipse.jgit.ssh.apache.agent/pom.xml ./org.eclipse.jgit.ssh.apache.test/pom.xml ./org.eclipse.jgit.ssh.apache/pom.xml ./org.eclipse.jgit.ssh.jsch.test/pom.xml ./org.eclipse.jgit.ssh.jsch/pom.xml ./org.eclipse.jgit.test/pom.xml ./org.eclipse.jgit.ui/pom.xml ./org.eclipse.jgit/pom.xml ./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.4a3IHA + 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 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -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 -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 -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 -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/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 jgit-6.1.0.202203080745-r + 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 -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.1.0.202203080745-r [1/14] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:3.2.0.MBI:parse-version (set-osgi-version) @ org.eclipse.jgit-parent --- [INFO] [INFO] --- maven-antrun-plugin:3.0.0.MBI:run (translate-qualifier) @ org.eclipse.jgit-parent --- [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] -----------------< org.eclipse.jgit:org.eclipse.jgit >------------------ [INFO] Building JGit - Core 6.1.0.202203080745-r [2/14] [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for com.googlecode.javaewah:JavaEWAH:jar:1.1.13 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.1.0.202203080745-r: [INFO] [INFO] JGit - Parent ...................................... SUCCESS [ 0.395 s] [INFO] JGit - Core ........................................ FAILURE [ 0.026 s] [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.670 s [INFO] Finished at: 2023-06-08T18:20:09+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project org.eclipse.jgit: Could not resolve dependencies for project org.eclipse.jgit:org.eclipse.jgit:jar:6.1.0.202203080745-r: Cannot access jgit-repository (https://repo.eclipse.org/content/repositories/jgit-releases/) in offline mode and the artifact com.googlecode.javaewah:JavaEWAH:jar:1.1.13 has not been downloaded from it before. -> [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/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :org.eclipse.jgit error: Bad exit status from /var/tmp/rpm-tmp.4a3IHA (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.4a3IHA (%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/jgit.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/jgit.spec