Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/java_cup.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-300746-65959/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/java_cup.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/java_cup-0.11b-8.module+an8.8.0+11099+13f6a98c.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/java_cup.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-300746-65959/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/java_cup.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.Bzsygp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf java_cup-0.11b + /usr/bin/bzip2 -dc /builddir/build/SOURCES/java_cup-0.11b.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd java_cup-0.11b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (java_cup-build.patch):' Patch #0 (java_cup-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .build --fuzz=0 patching file build.xml + find -name '*.class' -delete + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py ':{*}' @1 + rm -rf java_cup-0.11b/bin/JFlex.jar + rm -rf java_cup-0.11b/bin/java-cup-11.jar + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.K3NIDK + umask 022 + cd /builddir/build/BUILD + cd java_cup-0.11b ++ build-classpath java_cup java_cup-runtime jflex + export CLASSPATH=/usr/share/java/java_cup.jar:/usr/share/java/java_cup-runtime.jar:/usr/share/java/jflex.jar + CLASSPATH=/usr/share/java/java_cup.jar:/usr/share/java/java_cup-runtime.jar:/usr/share/java/jflex.jar + ant -Dcupversion=20150326 -Dsvnversion=65 Buildfile: /builddir/build/BUILD/java_cup-0.11b/build.xml init: [mkdir] Created dir: /builddir/build/BUILD/java_cup-0.11b/java [mkdir] Created dir: /builddir/build/BUILD/java_cup-0.11b/classes [mkdir] Created dir: /builddir/build/BUILD/java_cup-0.11b/dist cup: [cup] This is CUP v0.11b 20150326 (SVN rev 65) [cup] Authors : Scott E. Hudson, Frank Flannery, Michael Petter and C. Scott Ananian [cup] Bugreports to petter@cs.tum.edu [cup] Destination directory didn't exist; creating new one: /builddir/build/BUILD/java_cup-0.11b/java/java_cup [cup] ------- CUP v0.11b 20150326 (SVN rev 65) Parser Generation Summary ------- [cup] 0 errors and 0 warnings [cup] 36 terminals, 60 non-terminals, and 117 productions declared, [cup] producing 185 unique parse states. [cup] 0 terminals declared but not used. [cup] 0 non-terminals declared but not used. [cup] 0 productions never reduced. [cup] 0 conflicts detected (0 expected). [cup] Code written to "parser.java", and "sym.java". [cup] ---------------------------------------------------- (CUP v0.11b 20150326 (SVN rev 65)) jflex: [jflex] Generated: Lexer.java compile: [copy] Copying 39 files to /builddir/build/BUILD/java_cup-0.11b/java [javac] /builddir/build/BUILD/java_cup-0.11b/build.xml:60: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 42 source files to /builddir/build/BUILD/java_cup-0.11b/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 5 [javac] error: Source option 5 is no longer supported. Use 6 or later. [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later. BUILD FAILED /builddir/build/BUILD/java_cup-0.11b/build.xml:60: Compile failed; see the compiler error output for details. Total time: 0 seconds error: Bad exit status from /var/tmp/rpm-tmp.K3NIDK (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.K3NIDK (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/java_cup.spec\n', 1)] 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 --noclean --target noarch --nodeps /builddir/build/SPECS/java_cup.spec