Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an23-build-543455-86296/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.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 setting SOURCE_DATE_EPOCH=1782086400 Wrote: /builddir/build/SRPMS/java-21-openjdk-portable-21.0.9.0.10-2.an23.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-21-openjdk-portable.spec'], chrootPath='/var/lib/mock/dist-an23-build-543455-86296/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/java-21-openjdk-portable.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 setting SOURCE_DATE_EPOCH=1782086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wFgKe4 + umask 022 + cd /builddir/build/BUILD Preparing (Alinux-21.0.9.0.10-2) System is Alinux=4 Build JDK version is 21, bootstrap JDK package is java-21-openjdk-devel-fastdebug CPU: x86_64, arch install directory: amd64, SystemTap install directory: x86_64 include_normal_build is 1 include_debug_build is 0 include_fastdebug_build is 0 + echo 'Preparing (Alinux-21.0.9.0.10-2)' + echo 'System is Alinux=4' + echo 'Build JDK version is 21, bootstrap JDK package is java-21-openjdk-devel-fastdebug' + echo 'CPU: x86_64, arch install directory: amd64, SystemTap install directory: x86_64' + '[' 1 -eq 0 -o 1 -eq 1 ']' + echo 'include_normal_build is 1' + '[' 0 -eq 0 -o 0 -eq 1 ']' + echo 'include_debug_build is 0' + '[' 0 -eq 0 -o 0 -eq 1 ']' + echo 'include_fastdebug_build is 0' + '[' 0 -eq 0 -a 1 -eq 0 -a 0 -eq 0 ']' + export XZ_OPT=-T0 + XZ_OPT=-T0 + cd /builddir/build/BUILD + rm -rf java-21-openjdk-21.0.9.0.10-2.an23.x86_64 + /usr/bin/mkdir -p java-21-openjdk-21.0.9.0.10-2.an23.x86_64 + cd java-21-openjdk-21.0.9.0.10-2.an23.x86_64 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openjdk-21.0.9+10.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ expr length 00000001 + prioritylength=8 ~/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64/jdk-21.0.9+10 ~/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64 Patch #1001 (fips-21u-9203d50836c.patch): + '[' 8 -ne 8 ']' + pushd jdk-21.0.9+10 + echo 'Patch #1001 (fips-21u-9203d50836c.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file make/autoconf/build-aux/pkg.m4 patching file make/autoconf/lib-sysconf.m4 patching file make/autoconf/libraries.m4 patching file make/autoconf/spec.gmk.in Hunk #1 succeeded at 822 (offset -51 lines). patching file make/modules/java.base/Gendata.gmk patching file make/modules/java.base/Lib.gmk patching file src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java patching file src/java.base/share/classes/java/security/Security.java patching file src/java.base/share/classes/java/security/SystemConfigurator.java patching file src/java.base/share/classes/jdk/internal/access/JavaSecuritySystemConfiguratorAccess.java patching file src/java.base/share/classes/jdk/internal/access/SharedSecrets.java patching file src/java.base/share/classes/module-info.java patching file src/java.base/share/classes/sun/security/provider/SunEntries.java patching file src/java.base/share/classes/sun/security/rsa/SunRsaSignEntries.java patching file src/java.base/share/conf/security/java.security patching file src/java.base/share/conf/security/nss.fips.cfg.in patching file src/java.base/share/lib/security/default.policy patching file src/java.base/share/native/libsystemconf/systemconf.c patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSKeyImporter.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/FIPSTokenLoginHandler.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java Hunk #5 succeeded at 1671 (offset 26 lines). patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11.java patching file src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java patching file src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java patching file test/jdk/sun/security/pkcs11/fips/NssdbPin.java patching file test/jdk/sun/security/pkcs11/fips/VerifyMissingAttributes.java + popd ~/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64 Generating alt-java man page + echo 'Generating alt-java man page' + altjavamanpage=jdk-21.0.9+10/src/java.base/share/man/alt-java.md + altjavatext='Hardened java binary recommended for launching untrusted code from the Web e.g. javaws' + sed -r -e 's|([^/.])java([^./])|\1alt-java\2|g' jdk-21.0.9+10/src/java.base/share/man/java.md + sed -e 's|JAVA(|ALT-JAVA(|' + sed -e 's|java - launch a Java application|alt-java - Hardened java binary recommended for launching untrusted code from the Web e.g. javaws|' sed: can't read jdk-21.0.9+10/src/java.base/share/man/java.md: No such file or directory ++ pwd + VERSION_FILE=/builddir/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64/jdk-21.0.9+10/make/conf/version-numbers.conf + '[' -f /builddir/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64/jdk-21.0.9+10/make/conf/version-numbers.conf ']' ++ grep '^DEFAULT_PROMOTED_VERSION_PRE' /builddir/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64/jdk-21.0.9+10/make/conf/version-numbers.conf ++ cut -d = -f 2 + UPSTREAM_EA_DESIGNATOR= No devkit for x86_64 on Alinux 4 + '[' x '!=' x ']' + echo 'No devkit for x86_64 on Alinux 4' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.n1AUqV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd java-21-openjdk-21.0.9.0.10-2.an23.x86_64 + export NUM_PROC=80 + NUM_PROC=80 + export NUM_PROC=80 + NUM_PROC=80 + export XZ_OPT=-T0 + XZ_OPT=-T0 + EXTRA_CFLAGS=' -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + EXTRA_CPP_FLAGS=' -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export EXTRA_CFLAGS EXTRA_CPP_FLAGS ++ pwd + VERSION_FILE=/builddir/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64/jdk-21.0.9+10/make/conf/version-numbers.conf ++ stat --format=%Y /builddir/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64/jdk-21.0.9+10/make/conf/version-numbers.conf + OPENJDK_UPSTREAM_TAG_EPOCH=1760341764 + packFullPatchedSources ++ pwd + srcpackagesdir=/builddir/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64 + createtar /builddir/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64/java-21-openjdk-21.0.9.0.10-2.an23.portable.sources.noarch.tar.xz --transform 's|^|java-21-openjdk-21.0.9.0.10-2.an23.portable.sources.noarch/|' jdk-21.0.9+10 + tar -cJf /builddir/build/BUILD/java-21-openjdk-21.0.9.0.10-2.an23.x86_64/java-21-openjdk-21.0.9.0.10-2.an23.portable.sources.noarch.tar.xz --transform 's|^|java-21-openjdk-21.0.9.0.10-2.an23.portable.sources.noarch/|' jdk-21.0.9+10