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/objectweb-asm.spec'], chrootPath='/var/lib/mock/dist-an23-build-270652-64121/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/objectweb-asm.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 setting SOURCE_DATE_EPOCH=1506297600 Wrote: /builddir/build/SRPMS/objectweb-asm-6.0-1.an23.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/objectweb-asm.spec'], chrootPath='/var/lib/mock/dist-an23-build-270652-64121/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/objectweb-asm.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 setting SOURCE_DATE_EPOCH=1506297600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DMEFO6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf asm-6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/asm-6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd asm-6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Revert-removal-of-asm-all.patch):' Patch #1 (0001-Revert-removal-of-asm-all.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file archive/asm-all.bnd patching file archive/asm-all.pom patching file archive/asm-all.xml patching file archive/asm-debug-all.bnd patching file archive/asm-debug-all.pom patching file archive/asm-debug-all.xml patching file build.xml + find -name '*.jar' -delete + sed -i /Class-Path/d archive/asm-all.bnd archive/asm-analysis.bnd archive/asm-commons.bnd archive/asm-debug-all.bnd archive/asm-tree.bnd archive/asm-util.bnd archive/asm-xml.bnd archive/asm.bnd + sed -i 's/Import-Package:/&org.objectweb.asm,org.objectweb.asm.util,/' archive/asm-xml.bnd ++ build-classpath aqute-bnd slf4j/api slf4j/simple osgi-core osgi-compendium + sed -i 's|${config}/biz.aQute.bnd.jar|/usr/share/java/aqute-bnd/biz.aQute.bnd.ant.jar:/usr/share/java/aqute-bnd/biz.aQute.bnd.jar:/usr/share/java/aqute-bnd/biz.aQute.bnd.util.jar:/usr/share/java/aqute-bnd/aQute.libg.jar:/usr/share/java/aqute-bnd/biz.aQute.bnd.annotation.jar:/usr/share/java/aqute-bnd/biz.aQute.bndlib.jar:/usr/share/java/slf4j/api.jar:/usr/share/java/slf4j/simple.jar:/usr/share/java/osgi-core/osgi.core.jar:/usr/share/java/osgi-compendium/osgi.cmpn.jar|' archive/asm-all.xml archive/asm-analysis.xml archive/asm-commons.xml archive/asm-debug-all.xml archive/asm-parent.xml archive/asm-tree.xml archive/asm-util.xml archive/asm-xml.xml archive/asm.xml + sed -i -e '/kind="lib"/d' -e 's|output/eclipse|output/build|' .classpath + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lE14fs + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd asm-6.0 + JAVA_HOME=/usr/lib/jvm/java-17-openjdk + ant -Dobjectweb.ant.tasks.path= -Dbiz.aQute.bnd.path= jar jdoc Buildfile: /builddir/build/BUILD/asm-6.0/build.xml dist.init: [mkdir] Created dir: /builddir/build/BUILD/asm-6.0/output/dist [mkdir] Created dir: /builddir/build/BUILD/asm-6.0/output/dist/doc [mkdir] Created dir: /builddir/build/BUILD/asm-6.0/output/dist/doc/javadoc [mkdir] Created dir: /builddir/build/BUILD/asm-6.0/output/dist/lib dist.version: [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1506297600 properties: check: init: [taskdef] Could not load definitions from resource tasks.properties. It could not be found. [typedef] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be found. compile-init: [mkdir] Created dir: /builddir/build/BUILD/asm-6.0/output/build/tmp compile-debug: [javac] /builddir/build/BUILD/asm-6.0/build.xml:128: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 129 source files to /builddir/build/BUILD/asm-6.0/output/build/tmp [javac] warning: [options] bootstrap class path not set in conjunction with -source 5 [javac] error: Source option 5 is no longer supported. Use 7 or later. [javac] error: Target option 5 is no longer supported. Use 7 or later. BUILD FAILED /builddir/build/BUILD/asm-6.0/build.xml:128: Compile failed; see the compiler error output for details. Total time: 0 seconds error: Bad exit status from /var/tmp/rpm-tmp.lE14fs (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.lE14fs (%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/objectweb-asm.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/objectweb-asm.spec