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/bsh.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-300669-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/bsh.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/bsh-2.0-13.b6.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/bsh.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-300669-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/bsh.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.usF9kR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf beanshell-2.0b6 + /usr/bin/tar -xof /builddir/build/SOURCES/bsh-2.0-b6.tar.gz + cd beanshell-2.0b6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s,org.apache.xalan.xslt.extensions.Redirect,http://xml.apache.org/xalan/redirect, docs/manual/xsl/anchor.xsl docs/manual/xsl/bshcommands.xsl docs/manual/xsl/example.xsl docs/manual/xsl/identity.xsl docs/manual/xsl/imagelist.xsl docs/manual/xsl/img.xsl docs/manual/xsl/manual.xsl docs/manual/xsl/note.xsl docs/manual/xsl/tip.xsl + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py :bsh bsh:bsh bsh:bsh-bsf org.beanshell:bsh + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py : bsh + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DxTv5e + umask 022 + cd /builddir/build/BUILD + cd beanshell-2.0b6 + mkdir lib + build-jar-repository lib bsf javacc junit glassfish-servlet-api + ant test dist Buildfile: /builddir/build/BUILD/beanshell-2.0b6/build.xml test: checkjjt: jjtree: checkjj: javacc: builddir: [mkdir] Created dir: /builddir/build/BUILD/beanshell-2.0b6/classes compile: [javac] /builddir/build/BUILD/beanshell-2.0b6/build.xml:176: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 155 source files to /builddir/build/BUILD/beanshell-2.0b6/classes [javac] [javac] WARNING [javac] [javac] The -source switch defaults to 9 in JDK 9. [javac] If you specify -target 1.5 you now must also specify -source 1.5. [javac] Ant will implicitly add -source 1.5 for you. Please change your build file. [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/beanshell-2.0b6/build.xml:676: The following error occurred while executing this line: /builddir/build/BUILD/beanshell-2.0b6/build.xml:176: Compile failed; see the compiler error output for details. Total time: 0 seconds error: Bad exit status from /var/tmp/rpm-tmp.DxTv5e (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.DxTv5e (%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/bsh.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/bsh.spec