Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/easymock.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210611031523-30b713e6-build-23518-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=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/easymock.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/easymock-4.0.2-2.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/easymock.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210611031523-30b713e6-build-23518-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=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/easymock.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.Skk2KU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf easymock-easymock-4.0.2 + /usr/bin/tar -xof /builddir/build/SOURCES/easymock-4.0.2.tar.gz + cd easymock-easymock-4.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Disable-android-support.patch):' Patch #1 (0001-Disable-android-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/src/main/java/org/easymock/internal/MocksControl.java Hunk #1 succeeded at 130 (offset -17 lines). Patch #2 (0002-Unshade-cglib-and-asm.patch): + echo 'Patch #2 (0002-Unshade-cglib-and-asm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/pom.xml Hunk #1 succeeded at 109 (offset 9 lines). Patch #3 (0003-Fix-OSGi-manifest.patch): + echo 'Patch #3 (0003-Fix-OSGi-manifest.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/pom.xml Hunk #1 succeeded at 109 (offset 9 lines). Patch #4 (0004-Port-to-hamcrest-2.1.patch): + echo 'Patch #4 (0004-Port-to-hamcrest-2.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/src/test/java/org/easymock/tests2/EasyMockSupportClassTest.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :license-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-enforcer-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :animal-sniffer-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :animal-sniffer-maven-plugin core + rm core/src/main/java/org/easymock/internal/AndroidClassProxyFactory.java core/src/main/java/org/easymock/internal/AndroidSupport.java + rm core/src/test/java/org/easymock/tests2/ClassExtensionHelperTest.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module test-android + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :dexmaker core + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module test-nodeps + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-shade-plugin core + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module test-integration + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module test-osgi + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.codehaus.mojo:versions-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-timestamp-plugin + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py ':easymock{*}' easymock@1 easymock3@1 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:extensions + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4oiO1I + umask 022 + cd /builddir/build/BUILD + cd easymock-easymock-4.0.2 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true 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', '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.4oiO1I (%build) Bad exit status from /var/tmp/rpm-tmp.4oiO1I (%build) RPM build errors: 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/easymock.spec