Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/maven-doxia-sitetools.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/maven-doxia-sitetools.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/maven-doxia-sitetools-1.9.2-5.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/maven-doxia-sitetools.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/maven-doxia-sitetools.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.iUR4FV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf doxia-sitetools-1.9.2 + /usr/bin/unzip -qq /builddir/build/SOURCES/doxia-sitetools-1.9.2-source-release.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd doxia-sitetools-1.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0001-Port-to-plexus-utils-3.0.24.patch): + echo 'Patch #0 (0001-Port-to-plexus-utils-3.0.24.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java Hunk #1 succeeded at 568 (offset 9 lines). Patch #1 (0002-Remove-dependency-on-velocity-tools.patch): + echo 'Patch #1 (0002-Remove-dependency-on-velocity-tools.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java Hunk #2 succeeded at 470 (offset 9 lines). + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :apache-rat-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-enforcer-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.codehaus.mojo:clirr-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep net.sourceforge.htmlunit:htmlunit doxia-site-renderer/pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :velocity-tools + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:plugin[pom:artifactId[text()='\''modello-maven-plugin'\'']]/pom:configuration' 'true' doxia-decoration-model ++ find -type d -name itext + rm -rf ./doxia-doc-renderer/src/main/java/org/apache/maven/doxia/docrenderer/itext ./doxia-doc-renderer/src/main/java/org/apache/maven/doxia/docrenderer/pdf/itext ./doxia-doc-renderer/src/main/javadoc/org/apache/maven/doxia/docrenderer/itext ./doxia-doc-renderer/src/main/resources/org/apache/maven/doxia/docrenderer/pdf/itext + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :doxia-module-itext + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :doxia-module-markdown + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :doxia-module-fo + rm -r doxia-doc-renderer/src/main/java/org/apache/maven/doxia/docrenderer/pdf/fo + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :doxia-integration-tools org.apache.maven.shared:maven-doxia-tools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7sslk1 + umask 022 + cd /builddir/build/BUILD + cd doxia-sitetools-1.9.2 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true 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', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] /usr/bin/xmvn: line 3: /usr/share/maven/bin/mvn: No such file or directory RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.7sslk1 (%build) Bad exit status from /var/tmp/rpm-tmp.7sslk1 (%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 aarch64 --nodeps /builddir/build/SPECS/maven-doxia-sitetools.spec