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-17-konajdk.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-185098-12734/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/java-17-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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/java-17-konajdk-17.0.11-1.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-17-konajdk.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-185098-12734/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/java-17-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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fMiUKd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf TencentKona-17-TencentKona-17.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/TencentKona-17.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd TencentKona-17-TencentKona-17.0.11 + /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.dOUML8 + 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-17-TencentKona-17.0.11 + 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-17-TencentKona-17.0.11/release ~/build/BUILD/TencentKona-17-TencentKona-17.0.11 + bash ../configure '--with-vendor-name=Tencent Company' --with-native-debug-symbols=internal --with-vendor-url=https://github.com/Tencent/TencentKona-17 --with-vendor-bug-url=https://github.com/Tencent/TencentKona-17/issues --with-vendor-vm-bug-url=https://github.com/Tencent/TencentKona-17/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-17-TencentKona-17.0.11/release/configure-support/generated-configure.sh Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.71] configure: Configuration created at Tue Jun 25 10:47:53 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-17-TencentKona-17.0.11 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 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 xargs... /usr/bin/xargs 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)... disabled, default checking for --enable-debug... disabled, default 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-17-TencentKona-17.0.11/release checking for zypper... [not found] 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 if date is a GNU compatible version... yes 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 if packaged modules are kept... enabled, default checking for version string... 17.0.11-ga+1 configure: Found potential Boot JDK using configure arguments checking for Boot JDK... /usr/lib/jvm/java checking Boot JDK version... openjdk version "17.0.10-ga" 2024-01-16 OpenJDK Runtime Environment TencentKonaJDK (build 17.0.10-ga+1) OpenJDK 64-Bit Server VM TencentKonaJDK (build 17.0.10-ga+1, mixed mode, sharing) 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 /usr/bin/grep: warning: stray \ before - checking if Boot JDK jar supports --date=TIMESTAMP... true 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 checking for docs-reference JDK... no, using interim javadoc for the docs-reference targets checking if we should build headless-only (no GUI)... disabled, default checking if linker should clean out unused code (linktime-gc)... disabled, default checking for graphviz dot... no, cannot generate full docs checking for pandoc... no, cannot generate full docs checking for --enable-full-docs... disabled, from default 'auto' checking for cacerts file... default checking for cacerts source... default checking for --enable-unlimited-crypto... enabled, from command line checking for jni library path... default checking if static build is available... no checking if static build is enabled... disabled, default 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-1)] 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-1)] 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 configure: Using gcc linker version 2.41 [GNU ld (GNU Binutils) 2.41] configure: comparing linker version to minimum version 2.18 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 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 jtreg... [not found] checking for jtreg test harness... no, not found checking for jtreg jdk... no, using BOOT_JDK checking for jmh (Java Microbenchmark Harness)... no, disabled checking for jib... 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 CC supports "-fdebug-prefix-map=/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/="... yes checking if CXX supports "-fdebug-prefix-map=/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/="... yes checking if both CC and CXX support "-fdebug-prefix-map=/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/="... yes checking for --enable-warnings-as-errors... disabled, from command line 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 if TARGET is x86... no checking if CC supports "-fno-delete-null-pointer-checks"... yes checking if CXX supports "-fno-delete-null-pointer-checks"... yes checking if both CC and CXX support "-fno-delete-null-pointer-checks"... yes checking if CC supports "-fno-lifetime-dse"... yes checking if CXX supports "-fno-lifetime-dse"... yes checking if both CC and CXX support "-fno-lifetime-dse"... yes checking if CC supports "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/="... yes checking if CXX supports "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/="... yes checking if both CC and CXX support "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/="... 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_CC supports "-fno-delete-null-pointer-checks"... yes checking if BUILD_CXX supports "-fno-delete-null-pointer-checks"... yes checking if both BUILD_CC and BUILD_CXX support "-fno-delete-null-pointer-checks"... yes checking if BUILD_CC supports "-fno-lifetime-dse"... yes checking if BUILD_CXX supports "-fno-lifetime-dse"... yes checking if both BUILD_CC and BUILD_CXX support "-fno-lifetime-dse"... yes checking if BUILD_CC supports "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/="... yes checking if BUILD_CXX supports "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/="... yes checking if both BUILD_CC and BUILD_CXX support "-fmacro-prefix-map=/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/="... 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 if native coverage is available... yes checking for --enable-native-coverage... disabled, default checking if AddressSanitizer (asan) is available... yes checking for --enable-asan... disabled, default 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 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 --enable-libffi-bundling... disabled, default 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 for JVM features enabled by the user... none checking for JVM features disabled by the user... 'zgc' checking if platform is supported by CDS... yes checking if JVM feature 'cds' is available... yes checking for dtrace tool and platform support... no checking for sys/sdt.h... no configure: Cannot enable dtrace with missing dependencies. See above. checking if JVM feature 'dtrace' is available... no checking if platform is supported by JFR... yes checking if JVM feature 'jfr' is available... yes checking if platform is supported by JVMCI... no, loongarch64 checking if JVM feature 'jvmci' is available... no checking if platform is supported by Shenandoah... no, loongarch64 checking if JVM feature 'shenandoahgc' is available... no checking if static-build is enabled in configure... no, use --enable-static-build to enable static build. checking if JVM feature 'static-build' is available... no checking if platform is supported by ZGC... no, linux-loongarch64 checking if JVM feature 'zgc' is available... no configure: Unavailable JVM features explicitly disabled for 'server': 'zgc' checking JVM features to use for variant 'server'... 'cds compiler1 compiler2 epsilongc g1gc jfr jni-check jvmti management nmt parallelgc serialgc services vm-structs' checking if the jtreg failure handler is available... no (jtreg not present) checking if the jtreg failure handler should be built... disabled, from default 'auto' checking if the CDS classlist generation should be enabled... enabled, from default 'auto' checking if any translations should be excluded... no checking if static man pages should be copied... enabled, default checking if CDS archive is available... yes checking if a default CDS archive should be generated... enabled, from default 'auto' checking if CDS archive is available... yes checking if compatible cds region alignment enabled... disabled, default checking for number of cores... 32 checking for memory size... 130178 MB checking for appropriate number of jobs to run in parallel... 32 checking whether to use javac server... disabled, from command line checking flags for boot jdk java command ... -Duser.language=en -Duser.country=US -XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release/configure-support/classes.jsa -Xshare:auto checking flags for boot jdk java command for big workloads... -Xms64M -Xmx1600M checking flags for bootcycle boot jdk java command for big workloads... -Xms64M -Xmx1600M checking flags for boot jdk java command for small workloads... -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1 checking for --enable-icecc... disabled, default checking if precompiled headers are available... yes checking for --enable-precompiled-headers... enabled, from default 'auto' checking for ccache... [not found] checking if ccache is available... no, ccache binary missing or not executable checking if ccache is enabled... disabled, default checking if build directory is on local disk... yes configure: creating /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release/configure-support/config.status config.status: creating /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release/spec.gmk config.status: creating /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release/bootcycle-spec.gmk config.status: creating /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release/buildjdk-spec.gmk config.status: creating /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release/compare.sh config.status: creating /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release/Makefile ==================================================== A new configuration has been successfully created in /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release using configure arguments '--with-vendor-name='Tencent Company' --with-native-debug-symbols=internal --with-vendor-url=https://github.com/Tencent/TencentKona-17 --with-vendor-bug-url=https://github.com/Tencent/TencentKona-17/issues --with-vendor-vm-bug-url=https://github.com/Tencent/TencentKona-17/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: * Name: /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release * Debug level: release * HS debug level: product * JVM variants: server * JVM features: server: 'cds 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: 17.0.11-ga+1 (17.0.11-ga) Tools summary: * Boot JDK: openjdk version "17.0.10-ga" 2024-01-16 OpenJDK Runtime Environment TencentKonaJDK (build 17.0.10-ga+1) OpenJDK 64-Bit Server VM TencentKonaJDK (build 17.0.10-ga+1, mixed mode, sharing) (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-17-TencentKona-17.0.11/release' Warning: No SCM configuration present and no .src-rev Compiling 1 files for BUILD_TOOLS_HOTSPOT 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 Parsing 2 properties into enum-like class for jdk.compiler Compiling 7 properties into resource bundles for jdk.jshell Compiling 13 properties into resource bundles for jdk.javadoc Compiling 16 properties into resource bundles for jdk.compiler Compiling 12 properties into resource bundles for jdk.jdeps /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release/hotspot/variant-server/support/adlc/all-ad-src.ad(0) Semantic Error: :File read error, no input read gmake[3]: *** [gensrc/GensrcAdlc.gmk:193: /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/release/hotspot/variant-server/support/adlc/_adlc_run_exec.marker] Error 1 gmake[3]: *** Waiting for unfinished jobs.... Compiling 127 files for BUILD_java.compiler.interim Compiling 402 files for BUILD_jdk.compiler.interim Compiling 229 files for BUILD_jdk.javadoc.interim gmake[2]: *** [make/Main.gmk:245: 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-17-TencentKona-17.0.11/release' (exit code 2) === Output from failing command(s) repeated here === * For target hotspot_variant-server_support_adlc__adlc_run_exec: /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/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-17-TencentKona-17.0.11/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-17-TencentKona-17.0.11/make/Init.gmk:318: main] Error 2 make: *** [/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.11/make/Init.gmk:189: images] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.dOUML8 (%build) Bad exit status from /var/tmp/rpm-tmp.dOUML8 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/java-17-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: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/java-17-konajdk.spec