Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/maven-doxia.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.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-1.9.1-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.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.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.mdyd0z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf doxia-1.9.1 + /usr/bin/unzip -qq /builddir/build/SOURCES/doxia-1.9.1-source-release.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd doxia-1.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.java' -exec sed -i 's/\r//' '{}' + + find -name '*.xml' -exec sed -i 's/\r//' '{}' + Patch #1 (0001-Fix-itext-dependency.patch): + echo 'Patch #1 (0001-Fix-itext-dependency.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doxia-modules/doxia-module-itext/pom.xml patching file doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextFont.java Hunk #2 succeeded at 36 (offset -2 lines). Hunk #3 succeeded at 260 (offset -2 lines). Hunk #4 succeeded at 272 (offset -2 lines). Hunk #5 succeeded at 284 (offset -2 lines). patching file doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java Hunk #1 succeeded at 1372 (offset 140 lines). patching file doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextUtil.java Hunk #2 succeeded at 72 (offset -2 lines). Hunk #3 succeeded at 108 (offset -3 lines). patching file doxia-modules/doxia-module-itext/src/test/java/org/apache/maven/doxia/module/itext/ITextSinkTestCase.java Hunk #1 succeeded at 80 (offset -1 lines). Hunk #2 succeeded at 92 (offset -1 lines). Hunk #3 succeeded at 128 (offset -1 lines). + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.codehaus.mojo:clirr-maven-plugin pom.xml + /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_xpath_inject 'pom:plugin[pom:artifactId[text()='\''modello-maven-plugin'\'']]/pom:executions/pom:execution/pom:configuration' 'true' doxia-modules/doxia-module-fml/pom.xml + rm doxia-core/src/test/java/org/apache/maven/doxia/util/XmlValidatorTest.java + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :::tests: tests + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module doxia-module-markdown doxia-modules + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module doxia-module-itext doxia-modules + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module doxia-module-fo doxia-modules + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QrJRSZ + umask 022 + cd /builddir/build/BUILD + cd doxia-1.9.1 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -s Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', 'verify', '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.QrJRSZ (%build) Bad exit status from /var/tmp/rpm-tmp.QrJRSZ (%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.spec