Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/xmvn.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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: ppc64le Building for target ppc64le 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 ppc64le --nodeps /builddir/build/SPECS/xmvn.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ddZMgQ + 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 . Patch #1 (0001-Prefer-namespaced-metadata-when-duplicates-are-found.patch): + echo '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.993EKi + 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'] [INFO] Scanning for projects... [WARNING] The project org.fedoraproject.xmvn:xmvn-parent:pom:3.1.0 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] XMvn Parent [pom] [INFO] XMvn API [jar] [INFO] XMvn Core [jar] [INFO] XMvn Connector for Eclipse Aether [jar] [INFO] XMvn Connector for Apache Ivy [jar] [INFO] XMvn MOJO [maven-plugin] [INFO] XMvn Tools [pom] [INFO] XMvn Resolver [jar] [INFO] XMvn Bisect [jar] [INFO] XMvn Subst [jar] [INFO] XMvn Install [jar] [INFO] XMvn [pom] [INFO] [INFO] -----------------< org.fedoraproject.xmvn:xmvn-parent >----------------- [INFO] Building XMvn Parent 3.1.0 [1/12] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] ------------------< org.fedoraproject.xmvn:xmvn-api >------------------- [INFO] Building XMvn API 3.1.0 [2/12] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- modello-maven-plugin:1.11:java (standard) @ xmvn-api --- [INFO] outputDirectory: /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/target/generated-sources/modello [INFO] Working on model: src/main/mdo/config.mdo [INFO] Generating current version: 3.0.0 [INFO] Working on model: src/main/mdo/metadata.mdo [INFO] Generating current version: 3.0.0 [INFO] [INFO] --- modello-maven-plugin:1.11:stax-reader (standard) @ xmvn-api --- [INFO] outputDirectory: /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/target/generated-sources/modello [INFO] Working on model: src/main/mdo/config.mdo [INFO] Generating current version: 3.0.0 [INFO] Working on model: src/main/mdo/metadata.mdo [INFO] Generating current version: 3.0.0 [INFO] [INFO] --- modello-maven-plugin:1.11:stax-writer (standard) @ xmvn-api --- [INFO] outputDirectory: /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/target/generated-sources/modello [INFO] Working on model: src/main/mdo/config.mdo [INFO] Generating current version: 3.0.0 [INFO] Working on model: src/main/mdo/metadata.mdo [INFO] Generating current version: 3.0.0 [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ xmvn-api --- [INFO] Using 'US-ASCII' encoding to copy filtered resources. [INFO] Using 'US-ASCII' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ xmvn-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 35 source files to /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/target/classes [INFO] /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/src/main/java/org/fedoraproject/xmvn/locator/ServiceLocatorFactory.java: /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/src/main/java/org/fedoraproject/xmvn/locator/ServiceLocatorFactory.java uses or overrides a deprecated API. [INFO] /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/src/main/java/org/fedoraproject/xmvn/locator/ServiceLocatorFactory.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/target/generated-sources/modello/org/fedoraproject/xmvn/metadata/io/stax/MetadataStaxReader.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/target/generated-sources/modello/org/fedoraproject/xmvn/metadata/io/stax/MetadataStaxReader.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ xmvn-api --- [INFO] Using 'US-ASCII' encoding to copy filtered resources. [INFO] Using 'US-ASCII' encoding to copy filtered properties files. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ xmvn-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ xmvn-api --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.fedoraproject.xmvn.artifact.DefaultArtifactTest [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 s - in org.fedoraproject.xmvn.artifact.DefaultArtifactTest [INFO] Running org.fedoraproject.xmvn.deployer.DeploymentRequestTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in org.fedoraproject.xmvn.deployer.DeploymentRequestTest [INFO] Running org.fedoraproject.xmvn.resolver.ResolutionRequestTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.fedoraproject.xmvn.resolver.ResolutionRequestTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- modello-maven-plugin:1.11:xdoc (site-docs) @ xmvn-api --- [INFO] outputDirectory: /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/target/generated-site/xdoc [INFO] Working on model: src/main/mdo/config.mdo [INFO] Generating current version: 3.0.0 [INFO] Working on model: src/main/mdo/metadata.mdo [INFO] Generating current version: 3.0.0 [INFO] [INFO] --- modello-maven-plugin:1.11:xsd (site-docs) @ xmvn-api --- [INFO] outputDirectory: /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/target/generated-site/resources/xsd [INFO] Working on model: src/main/mdo/config.mdo [INFO] Generating current version: 3.0.0 [INFO] Working on model: src/main/mdo/metadata.mdo [INFO] Generating current version: 3.0.0 [INFO] [INFO] --- build-helper-maven-plugin:3.2.0:attach-artifact (attach-mdo) @ xmvn-api --- [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ xmvn-api --- [INFO] Building jar: /builddir/build/BUILD/xmvn-3.1.0/xmvn-api/target/xmvn-api-3.1.0.jar [INFO] [INFO] ------------------< org.fedoraproject.xmvn:xmvn-core >------------------ [INFO] Building XMvn Core 3.1.0 [3/12] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ xmvn-core --- [INFO] Using 'US-ASCII' encoding to copy filtered resources. [INFO] Using 'US-ASCII' encoding to copy filtered properties files. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ xmvn-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 22 source files to /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/target/classes [INFO] [INFO] --- plexus-component-metadata:2.1.0:generate-metadata (default) @ xmvn-core --- [INFO] Discovered 5 component descriptors(s) [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ xmvn-core --- [INFO] Using 'US-ASCII' encoding to copy filtered resources. [INFO] Using 'US-ASCII' encoding to copy filtered properties files. [INFO] Copying 8 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ xmvn-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/target/test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/src/test/java/org/fedoraproject/xmvn/deployer/BasicDeployerTest.java:[31,27] package org.xmlunit.assertj does not exist [ERROR] /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/src/test/java/org/fedoraproject/xmvn/resolver/BasicResolverTest.java:[27,27] package org.xmlunit.assertj does not exist [ERROR] /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/src/test/java/org/fedoraproject/xmvn/deployer/BasicDeployerTest.java:[76,9] cannot find symbol symbol: variable XmlAssert location: class org.fedoraproject.xmvn.deployer.BasicDeployerTest [ERROR] /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/src/test/java/org/fedoraproject/xmvn/resolver/BasicResolverTest.java:[154,9] cannot find symbol symbol: variable XmlAssert location: class org.fedoraproject.xmvn.resolver.BasicResolverTest [ERROR] /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/src/test/java/org/fedoraproject/xmvn/resolver/BasicResolverTest.java:[199,9] cannot find symbol symbol: variable XmlAssert location: class org.fedoraproject.xmvn.resolver.BasicResolverTest [INFO] 5 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping XMvn [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for XMvn 3.1.0: [INFO] [INFO] XMvn Parent ........................................ SUCCESS [ 0.003 s] [INFO] XMvn API ........................................... SUCCESS [ 14.727 s] [INFO] XMvn Core .......................................... FAILURE [ 1.419 s] [INFO] XMvn Connector for Eclipse Aether .................. SKIPPED [INFO] XMvn Connector for Apache Ivy ...................... SKIPPED [INFO] XMvn MOJO .......................................... SKIPPED [INFO] XMvn Tools ......................................... SKIPPED [INFO] XMvn Resolver ...................................... SKIPPED [INFO] XMvn Bisect ........................................ SKIPPED [INFO] XMvn Subst ......................................... SKIPPED [INFO] XMvn Install ....................................... SKIPPED [INFO] XMvn ............................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.816 s [INFO] Finished at: 2022-03-20T14:42:13Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project xmvn-core: Compilation failure: Compilation failure: [ERROR] /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/src/test/java/org/fedoraproject/xmvn/deployer/BasicDeployerTest.java:[31,27] package org.xmlunit.assertj does not exist [ERROR] /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/src/test/java/org/fedoraproject/xmvn/resolver/BasicResolverTest.java:[27,27] package org.xmlunit.assertj does not exist [ERROR] /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/src/test/java/org/fedoraproject/xmvn/deployer/BasicDeployerTest.java:[76,9] cannot find symbol [ERROR] symbol: variable XmlAssert [ERROR] location: class org.fedoraproject.xmvn.deployer.BasicDeployerTest [ERROR] /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/src/test/java/org/fedoraproject/xmvn/resolver/BasicResolverTest.java:[154,9] cannot find symbol [ERROR] symbol: variable XmlAssert [ERROR] location: class org.fedoraproject.xmvn.resolver.BasicResolverTest [ERROR] /builddir/build/BUILD/xmvn-3.1.0/xmvn-core/src/test/java/org/fedoraproject/xmvn/resolver/BasicResolverTest.java:[199,9] cannot find symbol [ERROR] symbol: variable XmlAssert [ERROR] location: class org.fedoraproject.xmvn.resolver.BasicResolverTest [ERROR] -> [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :xmvn-core RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.993EKi (%build) Bad exit status from /var/tmp/rpm-tmp.993EKi (%build) 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 ppc64le --nodeps /builddir/build/SPECS/xmvn.spec