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 x86_64 --nodeps /builddir/build/SPECS/java-1.8.0-alibaba-dragonwell.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-230568-62415/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/java-1.8.0-alibaba-dragonwell.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/java-1.8.0-alibaba-dragonwell-1.8.0.362-2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/java-1.8.0-alibaba-dragonwell.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-230568-62415/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/java-1.8.0-alibaba-dragonwell.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.w16zj3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dragonwell8-dragonwell-extended-8.14.15_jdk8u362-ga + /usr/bin/mkdir -p dragonwell8-dragonwell-extended-8.14.15_jdk8u362-ga + cd dragonwell8-dragonwell-extended-8.14.15_jdk8u362-ga + /usr/bin/gzip -dc /builddir/build/SOURCES/dragonwell-extended-8.14.15_jdk8u362-ga.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv dragonwell8-dragonwell-extended-8.14.15_jdk8u362-ga dragonwell + chmod +x dragonwell/configure + pushd dragonwell ~/build/BUILD/dragonwell8-dragonwell-extended-8.14.15_jdk8u362-ga/dragonwell ~/build/BUILD/dragonwell8-dragonwell-extended-8.14.15_jdk8u362-ga + cp /builddir/build/SOURCES/config.guess common/autoconf/build-aux/ + cp /builddir/build/SOURCES/config.sub common/autoconf/build-aux/ Patch #2001 (0001-resolve-rsocket.patch): + echo 'Patch #2001 (0001-resolve-rsocket.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/src/solaris/native/sun/nio/ch/rdma/Rsocket.c patching file jdk/src/solaris/native/sun/nio/ch/rdma/Rsocket.h patch unexpectedly ends in middle of line Patch #201 (jdk8043805-allow_using_system_installed_libjpeg.patch): + echo 'Patch #201 (jdk8043805-allow_using_system_installed_libjpeg.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file common/autoconf/libraries.m4 Hunk #1 succeeded at 775 (offset 174 lines). patching file jdk/make/lib/Awt2dLibraries.gmk Hunk #1 succeeded at 703 (offset 10 lines). Hunk #2 succeeded at 728 (offset 10 lines). Hunk #3 succeeded at 1139 (offset 11 lines). Hunk #4 succeeded at 1149 (offset 11 lines). Hunk #5 succeeded at 1212 (offset 12 lines). patching file jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java patching file jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java Hunk #1 succeeded at 177 (offset -2 lines). patching file jdk/src/share/classes/sun/awt/image/JPEGImageDecoder.java patching file jdk/src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c Hunk #2 succeeded at 112 (offset 6 lines). Patch #202 (jdk8035341-allow_using_system_installed_libpng.patch): + echo 'Patch #202 (jdk8035341-allow_using_system_installed_libpng.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file common/autoconf/libraries.m4 Hunk #1 succeeded at 850 (offset 174 lines). patching file common/autoconf/spec.gmk.in Hunk #1 succeeded at 604 (offset 56 lines). patching file jdk/make/lib/Awt2dLibraries.gmk Hunk #1 succeeded at 1139 (offset -44 lines). Hunk #2 succeeded at 1155 (offset -44 lines). Hunk #3 succeeded at 1219 (offset -50 lines). patching file jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c Patch #203 (jdk8042159-allow_using_system_installed_lcms2-root.patch): + echo 'Patch #203 (jdk8042159-allow_using_system_installed_lcms2-root.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file common/autoconf/libraries.m4 Hunk #1 succeeded at 850 (offset 174 lines). Patch #204 (jdk8042159-allow_using_system_installed_lcms2-jdk.patch): + echo 'Patch #204 (jdk8042159-allow_using_system_installed_lcms2-jdk.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/make/lib/Awt2dLibraries.gmk patching file jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c Patch #400 (pr3183-rh1340845-support_fedora_rhel_system_crypto_policy.patch): + echo 'Patch #400 (pr3183-rh1340845-support_fedora_rhel_system_crypto_policy.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/src/share/classes/java/security/Security.java patching file jdk/src/share/lib/security/java.security-aix Hunk #1 succeeded at 288 (offset 12 lines). patching file jdk/src/share/lib/security/java.security-linux Hunk #1 succeeded at 288 (offset 12 lines). patching file jdk/src/share/lib/security/java.security-macosx Hunk #1 succeeded at 291 (offset 12 lines). patching file jdk/src/share/lib/security/java.security-solaris Hunk #1 succeeded at 289 (offset 11 lines). patching file jdk/src/share/lib/security/java.security-windows Hunk #1 succeeded at 291 (offset 12 lines). Patch #401 (pr3655-toggle_system_crypto_policy.patch): + echo 'Patch #401 (pr3655-toggle_system_crypto_policy.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/src/share/classes/java/security/Security.java Patch #5 (pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch): + echo 'Patch #5 (pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/src/share/classes/sun/security/pkcs11/Config.java Hunk #1 succeeded at 53 (offset 1 line). Hunk #2 succeeded at 1003 (offset 22 lines). patching file jdk/src/share/classes/sun/security/pkcs11/SunPKCS11.java Patch #105 (jdk8199936-pr3533-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x.patch): + echo 'Patch #105 (jdk8199936-pr3533-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file common/autoconf/flags.m4 Hunk #1 succeeded at 445 (offset 43 lines). patching file common/autoconf/hotspot-spec.gmk.in patching file common/autoconf/spec.gmk.in Patch #502 (pr2462-resolve_disabled_warnings_for_libunpack_and_the_unpack200_binary.patch): + echo 'Patch #502 (pr2462-resolve_disabled_warnings_for_libunpack_and_the_unpack200_binary.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/src/share/native/com/sun/java/util/jar/pack/bytes.h patching file jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp patching file jdk/src/share/native/com/sun/java/util/jar/pack/main.cpp patching file jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp Hunk #1 succeeded at 225 (offset 3 lines). Hunk #2 succeeded at 718 (offset 3 lines). Hunk #3 succeeded at 738 (offset 3 lines). Hunk #4 succeeded at 961 (offset 3 lines). Hunk #5 succeeded at 985 (offset 3 lines). Hunk #6 succeeded at 3682 (offset 4 lines). Hunk #7 succeeded at 3717 (offset 4 lines). patching file jdk/src/share/native/com/sun/java/util/jar/pack/unpack.h patching file jdk/src/share/native/com/sun/java/util/jar/pack/utils.cpp patching file jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp patching file jdk/src/share/native/com/sun/java/util/jar/pack/zip.h Patch #504 (rh1163501-increase_2048_bit_dh_upper_bound_fedora_infrastructure_in_dhparametergenerator.patch): + echo 'Patch #504 (rh1163501-increase_2048_bit_dh_upper_bound_fedora_infrastructure_in_dhparametergenerator.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/src/share/classes/com/sun/crypto/provider/DHParameterGenerator.java patching file jdk/test/com/sun/crypto/provider/KeyAgreement/TestExponentSize.java Patch #512 (rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch): + echo 'Patch #512 (rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/make/lib/Awt2dLibraries.gmk Hunk #1 succeeded at 920 (offset 29 lines). Patch #523 (pr2974-rh1337583-add_systemlineendings_option_to_keytool_and_use_line_separator_instead_of_crlf_in_pkcs10.patch): + echo 'Patch #523 (pr2974-rh1337583-add_systemlineendings_option_to_keytool_and_use_line_separator_instead_of_crlf_in_pkcs10.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/src/share/classes/sun/security/pkcs10/PKCS10.java patching file jdk/src/share/classes/sun/security/tools/keytool/Main.java Hunk #1 succeeded at 131 (offset 5 lines). Hunk #2 succeeded at 199 (offset 10 lines). Hunk #3 succeeded at 332 (offset 10 lines). Hunk #4 succeeded at 573 (offset 10 lines). Hunk #5 succeeded at 1492 (offset 24 lines). Hunk #6 succeeded at 4613 (offset 65 lines). patching file jdk/src/share/classes/sun/security/tools/keytool/Resources.java Patch #528 (pr3083-rh1346460-for_ssl_debug_return_null_instead_of_exception_when_theres_no_ecc_provider.patch): + echo 'Patch #528 (pr3083-rh1346460-for_ssl_debug_return_null_instead_of_exception_when_theres_no_ecc_provider.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/src/share/classes/sun/security/ec/ECKeyPairGenerator.java Hunk #1 succeeded at 120 (offset -1 lines). patching file jdk/src/share/classes/sun/security/util/Debug.java patching file jdk/src/share/classes/sun/security/util/ECUtil.java Patch #571 (jdk8199936-pr3591-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x_jdk.patch): + echo 'Patch #571 (jdk8199936-pr3591-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x_jdk.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file common/autoconf/flags.m4 Hunk #1 succeeded at 457 (offset 56 lines). Patch #574 (jdk8143245-pr3548-zero_build_requires_disabled_warnings.patch): + echo 'Patch #574 (jdk8143245-pr3548-zero_build_requires_disabled_warnings.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file hotspot/make/linux/makefiles/zeroshark.make patching file hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp patching file hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp patching file hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp patching file hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp Patch #111 (jdk8218811-perfMemory_linux.patch): + echo 'Patch #111 (jdk8218811-perfMemory_linux.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file hotspot/src/os/linux/vm/perfMemory_linux.cpp Patch #112 (jdk8281098-pr3836-pass_compiler_flags_to_adlc.patch): + echo 'Patch #112 (jdk8281098-pr3836-pass_compiler_flags_to_adlc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file hotspot/make/aix/makefiles/adlc.make patching file hotspot/make/bsd/makefiles/adlc.make patching file hotspot/make/linux/makefiles/adlc.make patching file hotspot/make/solaris/makefiles/adlc.make Hunk #1 succeeded at 83 (offset -2 lines). Patch #580 (jdk8195607-pr3776-rh1760437-nss_sqlite_db_config.patch): + echo 'Patch #580 (jdk8195607-pr3776-rh1760437-nss_sqlite_db_config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jdk/src/share/classes/sun/security/pkcs11/Secmod.java Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file jdk/src/share/classes/sun/security/pkcs11/Secmod.java.rej patching file jdk/src/share/native/sun/security/pkcs11/j2secmod.c Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 4 out of 4 hunks ignored -- saving rejects to file jdk/src/share/native/sun/security/pkcs11/j2secmod.c.rej patching file jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.h.rej The next patch would create the file jdk/test/sun/security/pkcs11/Secmod/pkcs11.txt, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored patching file jdk/test/sun/security/pkcs11/SecmodTest.java Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file jdk/test/sun/security/pkcs11/SecmodTest.java.rej RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.w16zj3 (%prep) Bad exit status from /var/tmp/rpm-tmp.w16zj3 (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/java-1.8.0-alibaba-dragonwell.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 x86_64 --nodeps /builddir/build/SPECS/java-1.8.0-alibaba-dragonwell.spec