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/jflex.spec'], chrootPath='/var/lib/mock/module-javapackages-bootstrap-202201-8060020221212160950-e829d8bc-build-31475-9256/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/jflex.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/jflex-1.7.0-11.module+oc8.6.0+415+b0b169e6.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/jflex.spec'], chrootPath='/var/lib/mock/module-javapackages-bootstrap-202201-8060020221212160950-e829d8bc-build-31475-9256/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 /builddir/build/SPECS/jflex.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.B6Rfs3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jflex-1.7.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/jflex-1.7.0-clean.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jflex-1.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py : jflex + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep java_cup:java_cup + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :jflex-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :cup-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-shade-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :cup_runtime + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:plugin[pom:artifactId='\''maven-surefire-plugin'\'']/pom:configuration' '-Xss16384k' + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:plugin[pom:artifactId='\''maven-site-plugin'\'']' parent.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:plugin[pom:artifactId='\''fmt-maven-plugin'\'']' parent.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:plugin[pom:artifactId='\''cup-maven-plugin'\'']' parent.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:plugin[pom:artifactId='\''maven-shade-plugin'\'']' parent.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:dependency[pom:artifactId='\''plexus-compiler-javac-errorprone'\'']' parent.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:dependency[pom:artifactId='\''error_prone_core'\'']' parent.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:compilerId parent.xml + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:compilerArgs parent.xml + sed -i /%inputstreamctor/d src/main/jflex/LexScan.flex + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eIjhgR + umask 022 + cd /builddir/build/BUILD + cd jflex-1.7.0 + PATH=/usr/libexec/javapackages-bootstrap:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + cup -parser LexParse -interface -destdir src/main/java src/main/cup/LexParse.cup Warning : Terminal "STRING_I" was declared but never used Warning : Terminal "CONCAT" was declared but never used Warning : Terminal "CCLASSNOT" was declared but never used Warning : Terminal "CHAR_I" was declared but never used Warning : Terminal "UNION" was declared but never used Warning : Terminal "CCLASS" was declared but never used ------- CUP v0.11b beta 20140226 Parser Generation Summary ------- 0 errors and 6 warnings 60 terminals, 19 non-terminals, and 113 productions declared, producing 196 unique parse states. 6 terminals declared but not used. 0 non-terminals declared but not used. 0 productions never reduced. 0 conflicts detected (0 expected). Code written to "LexParse.java", and "sym.java". ---------------------------------------------------- (CUP v0.11b beta 20140226) + jflex -d src/main/java/jflex --skel src/main/jflex/skeleton.nested src/main/jflex/LexScan.flex Reading skeleton file "src/main/jflex/skeleton.nested". Reading "src/main/jflex/LexScan.flex" Constructing NFA : 2,677 states in NFA Converting NFA to DFA : ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 1351 states before minimization, 795 states in minimized DFA Writing code to "src/main/java/jflex/LexScan.java" + 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 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] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.222 s [INFO] Finished at: 2022-12-13T00:28:16+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.eIjhgR (%build) Bad exit status from /var/tmp/rpm-tmp.eIjhgR (%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 /builddir/build/SPECS/jflex.spec