Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/maven2.spec'], uid=1000env={'SHELL': '/bin/bash', 'TERM': 'vt100', 'CCACHE_UMASK': '002', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache'}chrootPath='/var/lib/mock/fedora-20-armhfp-pidora-root-18397/root'user='mockbuild'logger=timeout=0gid=135shell=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/maven2.spec'] with env {'SHELL': '/bin/bash', 'TERM': 'vt100', 'CCACHE_UMASK': '002', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache'} and shell False warning: Macro expanded in comment on line 9: # export https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-%{version}/ apache-maven-%{version} warning: Macro expanded in comment on line 10: # tar czvf %{name}-%{version}.tar.gz apache-maven-%{version} warning: Could not canonicalize hostname: armbuilder Building target platforms: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/maven2-2.2.1-52.fc20.src.rpm Child return code was: 0 LEAVE do --> Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/maven2.spec'], printOutput=Falsetimeout=0user='mockbuild'logger=gid=135chrootPath='/var/lib/mock/fedora-20-armhfp-pidora-root-18397/root'uid=1000env={'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/maven2.spec'] with env {'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'} and shell False warning: Macro expanded in comment on line 9: # export https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-%{version}/ apache-maven-%{version} warning: Macro expanded in comment on line 10: # tar czvf %{name}-%{version}.tar.gz apache-maven-%{version} warning: Could not canonicalize hostname: armbuilder Building target platforms: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/maven2-2.2.1-52.fc20.src.rpm Child return code was: 0 LEAVE do --> Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/maven2.spec'], printOutput=Falseuid=1000env={'SHELL': '/bin/bash', 'CCACHE_UMASK': '002', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}shell=Falsetimeout=0user='mockbuild'logger=chrootPath='/var/lib/mock/fedora-20-armhfp-pidora-root-9995/root'gid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/maven2.spec'] with env {'SHELL': '/bin/bash', 'CCACHE_UMASK': '002', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} and shell False warning: Macro expanded in comment on line 9: # export https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-%{version}/ apache-maven-%{version} warning: Macro expanded in comment on line 10: # tar czvf %{name}-%{version}.tar.gz apache-maven-%{version} warning: Could not canonicalize hostname: armbuilder Building target platforms: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/maven2-2.2.1-52bs01fc23.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/maven2.spec '], printOutput=Falseuid=1000env={'SHELL': '/bin/bash', 'CCACHE_UMASK': '002', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}shell=Falsetimeout=0user='mockbuild'logger=chrootPath='/var/lib/mock/fedora-20-armhfp-pidora-root-9995/root'private_network=Truegid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/maven2.spec '] with env {'SHELL': '/bin/bash', 'CCACHE_UMASK': '002', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} and shell False warning: Macro expanded in comment on line 9: # export https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-%{version}/ apache-maven-%{version} warning: Macro expanded in comment on line 10: # tar czvf %{name}-%{version}.tar.gz apache-maven-%{version} Building target platforms: armv6hl Building for target armv6hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jVy9MZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apache-maven-2.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/maven2-2.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-maven-2.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (maven2-2.2.1-update-tests.patch):' Patch #2 (maven2-2.2.1-update-tests.patch): + /usr/bin/patch -p0 -b --suffix .update-tests --fuzz=0 patching file ./maven-project/src/test/java/org/apache/maven/project/validation/DefaultModelValidatorTest.java + echo 'Patch #4 (maven2-2.2.1-unshade.patch):' Patch #4 (maven2-2.2.1-unshade.patch): + /usr/bin/patch -p0 -b --suffix .unshade --fuzz=0 patching file ./apache-maven/pom.xml + echo 'Patch #5 (maven2-2.2.1-default-resolver-pool-size.patch):' Patch #5 (maven2-2.2.1-default-resolver-pool-size.patch): + /usr/bin/patch -p1 -b --suffix .parallel-artifacts-resolution --fuzz=0 patching file maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java + echo 'Patch #6 (maven2-2.2.1-strip-jackrabbit-dep.patch):' Patch #6 (maven2-2.2.1-strip-jackrabbit-dep.patch): + /usr/bin/patch -p1 -b --suffix .strip-jackrabbit-dep --fuzz=0 patching file maven-core/pom.xml patching file pom.xml + echo 'Patch #8 (maven2-2.2.1-migrate-to-plexus-containers-container-default.patch):' Patch #8 (maven2-2.2.1-migrate-to-plexus-containers-container-default.patch): + /usr/bin/patch -p1 -b --suffix .plexus-container --fuzz=0 patching file maven-project/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java + for nobuild in apache-maven maven-artifact-test maven-compat maven-core maven-plugin-api maven-plugin-parameter-documenter maven-reporting maven-repository-metadata maven-script maven-error-diagnostics + . /usr/share/java-utils/pom_editor.sh + pom_disable_module apache-maven + set +x + for nobuild in apache-maven maven-artifact-test maven-compat maven-core maven-plugin-api maven-plugin-parameter-documenter maven-reporting maven-repository-metadata maven-script maven-error-diagnostics + . /usr/share/java-utils/pom_editor.sh + pom_disable_module maven-artifact-test + set +x + for nobuild in apache-maven maven-artifact-test maven-compat maven-core maven-plugin-api maven-plugin-parameter-documenter maven-reporting maven-repository-metadata maven-script maven-error-diagnostics + . /usr/share/java-utils/pom_editor.sh + pom_disable_module maven-compat + set +x + for nobuild in apache-maven maven-artifact-test maven-compat maven-core maven-plugin-api maven-plugin-parameter-documenter maven-reporting maven-repository-metadata maven-script maven-error-diagnostics + . /usr/share/java-utils/pom_editor.sh + pom_disable_module maven-core + set +x + for nobuild in apache-maven maven-artifact-test maven-compat maven-core maven-plugin-api maven-plugin-parameter-documenter maven-reporting maven-repository-metadata maven-script maven-error-diagnostics + . /usr/share/java-utils/pom_editor.sh + pom_disable_module maven-plugin-api + set +x + for nobuild in apache-maven maven-artifact-test maven-compat maven-core maven-plugin-api maven-plugin-parameter-documenter maven-reporting maven-repository-metadata maven-script maven-error-diagnostics + . /usr/share/java-utils/pom_editor.sh + pom_disable_module maven-plugin-parameter-documenter + set +x + for nobuild in apache-maven maven-artifact-test maven-compat maven-core maven-plugin-api maven-plugin-parameter-documenter maven-reporting maven-repository-metadata maven-script maven-error-diagnostics + . /usr/share/java-utils/pom_editor.sh + pom_disable_module maven-reporting + set +x + for nobuild in apache-maven maven-artifact-test maven-compat maven-core maven-plugin-api maven-plugin-parameter-documenter maven-reporting maven-repository-metadata maven-script maven-error-diagnostics + . /usr/share/java-utils/pom_editor.sh + pom_disable_module maven-repository-metadata + set +x + for nobuild in apache-maven maven-artifact-test maven-compat maven-core maven-plugin-api maven-plugin-parameter-documenter maven-reporting maven-repository-metadata maven-script maven-error-diagnostics + . /usr/share/java-utils/pom_editor.sh + pom_disable_module maven-script + set +x + for nobuild in apache-maven maven-artifact-test maven-compat maven-core maven-plugin-api maven-plugin-parameter-documenter maven-reporting maven-repository-metadata maven-script maven-error-diagnostics + . /usr/share/java-utils/pom_editor.sh + pom_disable_module maven-error-diagnostics + set +x + python /usr/share/java-utils/mvn_package.py :maven __noinstall + python /usr/share/java-utils/mvn_file.py ':{*}' maven/@1 + python /usr/share/java-utils/mvn_compat_version.py ':maven-{artifact,model,settings}' 2.0.2 2.0.6 2.0.7 2.0.8 2.2.1 + . /usr/share/java-utils/pom_editor.sh + pom_remove_dep :backport-util-concurrent + set +x + . /usr/share/java-utils/pom_editor.sh + pom_remove_dep :backport-util-concurrent maven-artifact-manager + set +x ++ find -name DefaultArtifactResolver.java + sed -i s/edu.emory.mathcs.backport.// ./maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java +++ find -name pom.xml +++ grep -v /test/ ++ grep -l '>test<' ./maven-reporting/pom.xml ./maven-reporting/maven-reporting-api/pom.xml ./maven-toolchain/pom.xml ./maven-script/pom.xml ./maven-script/maven-script-beanshell/pom.xml ./maven-script/maven-script-ant/pom.xml ./apache-maven/pom.xml ./maven-artifact/pom.xml ./maven-monitor/pom.xml ./maven-artifact-test/pom.xml ./maven-settings/pom.xml ./maven-project/pom.xml ./maven-model/pom.xml ./maven-integration-tests/pom.xml ./maven-artifact-manager/pom.xml ./maven-plugin-parameter-documenter/pom.xml ./pom.xml ./maven-core/pom.xml ./maven-plugin-registry/pom.xml ./maven-compat/pom.xml ./maven-plugin-api/pom.xml ./maven-error-diagnostics/pom.xml ./maven-profile/pom.xml ./maven-repository-metadata/pom.xml ./maven-core-it-runner/pom.xml ./maven-plugin-descriptor/pom.xml + for pom in '$(grep -l ">test<" $(find -name pom.xml | grep -v /test/))' + . /usr/share/java-utils/pom_editor.sh + pom_xpath_remove 'pom:dependency[pom:scope[text()='\''test'\'']]' ./maven-toolchain/pom.xml + set +x + for pom in '$(grep -l ">test<" $(find -name pom.xml | grep -v /test/))' + . /usr/share/java-utils/pom_editor.sh + pom_xpath_remove 'pom:dependency[pom:scope[text()='\''test'\'']]' ./maven-script/maven-script-ant/pom.xml + set +x + for pom in '$(grep -l ">test<" $(find -name pom.xml | grep -v /test/))' + . /usr/share/java-utils/pom_editor.sh + pom_xpath_remove 'pom:dependency[pom:scope[text()='\''test'\'']]' ./maven-artifact/pom.xml + set +x + for pom in '$(grep -l ">test<" $(find -name pom.xml | grep -v /test/))' + . /usr/share/java-utils/pom_editor.sh + pom_xpath_remove 'pom:dependency[pom:scope[text()='\''test'\'']]' ./maven-project/pom.xml + set +x + for pom in '$(grep -l ">test<" $(find -name pom.xml | grep -v /test/))' + . /usr/share/java-utils/pom_editor.sh + pom_xpath_remove 'pom:dependency[pom:scope[text()='\''test'\'']]' ./maven-artifact-manager/pom.xml + set +x + for pom in '$(grep -l ">test<" $(find -name pom.xml | grep -v /test/))' + . /usr/share/java-utils/pom_editor.sh + pom_xpath_remove 'pom:dependency[pom:scope[text()='\''test'\'']]' ./pom.xml + set +x + for pom in '$(grep -l ">test<" $(find -name pom.xml | grep -v /test/))' + . /usr/share/java-utils/pom_editor.sh + pom_xpath_remove 'pom:dependency[pom:scope[text()='\''test'\'']]' ./maven-plugin-api/pom.xml + set +x + for pom in '$(grep -l ">test<" $(find -name pom.xml | grep -v /test/))' + . /usr/share/java-utils/pom_editor.sh + pom_xpath_remove 'pom:dependency[pom:scope[text()='\''test'\'']]' ./maven-core-it-runner/pom.xml + set +x + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.euYoth + umask 022 + cd /builddir/build/BUILD + cd apache-maven-2.2.1 + python /usr/share/java-utils/mvn_build.py -n maven2 -f -s -- -P all-models [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Maven [INFO] Maven Artifact [INFO] Maven Artifact Manager [INFO] Maven Model [INFO] Maven Monitor [INFO] Maven Plugin Descriptor Model [INFO] Maven Plugin Registry Model [INFO] Maven Profile Model [INFO] Maven Local Settings Model [INFO] Maven Project Builder [INFO] Maven Toolchains [WARNING] Failed to resolve artifact: org.apache.maven.plugins:maven-javadoc-plugin:pom:2.8 [WARNING] The POM for org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8 is missing, no dependency information available [WARNING] Failed to resolve artifact: org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Maven ............................................. SKIPPED [INFO] Maven Artifact .................................... SKIPPED [INFO] Maven Artifact Manager ............................ SKIPPED [INFO] Maven Model ....................................... SKIPPED [INFO] Maven Monitor ..................................... SKIPPED [INFO] Maven Plugin Descriptor Model ..................... SKIPPED [INFO] Maven Plugin Registry Model ....................... SKIPPED [INFO] Maven Profile Model ............................... SKIPPED [INFO] Maven Local Settings Model ........................ SKIPPED [INFO] Maven Project Builder ............................. SKIPPED [INFO] Maven Toolchains .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.298s [INFO] Finished at: Fri Dec 18 08:09:49 CST 2015 [INFO] Final Memory: 6M/23M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-javadoc-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (http://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8 has not been downloaded from it before. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException error: Bad exit status from /var/tmp/rpm-tmp.euYoth (%build) RPM build errors: Macro expanded in comment on line 9: # export https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-%{version}/ apache-maven-%{version} Macro expanded in comment on line 10: # tar czvf %{name}-%{version}.tar.gz apache-maven-%{version} Bad exit status from /var/tmp/rpm-tmp.euYoth (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/maven2.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/maven2.spec LEAVE do --> EXCEPTION RAISED