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 loongarch64 --nodeps /builddir/build/SPECS/java-11-konajdk.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-293962-28490/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=983gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kyql_5rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kyql_5rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '136dfba0cc534c52b3a174485f76ac39', '-D', '/home/lib/mock/dist-ocs23-base-build-293962-28490/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kyql_5rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/java-11-konajdk.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/java-11-konajdk-11.0.23-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/java-11-konajdk.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-293962-28490/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=983gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kyql_5rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kyql_5rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '997ccdd68e48472d8d2ddf2c6120c583', '-D', '/home/lib/mock/dist-ocs23-base-build-293962-28490/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kyql_5rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/java-11-konajdk.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8rp9tn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf TencentKona-11-kona11.0.23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kona11.0.23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd TencentKona-11-kona11.0.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod +x configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lcxWgP + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 TencentKona-11-kona11.0.23 + export '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error -Wno-error=maybe-uninitialized' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error -Wno-error=maybe-uninitialized' + export '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=maybe-uninitialized' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=maybe-uninitialized' + export 'EXTRA_ASFLAGS= -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error -Wno-error=maybe-uninitialized -Wa,--generate-missing-build-notes=yes' + EXTRA_ASFLAGS=' -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error -Wno-error=maybe-uninitialized -Wa,--generate-missing-build-notes=yes' + mkdir -p release + pushd release ~/build/BUILD/TencentKona-11-kona11.0.23/release ~/build/BUILD/TencentKona-11-kona11.0.23 + bash ../configure '--with-vendor-name=Tencent Company' --with-native-debug-symbols=internal --with-vendor-url=https://github.com/Tencent/TencentKona-11 --with-vendor-bug-url=https://github.com/Tencent/TencentKona-11/issues --with-vendor-vm-bug-url=https://github.com/Tencent/TencentKona-11/issues --with-boot-jdk=/usr/lib/jvm/java --with-debug-level=release --enable-unlimited-crypto --with-zlib=system --with-giflib=system '--with-extra-cxxflags= -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=maybe-uninitialized' '--with-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error -Wno-error=maybe-uninitialized' '--with-extra-asflags= -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error -Wno-error=maybe-uninitialized -Wa,--generate-missing-build-notes=yes' '--with-extra-ldflags=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' --with-jvm-features=-zgc --with-libjpeg=system --with-libpng=system --with-lcms=system --with-version-pre=ga --without-version-opt --with-vendor-version-string=TencentKonaJDK --disable-javac-server --disable-warnings-as-errors --with-version-build=1 Runnable configure script is not present Generating runnable configure script at /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/configure-support/generated-configure.sh Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.71] configure: Configuration created at Sat Sep 28 23:34:55 CST 2024. checking for basename... /usr/bin/basename checking for dirname... /usr/bin/dirname checking for file... /usr/bin/file checking for ldd... /usr/bin/ldd checking for echo... echo [builtin] checking for tr... /usr/bin/tr checking for uname... /usr/bin/uname checking for wc... /usr/bin/wc checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cygpath... [not found] checking for wslpath... [not found] checking for cmd.exe... [not found] checking build system type... guessed by custom config.guess... loongarch64-unknown-linux-gnu checking host system type... loongarch64-unknown-linux-gnu checking target system type... loongarch64-unknown-linux-gnu checking openjdk-build os-cpu... linux-loongarch64 checking openjdk-build C library... gnu checking openjdk-target os-cpu... linux-loongarch64 checking openjdk-target C library... gnu checking compilation type... native checking for top-level directory... /builddir/build/BUILD/TencentKona-11-kona11.0.23 checking for bash... /usr/bin/bash checking for cat... /usr/bin/cat checking for chmod... /usr/bin/chmod checking for cp... /usr/bin/cp checking for cut... /usr/bin/cut checking for date... /usr/bin/date checking for gdiff... [not found] checking for diff... /usr/bin/diff checking for expr... /usr/bin/expr checking for find... /usr/bin/find checking for gunzip... /usr/bin/gunzip checking for pigz... [not found] checking for gzip... /usr/bin/gzip checking for head... /usr/bin/head checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for gmkdir... [not found] checking for mkdir... /usr/bin/mkdir checking for mktemp... /usr/bin/mktemp checking for mv... /usr/bin/mv checking for nawk... [not found] checking for gawk... /usr/bin/gawk checking for printf... printf [builtin] checking for rm... /usr/bin/rm checking for rmdir... /usr/bin/rmdir checking for sh... /usr/bin/sh checking for sort... /usr/bin/sort checking for tail... /usr/bin/tail checking for gtar... /usr/bin/gtar checking for tee... /usr/bin/tee checking for touch... /usr/bin/touch checking for which... /usr/bin/which checking for xargs... /usr/bin/xargs checking for gawk... gawk checking for fgrep... /usr/bin/grep -F checking for df... /usr/bin/df checking for nice... /usr/bin/nice checking for greadlink... [not found] checking for readlink... /usr/bin/readlink checking for lsb_release... [not found] checking for cmp... /usr/bin/cmp checking for uniq... /usr/bin/uniq checking if custom source is suppressed (openjdk-only)... no checking which variant of the JDK to build... normal checking which debug level to use... release checking which variants of the JVM to build... server checking if absolute paths should be allowed in the build output... no, release build checking for sysroot... checking for toolchain path... checking for extra path... checking where to store configuration... in current directory checking what configuration name to use... /builddir/build/BUILD/TencentKona-11-kona11.0.23/release checking for apt-get... [not found] checking for yum... [not found] checking for brew... [not found] checking for port... [not found] checking for pkgutil... [not found] checking for pkgadd... [not found] checking for pacman... [not found] checking for apk... [not found] checking for pandoc... [not found] checking for gmake... /usr/bin/gmake configure: Testing potential make at /usr/bin/gmake, found using gmake in PATH configure: Using GNU make at /usr/bin/gmake (version: GNU Make 4.4.1) checking if make --output-sync is supported... yes checking for make --output-sync value... none, default checking if find supports -delete... yes checking what type of tar was found... gnu checking that grep (/usr/bin/grep) -Fx handles empty lines in the pattern list correctly... yes checking for unzip... /usr/bin/unzip checking for zip... /usr/bin/zip checking for greadelf... [not found] checking for readelf... /usr/bin/readelf checking for dot... [not found] checking for hg... [not found] checking for git... [not found] checking for stat... /usr/bin/stat checking for time... time [builtin] checking for flock... /usr/bin/flock checking for dtrace... [not found] checking for gpatch... [not found] checking for patch... /usr/bin/patch checking for ulimit... ulimit [builtin] checking bash version... 5.2.15 checking if bash supports pipefail... yes checking if bash supports errexit (-e)... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for default LOG value... checking headless only... no checking for graphviz dot... no, cannot generate full docs checking for pandoc... no, cannot generate full docs checking full docs... no, missing dependencies checking for cacerts file... default checking if packaged modules are kept... yes (default) checking for version string... 11.0.23-ga+1 configure: Found potential Boot JDK using configure arguments checking for Boot JDK... /usr/lib/jvm/java checking Boot JDK version... openjdk version "11.0.22-ga" 2024-01-16 OpenJDK Runtime Environment TencentKonaJDK (build 11.0.22-ga+1) OpenJDK 64-Bit Server VM TencentKonaJDK (build 11.0.22-ga+1, mixed mode) checking for java [Boot JDK]... $BOOT_JDK/bin/java checking for javac [Boot JDK]... $BOOT_JDK/bin/javac checking for javadoc [Boot JDK]... $BOOT_JDK/bin/javadoc checking for jar [Boot JDK]... $BOOT_JDK/bin/jar checking if Boot JDK is 32 or 64 bits... 64 checking for local Boot JDK Class Data Sharing (CDS)... yes, created checking for Build JDK... yes, will use output dir configure: Using default toolchain gcc (GNU Compiler Collection) configure: WARNING: Ignoring 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection) found in environment. Use --with-extra-cflags configure: WARNING: Ignoring 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection) found in environment. Use --with-extra-cxxflags configure: WARNING: Ignoring LDFLAGS(-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1) found in environment. Use --with-extra-ldflags configure: Will use user supplied compiler CC=gcc checking for gcc... /usr/bin/gcc checking resolved symbolic links for CC... no symlink configure: Using gcc C compiler version 12.3.1.2 [gcc (Tencent Compiler 12.3.1.2) 12.3.1 20230912 (OpenCloudOS 12.3.1.2-6)] checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to enable C11 features... none needed configure: Will use user supplied compiler CXX=g++ checking for g++... /usr/bin/g++ checking resolved symbolic links for CXX... no symlink configure: Using gcc C++ compiler version 12.3.1.2 [g++ (Tencent Compiler 12.3.1.2) 12.3.1 20230912 (OpenCloudOS 12.3.1.2-6)] checking whether the compiler supports GNU C++... yes checking whether /usr/bin/g++ accepts -g... yes checking for /usr/bin/g++ option to enable C++11 features... none needed checking how to run the C preprocessor... /usr/bin/gcc -E checking how to run the C++ preprocessor... /usr/bin/g++ -E checking for ld... /usr/bin/ld configure: Using gcc linker version 2.41 [GNU ld (GNU Binutils) 2.41] checking for ar... /usr/bin/ar checking for strip... /usr/bin/strip checking for nm... /usr/bin/nm checking for gobjcopy... [not found] checking for objcopy... /usr/bin/objcopy checking for gobjdump... [not found] checking for objdump... /usr/bin/objdump checking for c++filt... /usr/bin/c++filt checking for jtreg... [not found] checking for jtreg test harness... no, not found checking for jib... no checking if @file is supported by gcc... yes checking if CC supports "-m64"... no checking if CXX supports "-m64"... no checking if both CC and CXX support "-m64"... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for stdio.h... (cached) yes checking size of int *... 8 checking for target address size... 64 bits checking whether byte ordering is bigendian... no checking what source date to use... determined at build time, from 'updated' checking for --enable-reproducible-build... disabled, default checking if native warnings are errors... no (explicitly set) checking if CC supports "-Xassembler -mrelax-relocations=no"... no checking if CXX supports "-Xassembler -mrelax-relocations=no"... no checking if both CC and CXX support "-Xassembler -mrelax-relocations=no"... no checking for library containing clock_gettime... none required checking if TARGET is x86... no checking if CXX supports "-std=gnu++98 -Werror"... yes checking if CC supports "-fno-delete-null-pointer-checks -Werror"... yes checking if CXX supports "-fno-delete-null-pointer-checks -Werror"... yes checking if both CC and CXX support "-fno-delete-null-pointer-checks -Werror"... yes checking if CC supports "-fno-lifetime-dse -Werror"... yes checking if CXX supports "-fno-lifetime-dse -Werror"... yes checking if both CC and CXX support "-fno-lifetime-dse -Werror"... yes checking if CC supports "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-11-kona11.0.23/="... yes checking if CXX supports "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-11-kona11.0.23/="... yes checking if both CC and CXX support "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-11-kona11.0.23/="... yes checking how to prevent absolute paths in output... using compiler options checking if CC supports "-ffp-contract=off"... yes checking if CXX supports "-ffp-contract=off"... yes checking if both CC and CXX support "-ffp-contract=off"... yes checking if BUILD is x86... no checking if BUILD_CXX supports "-std=gnu++98 -Werror"... yes checking if BUILD_CC supports "-fno-delete-null-pointer-checks -Werror"... yes checking if BUILD_CXX supports "-fno-delete-null-pointer-checks -Werror"... yes checking if both BUILD_CC and BUILD_CXX support "-fno-delete-null-pointer-checks -Werror"... yes checking if BUILD_CC supports "-fno-lifetime-dse -Werror"... yes checking if BUILD_CXX supports "-fno-lifetime-dse -Werror"... yes checking if both BUILD_CC and BUILD_CXX support "-fno-lifetime-dse -Werror"... yes checking if BUILD_CC supports "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-11-kona11.0.23/="... yes checking if BUILD_CXX supports "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-11-kona11.0.23/="... yes checking if both BUILD_CC and BUILD_CXX support "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-11-kona11.0.23/="... yes checking how to prevent absolute paths in output... using compiler options checking if BUILD_CC supports "-ffp-contract=off"... yes checking if BUILD_CXX supports "-ffp-contract=off"... yes checking if both BUILD_CC and BUILD_CXX support "-ffp-contract=off"... yes checking what type of native debug symbols to use... internal checking if we should add external native debug symbols to the shipped bundles... no checking for dtrace tool and platform support... not found, cannot build dtrace checking for sys/sdt.h... no checking if dtrace should be built... no, missing dependencies checking if Hotspot gtest unit tests should be built... yes checking if static link of stdc++ is possible... no checking how to link with libstdc++... dynamic checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for X11/extensions/shape.h... yes checking for X11/extensions/Xrender.h... yes checking for X11/extensions/XTest.h... yes checking for X11/Intrinsic.h... yes checking for X11/extensions/Xrandr.h... yes checking if XlinearGradient is defined in Xrender.h... yes checking for cups/cups.h... yes checking for cups/ppd.h... yes checking for fontconfig/fontconfig.h... yes checking for FREETYPE... yes checking for freetype... yes (using pkg-config) Using freetype: system checking for ALSA... yes checking for which libjpeg to use... system checking for jpeglib.h... yes checking for jpeg_CreateDecompress in -ljpeg... yes checking for which giflib to use... system checking for gif_lib.h... yes checking for DGifGetCode in -lgif... yes checking for PNG... yes checking for which libpng to use... system checking for compress in -lz... yes checking for which zlib to use... system checking for which lcms to use... system checking for LCMS... yes checking for which harfbuzz to use... bundled checking for cos in -lm... yes checking for dlopen in -ldl... yes checking user specified JVM feature list... checking if shenandoah can be built... checking if zgc can be built... no, platform not supported checking if jvmci module jdk.internal.vm.ci should be built... no checking if graal module jdk.internal.vm.compiler should be built... no checking if aot should be enabled... no checking if cds should be enabled... yes checking if elliptic curve crypto implementation is present... yes checking if jtreg failure handler should be built... no, missing jtreg checking if the CDS classlist generation should be enabled... yes checking if any translations should be excluded... no checking if man pages should be built... yes checking for number of cores... 32 checking for memory size... 130178 MB checking for appropriate number of jobs to run in parallel... 32 checking flags for boot jdk java command ... -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/builddir/build/BUILD/TencentKona-11-kona11.0.23/release/configure-support/classes.jsa -Xshare:auto checking flags for boot jdk java command for big workloads... -Xms64M -Xmx1600M -XX:ThreadStackSize=1536 checking flags for bootcycle boot jdk java command for big workloads... -Xms64M -Xmx1600M -XX:ThreadStackSize=1536 checking flags for boot jdk java command for small workloads... -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1 checking whether to use sjavac... no checking whether to use javac server... no checking If precompiled header is enabled... yes checking that precompiled headers work... yes checking is ccache enabled... no checking if build directory is on local disk... yes checking JVM features for JVM variant 'server'... "cds cmsgc compiler1 compiler2 epsilongc g1gc jfr jni-check jvmti management nmt parallelgc serialgc services vm-structs" configure: creating /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/configure-support/config.status config.status: creating /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/spec.gmk config.status: creating /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/bootcycle-spec.gmk config.status: creating /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/buildjdk-spec.gmk config.status: creating /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/compare.sh config.status: creating /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/Makefile ==================================================== A new configuration has been successfully created in /builddir/build/BUILD/TencentKona-11-kona11.0.23/release using configure arguments '--with-vendor-name='Tencent Company' --with-native-debug-symbols=internal --with-vendor-url=https://github.com/Tencent/TencentKona-11 --with-vendor-bug-url=https://github.com/Tencent/TencentKona-11/issues --with-vendor-vm-bug-url=https://github.com/Tencent/TencentKona-11/issues --with-boot-jdk=/usr/lib/jvm/java --with-debug-level=release --enable-unlimited-crypto --with-zlib=system --with-giflib=system --with-extra-cxxflags=' -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=maybe-uninitialized' --with-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error -Wno-error=maybe-uninitialized' --with-extra-asflags=' -g -grecord-gcc-switches -pipe -Wformat -Wno-cpp -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error -Wno-error=maybe-uninitialized -Wa,--generate-missing-build-notes=yes' --with-extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' --with-jvm-features=-zgc --with-libjpeg=system --with-libpng=system --with-lcms=system --with-version-pre=ga --without-version-opt --with-vendor-version-string=TencentKonaJDK --disable-javac-server --disable-warnings-as-errors --with-version-build=1'. Configuration summary: * Debug level: release * HS debug level: product * JVM variants: server * JVM features: server: 'cds cmsgc compiler1 compiler2 epsilongc g1gc jfr jni-check jvmti management nmt parallelgc serialgc services vm-structs' * OpenJDK target: OS: linux, CPU architecture: loongarch, address length: 64 * Version string: 11.0.23-ga+1 (11.0.23-ga) Tools summary: * Boot JDK: openjdk version "11.0.22-ga" 2024-01-16 OpenJDK Runtime Environment TencentKonaJDK (build 11.0.22-ga+1) OpenJDK 64-Bit Server VM TencentKonaJDK (build 11.0.22-ga+1, mixed mode) (at /usr/lib/jvm/java) * Toolchain: gcc (GNU Compiler Collection) * C Compiler: Version 12.3.1.2 (at /usr/bin/gcc) * C++ Compiler: Version 12.3.1.2 (at /usr/bin/g++) Build performance summary: * Cores to use: 32 * Memory limit: 130178 MB The following warnings were produced. Repeated here for convenience: WARNING: Ignoring 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection) found in environment. Use --with-extra-cflags WARNING: Ignoring 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection) found in environment. Use --with-extra-cxxflags WARNING: Ignoring LDFLAGS(-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1) found in environment. Use --with-extra-ldflags + make WARNINGS_ARE_ERRORS=-Wno-error CFLAGS_WARNINGS_ARE_ERRORS=-Wno-error images docs-zip Note: Command line contains non-control variables: * CFLAGS_WARNINGS_ARE_ERRORS=-Wno-error * WARNINGS_ARE_ERRORS=-Wno-error Make sure it is not mistyped, and that you intend to override this variable. 'make help' will list known control variables. Note: Command line contains non-control variables: * CFLAGS_WARNINGS_ARE_ERRORS=-Wno-error * WARNINGS_ARE_ERRORS=-Wno-error Make sure it is not mistyped, and that you intend to override this variable. 'make help' will list known control variables. Building targets 'images docs-zip' in configuration '/builddir/build/BUILD/TencentKona-11-kona11.0.23/release' Warning: No SCM configuration present and no .src-rev Compiling 8 files for BUILD_TOOLS_LANGTOOLS Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s) Compiling 2 files for BUILD_JVMTI_TOOLS Compiling 1 files for BUILD_JFR_TOOLS /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/hotspot/variant-server/support/adlc/all-ad-src.ad(0) Semantic Error: :File read error, no input read gmake[3]: *** [gensrc/GensrcAdlc.gmk:188: /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/hotspot/variant-server/support/adlc/_adlc_run.marker] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[2]: *** [make/Main.gmk:265: hotspot-server-gensrc] Error 2 gmake[2]: *** Waiting for unfinished jobs.... ERROR: Build failed for targets 'images docs-zip' in configuration '/builddir/build/BUILD/TencentKona-11-kona11.0.23/release' (exit code 2) === Output from failing command(s) repeated here === * For target hotspot_variant-server_support_adlc_adlc_run: /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/hotspot/variant-server/support/adlc/all-ad-src.ad(0) Semantic Error: :File read error, no input read * All command lines available in /builddir/build/BUILD/TencentKona-11-kona11.0.23/release/make-support/failure-logs. === End of repeated output === No indication of failed target found. Hint: Try searching the build log for '] Error'. Hint: See doc/building.html#troubleshooting for assistance. make[1]: *** [/builddir/build/BUILD/TencentKona-11-kona11.0.23/make/Init.gmk:308: main] Error 2 make: *** [/builddir/build/BUILD/TencentKona-11-kona11.0.23/make/Init.gmk:186: images] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.lcxWgP (%build) Bad exit status from /var/tmp/rpm-tmp.lcxWgP (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 997ccdd68e48472d8d2ddf2c6120c583 -D /home/lib/mock/dist-ocs23-base-build-293962-28490/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kyql_5rn:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/java-11-konajdk.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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: # /usr/bin/systemd-nspawn -q -M 997ccdd68e48472d8d2ddf2c6120c583 -D /home/lib/mock/dist-ocs23-base-build-293962-28490/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kyql_5rn:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/java-11-konajdk.spec