Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/maven-surefire.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-300916-65959/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/maven-surefire.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/maven-surefire-2.22.0-3.module+an8.8.0+11099+13f6a98c.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/maven-surefire.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-300916-65959/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/maven-surefire.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4TmDp9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf surefire-2.22.0 + /usr/bin/tar -xof /builddir/build/SOURCES/maven-surefire-2.22.0.tar.gz + cd surefire-2.22.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/cpl-v10.html . + echo 'Patch #0 (0001-Maven-3.patch):' Patch #0 (0001-Maven-3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/SurefireHelper.java Patch #1 (0002-Port-to-current-doxia.patch): + echo 'Patch #1 (0002-Port-to-current-doxia.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportGenerator.java Patch #2 (0003-Port-to-TestNG-6.11.patch): + echo 'Patch #2 (0003-Port-to-TestNG-6.11.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file surefire-providers/surefire-testng/pom.xml patching file surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java Patch #3 (0004-Port-to-current-maven-shared-utils.patch): + echo 'Patch #3 (0004-Port-to-current-maven-shared-utils.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java patching file pom.xml + sed -i /-Xdoclint:all/d pom.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module surefire-shadefire + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module surefire-junit-platform surefire-providers + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.apache.maven.surefire:surefire-shadefire + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-help-plugin surefire-setup-integration-tests + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :jacoco-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :animal-sniffer-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :apache-rat-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-enforcer-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-assembly-plugin maven-surefire-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r ::::site-source + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_set pom:mavenVersion 3.3.3 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :maven-project maven-surefire-report-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :maven-project maven-surefire-common + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :maven-plugin-descriptor maven-surefire-common + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :maven-toolchain maven-surefire-common + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove -r 'pom:execution[pom:id='\''shared-logging-generated-sources'\'']' + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep com.google.code.findbugs:jsr305 surefire-api + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y7ynLt + umask 022 + cd /builddir/build/BUILD + cd surefire-2.22.0 + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py ':*{surefire-plugin,report-plugin}*' @1 + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py ':*junit-platform*' junit5 + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py ':*{junit,testng,failsafe-plugin,report-parser}*' @1 + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py ':*tests*' __noinstall + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -j -G org.fedoraproject.xmvn:xmvn-mojo:javadoc Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true package org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:builddep org.fedoraproject.xmvn:xmvn-mojo:javadoc ['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:builddep', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc'] /usr/bin/xmvn: line 3: /usr/share/maven/bin/mvn: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.Y7ynLt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Y7ynLt (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/maven-surefire.spec\n', 1)] 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 598, 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 --noclean --target noarch --nodeps /builddir/build/SPECS/maven-surefire.spec