Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/xmvn.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210615020346-a623df05-build-25583-4521/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=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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 warning: Macro expanded in comment on line 14: %{version}/xmvn-%{version}.tar.xz Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/xmvn-4.0.0~20191028.da67577-3.module+el8.3.0+104+c13affc1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/xmvn.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210615020346-a623df05-build-25583-4521/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=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --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 warning: Macro expanded in comment on line 14: %{version}/xmvn-%{version}.tar.xz Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GFi2iA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xmvn-da67577d9252f0b1fffed546c7c23d97a97dec4b + /usr/bin/gzip -dc /builddir/build/SOURCES/da67577.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xmvn-da67577d9252f0b1fffed546c7c23d97a97dec4b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Initial-PoC-of-XMvn-toolchain-manager.patch):' Patch #0 (0001-Initial-PoC-of-XMvn-toolchain-manager.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file xmvn-connector-aether/src/main/java/org/fedoraproject/xmvn/connector/aether/XMvnMavenLifecycleParticipant.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 which: no mvn in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) ++++ realpath realpath: missing operand Try 'realpath --help' for more information. +++ dirname dirname: missing operand Try 'dirname --help' for more information. ++ realpath /.. + maven_home=/ ++ sed -n '//{s/.*>\(.*\)<.*/\1/;p}' xmvn-parent/pom.xml + mver=3.6.2 + mkdir -p target/dependency/ + cp -a / target/dependency/apache-maven-3.6.2 cp: cannot access '/root': Permission denied cp: cannot copy a directory, '/', into itself, 'target/dependency/apache-maven-3.6.2' error: Bad exit status from /var/tmp/rpm-tmp.GFi2iA (%prep) RPM build errors: Macro expanded in comment on line 14: %{version}/xmvn-%{version}.tar.xz Bad exit status from /var/tmp/rpm-tmp.GFi2iA (%prep) 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 600, 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 noarch --nodeps /builddir/build/SPECS/xmvn.spec