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/xz-java.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-301028-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/xz-java.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/xz-java-1.8-2.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/xz-java.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-301028-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/xz-java.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.5xn8lT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xz-java-1.8 + /usr/bin/mkdir -p xz-java-1.8 + cd xz-java-1.8 + /usr/bin/unzip -qq /builddir/build/SOURCES/xz-java-1.8.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py : xz-java xz + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.swWxMb + umask 022 + cd /builddir/build/BUILD + cd xz-java-1.8 + mkdir -p extdoc + touch extdoc/package-list + ant maven Buildfile: /builddir/build/BUILD/xz-java-1.8/build.xml dist: [mkdir] Created dir: /builddir/build/BUILD/xz-java-1.8/build/dist [zip] Building zip: /builddir/build/BUILD/xz-java-1.8/build/dist/xz-java-1.8.zip doc: [mkdir] Created dir: /builddir/build/BUILD/xz-java-1.8/build/doc [get] Destination already exists (skipping): /builddir/build/BUILD/xz-java-1.8/extdoc/package-list [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc] 2 errors [javadoc] error: Source option 5 is no longer supported. Use 6 or later. [javadoc] error: Target option 1.5 is no longer supported. Use 1.6 or later. compile: [mkdir] Created dir: /builddir/build/BUILD/xz-java-1.8/build/classes [javac] Compiling 108 source files to /builddir/build/BUILD/xz-java-1.8/build/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/xz-java-1.8/build.xml:52: Compile failed; see the compiler error output for details. Total time: 0 seconds error: Bad exit status from /var/tmp/rpm-tmp.swWxMb (%build) Bad exit status from /var/tmp/rpm-tmp.swWxMb (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/xz-java.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/xz-java.spec