Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/aqute-bnd.spec'], chrootPath='/var/lib/mock/module-javapackages-bootstrap-202201-8060020221210105432-e829d8bc-build-28359-8700/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/aqute-bnd.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/aqute-bnd-6.2.0-2.module+oc8.6.0+397+ec2233dc.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps --nocheck /builddir/build/SPECS/aqute-bnd.spec'], chrootPath='/var/lib/mock/module-javapackages-bootstrap-202201-8060020221210105432-e829d8bc-build-28359-8700/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps --nocheck /builddir/build/SPECS/aqute-bnd.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.S0Mbj6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aqute-bnd-6.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/aqute-bnd-6.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd aqute-bnd-6.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-Disable-removed-commands.patch): + echo 'Patch #1 (0001-Disable-removed-commands.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file biz.aQute.bnd/src/aQute/bnd/main/bnd.java Patch #2 (0002-Port-to-OSGI-7.0.0.patch): + echo 'Patch #2 (0002-Port-to-OSGI-7.0.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file biz.aQute.bndlib/src/aQute/bnd/junit/ConsoleLogger.java + rm biz.aQute.bnd/src/aQute/bnd/main/ExportReportCommand.java biz.aQute.bnd/src/aQute/bnd/main/MbrCommand.java biz.aQute.bnd/src/aQute/bnd/main/RemoteCommand.java biz.aQute.bnd/src/aQute/bnd/main/ReporterLogger.java biz.aQute.bnd/src/aQute/bnd/main/ResolveCommand.java biz.aQute.bnd/src/aQute/bnd/main/Shell.java + sed s/@VERSION@/6.2.0/ /builddir/build/SOURCES/parent.pom + sed -i 's|${Bundle-Version}|6.2.0|' biz.aQute.bndlib/src/aQute/bnd/osgi/bnd.info + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module maven + pushd aQute.libg ~/build/BUILD/aqute-bnd-6.2.0/aQute.libg ~/build/BUILD/aqute-bnd-6.2.0 + cp -p /builddir/build/SOURCES/aQute.libg-6.2.0.pom pom.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_parent biz.aQute.bnd:parent:6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep org.osgi:osgi.cmpn + popd ~/build/BUILD/aqute-bnd-6.2.0 ~/build/BUILD/aqute-bnd-6.2.0/biz.aQute.bnd.annotation ~/build/BUILD/aqute-bnd-6.2.0 + pushd biz.aQute.bnd.annotation + cp -p /builddir/build/SOURCES/biz.aQute.bnd.annotation-6.2.0.pom pom.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_parent biz.aQute.bnd:parent:6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep org.osgi:osgi.core + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep org.osgi:osgi.cmpn ~/build/BUILD/aqute-bnd-6.2.0 + popd + pushd biz.aQute.bndlib + cp -p /builddir/build/SOURCES/biz.aQute.bndlib-6.2.0.pom pom.xml ~/build/BUILD/aqute-bnd-6.2.0/biz.aQute.bndlib ~/build/BUILD/aqute-bnd-6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_parent biz.aQute.bnd:parent:6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep org.osgi:osgi.cmpn + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep biz.aQute.bnd:aQute.libg:6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep biz.aQute.bnd:biz.aQute.bnd.annotation:6.2.0 ~/build/BUILD/aqute-bnd-6.2.0 + popd + pushd biz.aQute.bnd.ant + cp -p /builddir/build/SOURCES/biz.aQute.bnd.ant-6.2.0.pom pom.xml ~/build/BUILD/aqute-bnd-6.2.0/biz.aQute.bnd.ant ~/build/BUILD/aqute-bnd-6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_parent biz.aQute.bnd:parent:6.2.0 ~/build/BUILD/aqute-bnd-6.2.0 + popd + cp -r biz.aQute.bnd.exporters/src/aQute/bnd/exporter biz.aQute.bnd/src/aQute/bnd/ ~/build/BUILD/aqute-bnd-6.2.0/biz.aQute.bnd ~/build/BUILD/aqute-bnd-6.2.0 + pushd biz.aQute.bnd + cp -p /builddir/build/SOURCES/biz.aQute.bnd-6.2.0.pom pom.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_parent biz.aQute.bnd:parent:6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :biz.aQute.resolve + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :biz.aQute.repository + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :biz.aQute.bnd.exporters + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :biz.aQute.bnd.reporter + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :biz.aQute.remote.api + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :snakeyaml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :jline + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep org.osgi:org.osgi.service.coordinator + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep org.osgi:org.osgi.service.resolver ~/build/BUILD/aqute-bnd-6.2.0 + popd + pushd biz.aQute.bnd.util + cp -p /builddir/build/SOURCES/biz.aQute.bnd.util-6.2.0.pom pom.xml ~/build/BUILD/aqute-bnd-6.2.0/biz.aQute.bnd.util ~/build/BUILD/aqute-bnd-6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_parent biz.aQute.bnd:parent:6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep biz.aQute.bnd:aQute.libg:6.2.0 + popd ~/build/BUILD/aqute-bnd-6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.dto + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.framework + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.namespace.contract + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.namespace.extender + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.namespace.implementation + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.namespace.service + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.resource + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.service.log + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.service.repository + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.service.serviceloader + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.util.function + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.util.promise + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.osgi:org.osgi.util.tracker + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove -r pom:project/pom:dependencies/pom:dependency/pom:scope + cp -r biz.aQute.bnd.maven/src/aQute/bnd/maven/lib/configuration maven/bnd-maven-plugin/src/main/java/aQute/bnd/maven/lib + cp -r biz.aQute.bnd.maven/src/aQute/bnd/maven/lib/executions maven/bnd-maven-plugin/src/main/java/aQute/bnd/maven/lib + pushd maven ~/build/BUILD/aqute-bnd-6.2.0/maven ~/build/BUILD/aqute-bnd-6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r :biz.aQute.bnd.maven + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module bnd-indexer-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module bnd-export-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module bnd-reporter-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module bnd-resolver-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module bnd-run-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module bnd-testing-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-invoker-plugin + /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/pom_editor.py pom_remove_plugin -r :flatten-maven-plugin + popd ~/build/BUILD/aqute-bnd-6.2.0 + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py biz.aQute.bnd:biz.aQute.bnd :bnd biz.aQute:bnd + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py biz.aQute.bnd:biz.aQute.bndlib :bndlib biz.aQute:bndlib + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py biz.aQute.bnd:biz.aQute.bndlib bndlib + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py biz.aQute.bnd:biz.aQute.bnd.annotation bndlib + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py biz.aQute.bnd:aQute.libg bndlib + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py biz.aQute.bnd:parent __noinstall + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py biz.aQute.bnd:bnd-plugin-parent __noinstall + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xssbOy + umask 022 + cd /builddir/build/BUILD + cd aqute-bnd-6.2.0 + PATH=/usr/libexec/javapackages-bootstrap:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dproject.build.sourceEncoding=UTF-8 Executing: xmvn --batch-mode --offline -Dproject.build.sourceEncoding=UTF-8 verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dproject.build.sourceEncoding=UTF-8', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Parent project for bnd tool suite [pom] [INFO] aQute.libg [jar] [INFO] biz.aQute.bnd.annotation [jar] [INFO] biz.aQute.bnd.util [jar] [INFO] biz.aQute.bndlib [jar] [INFO] biz.aQute.bnd.ant [jar] [INFO] biz.aQute.bnd [jar] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Parent project for bnd tool suite 6.2.0: [INFO] [INFO] Parent project for bnd tool suite .................. SKIPPED [INFO] aQute.libg ......................................... SKIPPED [INFO] biz.aQute.bnd.annotation ........................... SKIPPED [INFO] biz.aQute.bnd.util ................................. SKIPPED [INFO] biz.aQute.bndlib ................................... SKIPPED [INFO] biz.aQute.bnd.ant .................................. SKIPPED [INFO] biz.aQute.bnd ...................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.496 s [INFO] Finished at: 2022-12-10T21:27:37+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] UndeclaredThrowableException: InvocationTargetException: StackOverflowError [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: Bad exit status from /var/tmp/rpm-tmp.xssbOy (%build) Bad exit status from /var/tmp/rpm-tmp.xssbOy (%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 598, 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 --nocheck /builddir/build/SPECS/aqute-bnd.spec