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/jakarta-servlet.spec'], chrootPath='/var/lib/mock/module-javapackages-bootstrap-202201-8060020221210105432-e829d8bc-build-27811-8519/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/jakarta-servlet.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/jakarta-servlet-5.0.0-11.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/jakarta-servlet.spec'], chrootPath='/var/lib/mock/module-javapackages-bootstrap-202201-8060020221210105432-e829d8bc-build-27811-8519/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/jakarta-servlet.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.qm7EXV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf servlet-api-5.0.0-RELEASE + /usr/bin/gzip -dc /builddir/build/SOURCES/servlet-api-5.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd servlet-api-5.0.0-RELEASE + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_parent . api + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module spec + cp -pr api/src/main/java/jakarta api/src/main/java/javax ++ find api/src/main/java/javax -name '*.java' + sed -i -e 's/jakarta\./javax./g' api/src/main/java/javax/servlet/ServletRequestEvent.java api/src/main/java/javax/servlet/ServletRegistration.java api/src/main/java/javax/servlet/ServletRequestListener.java api/src/main/java/javax/servlet/ServletContextAttributeEvent.java api/src/main/java/javax/servlet/DispatcherType.java api/src/main/java/javax/servlet/Registration.java api/src/main/java/javax/servlet/SessionCookieConfig.java api/src/main/java/javax/servlet/WriteListener.java api/src/main/java/javax/servlet/ServletConfig.java api/src/main/java/javax/servlet/ReadListener.java api/src/main/java/javax/servlet/ServletRequestAttributeListener.java api/src/main/java/javax/servlet/UnavailableException.java api/src/main/java/javax/servlet/annotation/WebListener.java api/src/main/java/javax/servlet/annotation/WebServlet.java api/src/main/java/javax/servlet/annotation/MultipartConfig.java api/src/main/java/javax/servlet/annotation/HttpMethodConstraint.java api/src/main/java/javax/servlet/annotation/WebInitParam.java api/src/main/java/javax/servlet/annotation/HandlesTypes.java api/src/main/java/javax/servlet/annotation/HttpConstraint.java api/src/main/java/javax/servlet/annotation/ServletSecurity.java api/src/main/java/javax/servlet/annotation/WebFilter.java api/src/main/java/javax/servlet/ServletException.java api/src/main/java/javax/servlet/SessionTrackingMode.java api/src/main/java/javax/servlet/ServletRequestWrapper.java api/src/main/java/javax/servlet/ServletInputStream.java api/src/main/java/javax/servlet/ServletSecurityElement.java api/src/main/java/javax/servlet/FilterConfig.java api/src/main/java/javax/servlet/ServletRequest.java api/src/main/java/javax/servlet/AsyncContext.java api/src/main/java/javax/servlet/ServletOutputStream.java api/src/main/java/javax/servlet/GenericFilter.java api/src/main/java/javax/servlet/ServletResponse.java api/src/main/java/javax/servlet/ServletContext.java api/src/main/java/javax/servlet/ServletContainerInitializer.java api/src/main/java/javax/servlet/ServletContextEvent.java api/src/main/java/javax/servlet/ServletContextAttributeListener.java api/src/main/java/javax/servlet/SingleThreadModel.java api/src/main/java/javax/servlet/descriptor/JspConfigDescriptor.java api/src/main/java/javax/servlet/descriptor/JspPropertyGroupDescriptor.java api/src/main/java/javax/servlet/descriptor/TaglibDescriptor.java api/src/main/java/javax/servlet/MultipartConfigElement.java api/src/main/java/javax/servlet/AsyncListener.java api/src/main/java/javax/servlet/Filter.java api/src/main/java/javax/servlet/RequestDispatcher.java api/src/main/java/javax/servlet/Servlet.java api/src/main/java/javax/servlet/ServletResponseWrapper.java api/src/main/java/javax/servlet/GenericServlet.java api/src/main/java/javax/servlet/http/HttpSessionBindingListener.java api/src/main/java/javax/servlet/http/HttpSessionAttributeListener.java api/src/main/java/javax/servlet/http/HttpSession.java api/src/main/java/javax/servlet/http/HttpSessionEvent.java api/src/main/java/javax/servlet/http/HttpUtils.java api/src/main/java/javax/servlet/http/HttpServletResponseWrapper.java api/src/main/java/javax/servlet/http/HttpSessionContext.java api/src/main/java/javax/servlet/http/HttpUpgradeHandler.java api/src/main/java/javax/servlet/http/HttpServletMapping.java api/src/main/java/javax/servlet/http/HttpSessionListener.java api/src/main/java/javax/servlet/http/HttpSessionActivationListener.java api/src/main/java/javax/servlet/http/HttpSessionIdListener.java api/src/main/java/javax/servlet/http/Cookie.java api/src/main/java/javax/servlet/http/HttpSessionBindingEvent.java api/src/main/java/javax/servlet/http/HttpServletRequestWrapper.java api/src/main/java/javax/servlet/http/MappingMatch.java api/src/main/java/javax/servlet/http/HttpServlet.java api/src/main/java/javax/servlet/http/Part.java api/src/main/java/javax/servlet/http/PushBuilder.java api/src/main/java/javax/servlet/http/WebConnection.java api/src/main/java/javax/servlet/http/HttpServletRequest.java api/src/main/java/javax/servlet/http/HttpFilter.java api/src/main/java/javax/servlet/http/HttpServletResponse.java api/src/main/java/javax/servlet/FilterChain.java api/src/main/java/javax/servlet/AsyncEvent.java api/src/main/java/javax/servlet/HttpMethodConstraintElement.java api/src/main/java/javax/servlet/HttpConstraintElement.java api/src/main/java/javax/servlet/FilterRegistration.java api/src/main/java/javax/servlet/ServletRequestAttributeEvent.java api/src/main/java/javax/servlet/ServletContextListener.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_replace pom:instructions/pom:Export-Package 'jakarta.servlet.*,javax.servlet.*;version="4.0.0"' api + /usr/libexec/platform-python /usr/share/java-utils/mvn_package.py jakarta.servlet:servlet-parent __noinstall + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :formatter-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :impsort-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-enforcer-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 :maven-source-plugin + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py jakarta.servlet:jakarta.servlet-api javax.servlet:javax.servlet-api javax.servlet:servlet-api + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py ':{*}' jakarta-servlet/@1 glassfish-servlet-api + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5vC547 + umask 022 + cd /builddir/build/BUILD + cd servlet-api-5.0.0-RELEASE + 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 Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '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] Jakarta Servlet [jar] [INFO] Jakarta Servlet Parent [pom] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Jakarta Servlet Parent 5.0.0: [INFO] [INFO] Jakarta Servlet .................................... SKIPPED [INFO] Jakarta Servlet Parent ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.619 s [INFO] Finished at: 2022-12-10T19:54:02+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. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.5vC547 (%build) Bad exit status from /var/tmp/rpm-tmp.5vC547 (%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 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/jakarta-servlet.spec