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/osgi-compendium.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210610071017-30b713e6-build-23401-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=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/osgi-compendium.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/osgi-compendium-7.0.0-4.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/osgi-compendium.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210610071017-30b713e6-build-23401-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=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/osgi-compendium.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.O4f2Nc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf osgi-compendium-7.0.0 + /usr/bin/mkdir -p osgi-compendium-7.0.0 + cd osgi-compendium-7.0.0 + /usr/bin/unzip -qq /builddir/build/SOURCES/osgi.cmpn-7.0.0.jar + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r org + find -name '*.class' -delete + mkdir -p src/main/java src/main/resources + mv OSGI-OPT/src/org src/main/java/ + mv xmlns src/main/resources + rm -r src/main/java/org/osgi/service/io + mv META-INF/maven/org.osgi/osgi.cmpn/pom.xml . + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project ' bundle UTF-8 org.apache.felix maven-bundle-plugin true ${project.artifactId} ${project.artifactId} ' + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep org.osgi:osgi.annotation::provided + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep org.osgi:osgi.core::provided + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep javax.servlet:javax.servlet-api::provided + rm -r src/main/java/org/osgi/service/jaxrs + rm -r src/main/java/org/osgi/service/jpa + rm -r src/main/java/org/osgi/service/transaction/control/jpa + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y9mJxx + umask 022 + cd /builddir/build/BUILD + cd osgi-compendium-7.0.0 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 Executing: xmvn --batch-mode --offline -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.compiler.source=1.8', '-Dmaven.compiler.target=1.8', 'verify', '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.Y9mJxx (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Y9mJxx (%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/osgi-compendium.spec