Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/xmvn.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/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=0uid=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/xmvn.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/xmvn-3.1.0-9.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/xmvn.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/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=0uid=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/xmvn.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hZYhBZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xmvn-3.1.0 + /usr/bin/xz -dc /builddir/build/SOURCES/xmvn-3.1.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xmvn-3.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Prefer-namespaced-metadata-when-duplicates-are-found.patch):' Patch #1 (0001-Prefer-namespaced-metadata-when-duplicates-are-found.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xmvn-core/src/main/java/org/fedoraproject/xmvn/metadata/impl/DefaultMetadataResult.java Patch #2 (0002-Make-xmvn-subst-honor-settings-for-ignoring-duplicat.patch): + echo 'Patch #2 (0002-Make-xmvn-subst-honor-settings-for-ignoring-duplicat.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xmvn-tools/xmvn-subst/src/main/java/org/fedoraproject/xmvn/tools/subst/SubstCli.java Patch #3 (0003-Fix-requires-generation-for-self-depending-packages.patch): + echo 'Patch #3 (0003-Fix-requires-generation-for-self-depending-packages.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xmvn-tools/xmvn-install/src/main/java/org/fedoraproject/xmvn/tools/install/impl/DefaultInstaller.java patching file xmvn-tools/xmvn-install/src/test/java/org/fedoraproject/xmvn/tools/install/impl/InstallerTest.java patching file xmvn-tools/xmvn-install/src/test/resources/self-requires-resolved.xml patching file xmvn-tools/xmvn-install/src/test/resources/self-requires.xml Patch #4 (0004-Honour-source-parameter.patch): + echo 'Patch #4 (0004-Honour-source-parameter.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xmvn-mojo/src/main/java/org/fedoraproject/xmvn/mojo/JavadocMojo.java + find -name BisectIntegrationTest.java -delete + find -name ResolverIntegrationTest.java -delete + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-site-plugin + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':xmvn{,-it}' __noinstall + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module xmvn-connector-gradle + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :apache-rat-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-checkstyle-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :jacoco-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :jacoco-maven-plugin xmvn-it + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:executions/pom:execution[pom:id[text()='\''maven-binaries'\'']]' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-jar-plugin xmvn-tools +++++ which mvn +++++ alias +++++ eval declare -f ++++++ declare -f +++++ /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot mvn ++++ realpath /usr/bin/mvn +++ dirname /usr/share/maven/bin/mvn ++ realpath /usr/share/maven/bin/.. + maven_home=/usr/share/maven ++ sed -n '//{s/.*>\(.*\)<.*/\1/;p}' xmvn-parent/pom.xml + mver=3.5.4 + mkdir -p target/dependency/ + cp -aL /usr/share/maven target/dependency/apache-maven-3.5.4 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.H6ZldR + umask 022 + cd /builddir/build/BUILD + cd xmvn-3.1.0 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -s -j -- -Dmaven.test.failure.ignore=true Executing: xmvn --batch-mode --offline -Dmaven.test.failure.ignore=true verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.test.failure.ignore=true', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] --------------------------------------------------- constituent[0]: file:/usr/share/xmvn/conf/logging/ constituent[1]: file:/usr/share/xmvn/lib/ext/xmvn-api-3.1.0.jar constituent[2]: file:/usr/share/xmvn/lib/ext/xmvn-connector-aether-3.1.0.jar constituent[3]: file:/usr/share/xmvn/lib/ext/xmvn-core-3.1.0.jar constituent[4]: file:/usr/share/xmvn/lib/cdi-api-1.1.jar constituent[5]: file:/usr/share/xmvn/lib/commons-cli-1.4.jar constituent[6]: file:/usr/share/xmvn/lib/wagon-provider-api-3.3.4.jar constituent[7]: file:/usr/share/xmvn/lib/commons-codec-1.11.jar constituent[8]: file:/usr/share/xmvn/lib/commons-io-2.5.jar constituent[9]: file:/usr/share/xmvn/lib/commons-lang3-3.8.1.jar constituent[10]: file:/usr/share/xmvn/lib/guava-27.1-jre.jar constituent[11]: file:/usr/share/xmvn/lib/guice-4.2.1-no_aop.jar constituent[12]: file:/usr/share/xmvn/lib/hawtjni-runtime-1.17.jar constituent[13]: file:/usr/share/xmvn/lib/httpclient-4.5.12.jar constituent[14]: file:/usr/share/xmvn/lib/org.eclipse.sisu.inject-0.3.4.jar constituent[15]: file:/usr/share/xmvn/lib/httpcomponents_httpclient.jar constituent[16]: file:/usr/share/xmvn/lib/httpcomponents_httpcore.jar constituent[17]: file:/usr/share/xmvn/lib/httpcore-4.4.13.jar constituent[18]: file:/usr/share/xmvn/lib/org.eclipse.sisu.plexus-0.3.4.jar constituent[19]: file:/usr/share/xmvn/lib/jakarta.annotation-api-2.0.0.jar constituent[20]: file:/usr/share/xmvn/lib/jansi-1.18.jar constituent[21]: file:/usr/share/xmvn/lib/jansi-linux.jar constituent[22]: file:/usr/share/xmvn/lib/jansi-native-1.8.jar constituent[23]: file:/usr/share/xmvn/lib/javax.inject-1.jar constituent[24]: file:/usr/share/xmvn/lib/jcl-over-slf4j-1.7.29.jar constituent[25]: file:/usr/share/xmvn/lib/jsoup-1.12.1.jar constituent[26]: file:/usr/share/xmvn/lib/jsr250-api-1.0.jar constituent[27]: file:/usr/share/xmvn/lib/maven-artifact-3.6.3.jar constituent[28]: file:/usr/share/xmvn/lib/plexus-cipher-1.7.jar constituent[29]: file:/usr/share/xmvn/lib/maven-builder-support-3.6.3.jar constituent[30]: file:/usr/share/xmvn/lib/maven-compat-3.6.3.jar constituent[31]: file:/usr/share/xmvn/lib/maven-core-3.6.3.jar constituent[32]: file:/usr/share/xmvn/lib/maven-embedder-3.6.3.jar constituent[33]: file:/usr/share/xmvn/lib/maven-model-3.6.3.jar constituent[34]: file:/usr/share/xmvn/lib/plexus-component-annotations-2.1.0.jar constituent[35]: file:/usr/share/xmvn/lib/maven-model-builder-3.6.3.jar constituent[36]: file:/usr/share/xmvn/lib/maven-plugin-api-3.6.3.jar constituent[37]: file:/usr/share/xmvn/lib/plexus-interpolation-1.25.jar constituent[38]: file:/usr/share/xmvn/lib/maven-repository-metadata-3.6.3.jar constituent[39]: file:/usr/share/xmvn/lib/plexus-utils-3.2.1.jar constituent[40]: file:/usr/share/xmvn/lib/maven-resolver-api-1.4.1.jar constituent[41]: file:/usr/share/xmvn/lib/maven-slf4j-provider-3.6.3.jar constituent[42]: file:/usr/share/xmvn/lib/maven-resolver-connector-basic-1.4.1.jar constituent[43]: file:/usr/share/xmvn/lib/plexus-sec-dispatcher-1.4.jar constituent[44]: file:/usr/share/xmvn/lib/maven-resolver-impl-1.4.1.jar constituent[45]: file:/usr/share/xmvn/lib/slf4j-api-1.7.29.jar constituent[46]: file:/usr/share/xmvn/lib/maven-resolver-provider-3.6.3.jar constituent[47]: file:/usr/share/xmvn/lib/wagon-file-3.3.4.jar constituent[48]: file:/usr/share/xmvn/lib/maven-resolver-spi-1.4.1.jar constituent[49]: file:/usr/share/xmvn/lib/maven-wagon_http-shared.jar constituent[50]: file:/usr/share/xmvn/lib/maven-resolver-transport-wagon-1.4.1.jar constituent[51]: file:/usr/share/xmvn/lib/maven-resolver-util-1.4.1.jar constituent[52]: file:/usr/share/xmvn/lib/maven-settings-3.6.3.jar constituent[53]: file:/usr/share/xmvn/lib/wagon-http-3.3.4.jar constituent[54]: file:/usr/share/xmvn/lib/maven-settings-builder-3.6.3.jar constituent[55]: file:/usr/share/xmvn/lib/wagon-http-shared-3.4.2.jar constituent[56]: file:/usr/share/xmvn/lib/maven-shared-utils-3.2.1.jar --------------------------------------------------- Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/util/concurrent/internal/InternalFutureFailureAccess at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:550) at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:458) at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:452) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:451) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:425) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:550) at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:458) at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:452) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:451) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:425) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:550) at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:458) at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:452) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:451) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:425) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at com.google.common.cache.LocalCache$LoadingValueReference.(LocalCache.java:3472) at com.google.common.cache.LocalCache$LoadingValueReference.(LocalCache.java:3476) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2134) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) at com.google.common.cache.LocalCache.get(LocalCache.java:3951) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4935) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4941) at com.google.inject.internal.Annotations$AnnotationChecker.hasAnnotations(Annotations.java:271) at com.google.inject.internal.Annotations.isBindingAnnotation(Annotations.java:337) at com.google.inject.Key.ensureIsBindingAnnotation(Key.java:357) at com.google.inject.Key.strategyFor(Key.java:344) at com.google.inject.Key.get(Key.java:227) at org.eclipse.sisu.wire.ParameterKeys.(ParameterKeys.java:28) at org.eclipse.sisu.wire.DependencyAnalyzer.(DependencyAnalyzer.java:93) at org.eclipse.sisu.wire.ElementAnalyzer.(ElementAnalyzer.java:104) at org.eclipse.sisu.wire.WireModule.configure(WireModule.java:74) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:347) at com.google.inject.spi.Elements.getElements(Elements.java:104) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:137) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:105) at com.google.inject.Guice.createInjector(Guice.java:87) at com.google.inject.Guice.createInjector(Guice.java:69) at com.google.inject.Guice.createInjector(Guice.java:59) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:481) at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:206) at org.apache.maven.cli.MavenCli.container(MavenCli.java:636) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:282) at org.apache.maven.cli.MavenCli.main(MavenCli.java:193) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) Caused by: java.lang.ClassNotFoundException: com.google.common.util.concurrent.internal.InternalFutureFailureAccess at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) ... 76 more error: Bad exit status from /var/tmp/rpm-tmp.H6ZldR (%build) Bad exit status from /var/tmp/rpm-tmp.H6ZldR (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 599, 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 --target aarch64 --nodeps /builddir/build/SPECS/xmvn.spec