Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/java-1.8.0-alibaba-dragonwell.spec'], chrootPath='/var/lib/mock/dist-an23-build-165791-58779/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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 error: %changelog not in descending chronological order Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1661904000 Wrote: /builddir/build/SRPMS/java-1.8.0-alibaba-dragonwell-1.8.0.352-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/java-1.8.0-alibaba-dragonwell.spec'], chrootPath='/var/lib/mock/dist-an23-build-165791-58779/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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 error: %changelog not in descending chronological order Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1661904000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bh8CIb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dragonwell8-dragonwell-extended-8.13.14_jdk8u352-ga + /usr/bin/mkdir -p dragonwell8-dragonwell-extended-8.13.14_jdk8u352-ga + cd dragonwell8-dragonwell-extended-8.13.14_jdk8u352-ga + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dragonwell-extended-8.13.14_jdk8u352-ga.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv dragonwell8-dragonwell-extended-8.13.14_jdk8u352-ga dragonwell + chmod +x dragonwell/configure + pushd dragonwell ~/build/BUILD/dragonwell8-dragonwell-extended-8.13.14_jdk8u352-ga/dragonwell ~/build/BUILD/dragonwell8-dragonwell-extended-8.13.14_jdk8u352-ga + cp /builddir/build/SOURCES/config.guess common/autoconf/build-aux/ + cp /builddir/build/SOURCES/config.sub common/autoconf/build-aux/ + echo 'Patch #2001 (0001-resolve-rsocket.patch):' Patch #2001 (0001-resolve-rsocket.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -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 + echo 'Patch #203 (jdk8042159-allow_using_system_installed_lcms2-root.patch):' Patch #203 (jdk8042159-allow_using_system_installed_lcms2-root.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -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 -f -p1 --fuzz=0 patching file jdk/src/share/classes/java/security/Security.java + echo 'Patch #5 (pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch):' Patch #5 (pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -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 + echo 'Patch #504 (rh1163501-increase_2048_bit_dh_upper_bound_fedora_infrastructure_in_dhparametergenerator.patch):' Patch #504 (rh1163501-increase_2048_bit_dh_upper_bound_fedora_infrastructure_in_dhparametergenerator.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -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 -f -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 -f -p1 --fuzz=0 patching file common/autoconf/flags.m4 Hunk #1 succeeded at 457 (offset 56 lines). + echo 'Patch #574 (jdk8143245-pr3548-zero_build_requires_disabled_warnings.patch):' Patch #574 (jdk8143245-pr3548-zero_build_requires_disabled_warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -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 -f -p1 --fuzz=0 patching file jdk/src/share/classes/sun/security/pkcs11/Secmod.java Hunk #1 succeeded at 206 (offset 9 lines). patching file jdk/src/share/native/sun/security/pkcs11/j2secmod.c patching file jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.h patching file jdk/test/sun/security/pkcs11/Secmod/pkcs11.txt patching file jdk/test/sun/security/pkcs11/SecmodTest.java + echo 'Patch #581 (jdk8257794-remove_broken_assert.patch):' Patch #581 (jdk8257794-remove_broken_assert.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp Patch #582 (jdk8282231-x86_32-missing_call_effects.patch): + echo 'Patch #582 (jdk8282231-x86_32-missing_call_effects.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file hotspot/src/cpu/x86/vm/x86_32.ad Patch #539 (pr2888-openjdk_should_check_for_system_cacerts_database_eg_etc_pki_java_cacerts.patch): + echo 'Patch #539 (pr2888-openjdk_should_check_for_system_cacerts_database_eg_etc_pki_java_cacerts.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/src/share/classes/sun/security/ssl/TrustStoreManager.java Hunk #1 succeeded at 68 (offset -4 lines). Hunk #2 succeeded at 79 (offset -4 lines). Hunk #3 succeeded at 148 (offset -2 lines). patching file jdk/src/share/classes/sun/security/tools/KeyStoreUtil.java Hunk #1 succeeded at 103 (offset -5 lines). Patch #600 (rh1750419-redhat_alt_java.patch): + echo 'Patch #600 (rh1750419-redhat_alt_java.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/make/CompileLaunchers.gmk patching file jdk/src/share/bin/alt_main.h patching file jdk/src/share/bin/main.c + echo 'Patch #1000 (rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch):' Patch #1000 (rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/src/share/lib/security/java.security-linux Patch #1001 (rh1655466-global_crypto_and_fips.patch): + echo 'Patch #1001 (rh1655466-global_crypto_and_fips.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/src/share/classes/java/security/Security.java patching file jdk/src/share/classes/java/security/SystemConfigurator.java patching file jdk/src/share/lib/security/java.security-linux Patch #1002 (rh1760838-fips_default_keystore_type.patch): + echo 'Patch #1002 (rh1760838-fips_default_keystore_type.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/src/share/classes/java/security/SystemConfigurator.java patching file jdk/src/share/lib/security/java.security-linux Hunk #1 succeeded at 180 (offset 1 line). Patch #1003 (rh1582504-rsa_default_for_keytool.patch): + echo 'Patch #1003 (rh1582504-rsa_default_for_keytool.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/src/share/classes/sun/security/tools/keytool/Main.java Hunk #1 succeeded at 1034 (offset 30 lines). Patch #1004 (rh1860986-disable_tlsv1.3_in_fips_mode.patch): + echo 'Patch #1004 (rh1860986-disable_tlsv1.3_in_fips_mode.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jdk/src/share/classes/java/security/SystemConfigurator.java Hunk #2 succeeded at 37 (offset 1 line). Hunk #3 succeeded at 50 (offset 1 line). Hunk #4 succeeded at 64 (offset 1 line). Hunk #5 succeeded at 132 (offset 1 line). Hunk #6 succeeded at 148 (offset 1 line). Hunk #7 succeeded at 165 (offset -4 lines). patching file jdk/src/share/classes/sun/misc/JavaSecuritySystemConfiguratorAccess.java patching file jdk/src/share/classes/sun/security/ssl/SSLContextImpl.java /usr/bin/patch: **** malformed patch at line 229: ProtocolVersion.TLS13, error: Bad exit status from /var/tmp/rpm-tmp.bh8CIb (%prep) RPM build errors: %changelog not in descending chronological order Bad exit status from /var/tmp/rpm-tmp.bh8CIb (%prep) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/java-1.8.0-alibaba-dragonwell.spec