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/cglib.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210610071017-30b713e6-build-23329-4465/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/cglib.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/cglib-3.3.0-2.module+el8.3.0+95+a9bf5682.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/cglib.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210610071017-30b713e6-build-23329-4465/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/cglib.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.L7fsOV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cglib-RELEASE_3_3_0 + /usr/bin/gzip -dc /builddir/build/SOURCES/RELEASE_3_3_0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cglib-RELEASE_3_3_0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0001-Remove-unused-import.patch): + echo 'Patch #0 (0001-Remove-unused-import.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file cglib/src/main/java/net/sf/cglib/reflect/MethodDelegate.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module cglib-nodep + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module cglib-integration-test + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module cglib-jmh + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_set pom:packaging bundle cglib + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:build/pom:plugins ' org.apache.felix maven-bundle-plugin 1.4.0 true net.sf.cglib.core net.* org.apache.tools.*;resolution:=optional,* ' cglib + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-javadoc-plugin + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py :cglib net.sf.cglib:cglib cglib:cglib-full cglib:cglib-nodep org.sonatype.sisu.inject:cglib + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GmXLHV + umask 022 + cd /builddir/build/BUILD + cd cglib-RELEASE_3_3_0 + /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.GmXLHV (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.GmXLHV (%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/cglib.spec