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/qdox.spec'], chrootPath='/var/lib/mock/module-javapackages-bootstrap-202201-8060020230109121314-e829d8bc-build-34351-10770/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/qdox.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/qdox-2.0.0-10.module+oc8.6.0+423+91513d1f.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/qdox.spec'], chrootPath='/var/lib/mock/module-javapackages-bootstrap-202201-8060020230109121314-e829d8bc-build-34351-10770/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/qdox.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.IxgAfR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qdox-2.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/qdox-2.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd qdox-2.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0001-Port-to-JFlex-1.7.0.patch): + echo 'Patch #0 (0001-Port-to-JFlex-1.7.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/grammar/lexer.flex patching file src/main/java/com/thoughtworks/qdox/library/ClassLoaderLibrary.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_parent + /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 :maven-assembly-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-failsafe-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-invoker-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-jflex-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 :exec-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py : qdox + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py : qdox:qdox + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rLmaA6 + umask 022 + cd /builddir/build/BUILD + cd qdox-2.0.0 + PATH=/usr/libexec/javapackages-bootstrap:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + jflex -d src/main/java/com/thoughtworks/qdox/parser/impl src/grammar/lexer.flex Reading "src/grammar/lexer.flex" Warning : Macro "CommentChar" has been declared but never used. Warning : Macro "JavadocEnd" has been declared but never used. Constructing NFA : 1,769 states in NFA Converting NFA to DFA : ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 874 states before minimization, 628 states in minimized DFA Writing code to "src/main/java/com/thoughtworks/qdox/parser/impl/JFlexLexer.java" + jflex -d src/main/java/com/thoughtworks/qdox/parser/impl src/grammar/commentlexer.flex Reading "src/grammar/commentlexer.flex" Constructing NFA : 222 states in NFA Converting NFA to DFA : ............................................................................... 97 states before minimization, 73 states in minimized DFA Writing code to "src/main/java/com/thoughtworks/qdox/parser/impl/DefaultJavaCommentLexer.java" + cd ./src/main/java/com/thoughtworks/qdox/parser/impl + byaccj -v -Jnorun -Jnoconstruct -Jclass=DefaultJavaCommentParser -Jpackage=com.thoughtworks.qdox.parser.impl ../../../../../../../grammar/commentparser.y + byaccj -v -Jnorun -Jnoconstruct -Jclass=Parser -Jimplements=CommentHandler -Jsemantic=Value -Jpackage=com.thoughtworks.qdox.parser.impl -Jstack=500 ../../../../../../../grammar/parser.y byaccj: 48 shift/reduce conflicts, 3 reduce/reduce conflicts. + PATH=/usr/libexec/javapackages-bootstrap:/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 -f -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7 Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7 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', '-Dmaven.compiler.source=1.7', '-Dmaven.compiler.target=1.7', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.211 s [INFO] Finished at: 2023-01-09T20:43:10+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.rLmaA6 (%build) Bad exit status from /var/tmp/rpm-tmp.rLmaA6 (%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/qdox.spec