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/apache-commons-compress.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210611031523-30b713e6-build-23471-4474/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/apache-commons-compress.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/apache-commons-compress-1.20-3.module+el8.3.0+96+14dee425.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/apache-commons-compress.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210611031523-30b713e6-build-23471-4474/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/apache-commons-compress.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.vLcOQm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf commons-compress-1.20-src + /usr/bin/gzip -dc /builddir/build/SOURCES/commons-compress-1.20-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd commons-compress-1.20-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Remove-Brotli-compressor.patch):' Patch #0 (0001-Remove-Brotli-compressor.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep org.brotli:dec + rm -r src/main/java/org/apache/commons/compress/compressors/brotli src/test/java/org/apache/commons/compress/compressors/brotli Patch #1 (0002-Remove-ZSTD-compressor.patch): + echo 'Patch #1 (0002-Remove-ZSTD-compressor.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :zstd-jni + rm -r src/main/java/org/apache/commons/compress/compressors/zstandard src/test/java/org/apache/commons/compress/compressors/zstandard + rm src/test/java/org/apache/commons/compress/compressors/DetectCompressorTestCase.java Patch #2 (0003-Avoid-use-of-internal-Mockito-API.patch): + echo 'Patch #2 (0003-Avoid-use-of-internal-Mockito-API.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/test/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStreamTest.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep org.ops4j.pax.exam:::test + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :org.apache.felix.framework::test + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :javax.inject::test + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :slf4j-api::test + rm src/test/java/org/apache/commons/compress/OsgiITest.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_change_dep :org.osgi.core org.osgi:osgi.core + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep org.powermock: + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep org.mockito:mockito-core::test + rm src/test/java/org/apache/commons/compress/compressors/z/ZCompressorInputStreamTest.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_replace pom:maven.compiler.release '8' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tL5Cha + umask 022 + cd /builddir/build/BUILD + cd commons-compress-1.20-src + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py : commons-compress apache-commons-compress + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py : commons: + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -- -Dcommons.osgi.symbolicName=org.apache.commons.compress Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Dcommons.osgi.symbolicName=org.apache.commons.compress 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', '-Dcommons.osgi.symbolicName=org.apache.commons.compress', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] /usr/share/maven/bin/mvn: line 36: /etc/java/maven.conf: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.tL5Cha (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.tL5Cha (%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 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/apache-commons-compress.spec