Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/KonaJDK17.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41800-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/KonaJDK17.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/java-17-konajdk-17.0.3-7.oc9.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/KonaJDK17.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41800-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/KonaJDK17.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ymDPsF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf TencentKona-17-TencentKona-17.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/TencentKona-17.0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd TencentKona-17-TencentKona-17.0.3 + /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.70luNV + umask 022 + cd /builddir/build/BUILD + cd TencentKona-17-TencentKona-17.0.3 + export 'EXTRA_CFLAGS=-g -Wno-error -Wno-error=maybe-uninitialized' + EXTRA_CFLAGS='-g -Wno-error -Wno-error=maybe-uninitialized' + export 'EXTRA_CPP_FLAGS=-g -Wno-error=maybe-uninitialized' + EXTRA_CPP_FLAGS='-g -Wno-error=maybe-uninitialized' + export 'EXTRA_ASFLAGS=-g -Wno-error -Wno-error=maybe-uninitialized -Wa,--generate-missing-build-notes=yes' + EXTRA_ASFLAGS='-g -Wno-error -Wno-error=maybe-uninitialized -Wa,--generate-missing-build-notes=yes' + mkdir -p release + pushd release ~/build/BUILD/TencentKona-17-TencentKona-17.0.3/release ~/build/BUILD/TencentKona-17-TencentKona-17.0.3 + 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 -Wno-error=maybe-uninitialized' '--with-extra-cflags=-g -Wno-error -Wno-error=maybe-uninitialized' '--with-extra-asflags=-g -Wno-error -Wno-error=maybe-uninitialized -Wa,--generate-missing-build-notes=yes' '--with-extra-ldflags=%{__global_ldflags}' --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.3/release/configure-support/generated-configure.sh Using autoconf at /usr/bin/autoconf [autoconf (GNU Autoconf) 2.71] stdin:227: warning: AC_CHECK_HEADERS($HEADERS_TO_CHECK): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.3/make/autoconf/libraries.m4:95: LIB_SETUP_LIBRARIES is expanded from... stdin:227: the top level configure: Configuration created at Mon Sep 18 17:35:07 CST 2023. 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 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 echo... echo [builtin] 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 tr... /usr/bin/tr checking for uname... /usr/bin/uname checking for wc... /usr/bin/wc checking for xargs... /usr/bin/xargs checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for a sed that does not truncate output... /usr/bin/sed 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 cygpath... [not found] checking for wslpath... [not found] checking for lsb_release... [not found] checking for cmd.exe... [not found] checking for cmp... /usr/bin/cmp checking for uniq... /usr/bin/uniq checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking openjdk-build os-cpu... linux-x86_64 checking openjdk-build C library... gnu checking openjdk-target os-cpu... linux-x86_64 checking openjdk-target C library... gnu checking compilation type... native checking for top-level directory... /builddir/build/BUILD/TencentKona-17-TencentKona-17.0.3 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.3/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 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.3) checking if make --output-sync is supported... yes checking for output-sync value... none 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.0 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.3-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.3-ga" 2022-04-19 OpenJDK Runtime Environment TencentKonaJDK (build 17.0.3-ga+1) OpenJDK 64-Bit Server VM TencentKonaJDK (build 17.0.3-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 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) checking for gcc... /usr/bin/gcc checking resolved symbolic links for CC... no symlink configure: Using gcc C compiler version 12.2.0 [gcc (GCC) 12.2.0 20220819 (TencentOS 12.2.0-5)] checking whether the C compiler works... no configure: error: in `/builddir/build/BUILD/TencentKona-17-TencentKona-17.0.3/release': configure: error: C compiler cannot create executables See `config.log' for more details configure exiting with result code 77 error: Bad exit status from /var/tmp/rpm-tmp.70luNV (%build) Bad exit status from /var/tmp/rpm-tmp.70luNV (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/KonaJDK17.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/KonaJDK17.spec