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/jdom2.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-300770-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/jdom2.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/jdom2-2.0.6-12.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/jdom2.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8080020230913025234-6440fe74-build-300770-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/jdom2.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.wl7MYx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jdom-JDOM-2.0.6 + /usr/bin/tar -xof /builddir/build/SOURCES/jdom2-2.0.6.tar.gz + cd jdom-JDOM-2.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Adapt-build.patch):' Patch #0 (0001-Adapt-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + cp -p /builddir/build/SOURCES/jdom-contrib-template.pom maven/contrib.pom + cp -p /builddir/build/SOURCES/jdom-junit-template.pom maven/junit.pom + sed -i 's/\r//' LICENSE.txt README.txt + sed -i.coverage 's|coverage, jars|jars|' build.xml + mkdir lib + build-jar-repository lib xerces-j2 xml-commons-apis jaxen junit isorelax xalan-j2 xalan-j2-serializer + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yv9Okn + umask 022 + cd /builddir/build/BUILD + cd jdom-JDOM-2.0.6 + ant -Dversion=2.0.6 -Dj2se.apidoc=/usr/share/javadoc/java maven Buildfile: /builddir/build/BUILD/jdom-JDOM-2.0.6/build.xml [echo] ----------- JDOM 2.0.6 ------------ maven.clean: prepare: [mkdir] Created dir: /builddir/build/BUILD/jdom-JDOM-2.0.6/build [mkdir] Created dir: /builddir/build/BUILD/jdom-JDOM-2.0.6/build/core [mkdir] Created dir: /builddir/build/BUILD/jdom-JDOM-2.0.6/build/about [mkdir] Created dir: /builddir/build/BUILD/jdom-JDOM-2.0.6/build/samples [mkdir] Created dir: /builddir/build/BUILD/jdom-JDOM-2.0.6/build/junit [mkdir] Created dir: /builddir/build/BUILD/jdom-JDOM-2.0.6/build/contrib [mkdir] Created dir: /builddir/build/BUILD/jdom-JDOM-2.0.6/build/META-INF compile.core: [copy] Copying 13 files to /builddir/build/BUILD/jdom-JDOM-2.0.6/build/core [copy] Copied 16 empty directories to 2 empty directories under /builddir/build/BUILD/jdom-JDOM-2.0.6/build/core [javac] Compiling 133 source files to /builddir/build/BUILD/jdom-JDOM-2.0.6/build/core [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/jdom-JDOM-2.0.6/build.xml:193: Compile failed; see the compiler error output for details. Total time: 0 seconds error: Bad exit status from /var/tmp/rpm-tmp.yv9Okn (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.yv9Okn (%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/jdom2.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/jdom2.spec