Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/replacer.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/replacer.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=1611705600 Wrote: /builddir/build/SRPMS/replacer-1.6-18.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/replacer.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/replacer.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=1611705600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kDYid5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maven-replacer-plugin-1.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd maven-replacer-plugin-1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_parent + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :dashboard-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-assembly-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-compiler-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:build/pom:plugins ' maven-javadoc-plugin ${maven.compiler.source}false ' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep :commons-lang org.apache.commons:commons-lang3:3.8.1 ++ find -name '*.java' + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/DelimiterBuilder.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/OutputFilenameBuilder.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/PatternFlagsFactory.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/Replacement.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/ReplacementProcessor.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/Replacer.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/ReplacerFactory.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/ReplacerMojo.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/SummaryBuilder.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/TokenReplacer.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/TokenValueMapFactory.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/XPathReplacer.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/file/FileUtils.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/main/java/com/google/code/maven_replacer_plugin/include/FileSelector.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/DelimiterBuilderTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/OutputFilenameBuilderTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/PatternFlagsFactoryTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/ReplacementProcessorTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/ReplacementTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/ReplacerFactoryTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/ReplacerMojoIntegrationTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/ReplacerMojoTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/SummaryBuilderTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/TokenReplacerTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/TokenValueMapFactoryTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/XPathReplacerTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/file/FileUtilsTest.java + for i in $(find -name "*.java") + sed -i s/org.apache.commons.lang./org.apache.commons.lang3./g ./src/test/java/com/google/code/maven_replacer_plugin/include/FileSelectorTest.java + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :replacer replacer + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :replacer com.google.code.maven-replacer-plugin:maven-replacer-plugin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LhNwr5 + umask 022 + cd /builddir/build/BUILD + cd maven-replacer-plugin-1.6 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 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', '-Dmaven.compiler.source=1.8', '-Dmaven.compiler.target=1.8', '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.LhNwr5 (%build) Bad exit status from /var/tmp/rpm-tmp.LhNwr5 (%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/replacer.spec