Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python3.10.spec'], chrootPath='/mnt/mock/kojid//dist-an23-build-484314-74333/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python3.10.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 warning: extra tokens at the end of %endif directive in line 442: %endif # with main_python warning: extra tokens at the end of %endif directive in line 626: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 775: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 812: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 847: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 880: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1125: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1128: %endif # with tests warning: extra tokens at the end of %endif directive in line 1591: %endif # with debug_build Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1762905600 Wrote: /builddir/build/SRPMS/python3.10-3.10.15-3.an23.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 442: %endif # with main_python extra tokens at the end of %endif directive in line 626: %endif # with debug_build extra tokens at the end of %endif directive in line 775: %endif # with debug_build extra tokens at the end of %endif directive in line 812: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 847: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 880: %endif # with debug_build extra tokens at the end of %endif directive in line 1125: %endif # with debug_build extra tokens at the end of %endif directive in line 1128: %endif # with tests extra tokens at the end of %endif directive in line 1591: %endif # with debug_build Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python3.10.spec'], chrootPath='/mnt/mock/kojid//dist-an23-build-484314-74333/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python3.10.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 warning: extra tokens at the end of %endif directive in line 442: %endif # with main_python warning: extra tokens at the end of %endif directive in line 626: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 775: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 812: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 847: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 880: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1125: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1128: %endif # with tests warning: extra tokens at the end of %endif directive in line 1591: %endif # with debug_build Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1762905600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rCJaEG + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/anolis/gpgverify --keyring=/builddir/build/SOURCES/pgp_keys_combined.asc --signature=/builddir/build/SOURCES/Python-3.10.15.tar.xz.asc --data=/builddir/build/SOURCES/Python-3.10.15.tar.xz gpgv: Signature made Fri Sep 6 20:41:19 2024 EDT gpgv: using RSA key CFDCA245B1043CF2A5F97865FFE87404168BD847 gpgv: Good signature from "Pablo Galindo Salgado " + cd /builddir/build/BUILD + rm -rf Python-3.10.15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Python-3.10.15.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd Python-3.10.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python3.10-3.10.15 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00001-rpath.patch + /usr/bin/git am --reject -q Checking patch Lib/distutils/unixccompiler.py... Applied patch Lib/distutils/unixccompiler.py cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00251-change-user-install-location.patch + /usr/bin/git am --reject -q Checking patch Lib/distutils/command/install.py... Checking patch Lib/site.py... Checking patch Lib/sysconfig.py... Checking patch Lib/test/test_sysconfig.py... Applied patch Lib/distutils/command/install.py cleanly. Applied patch Lib/site.py cleanly. Applied patch Lib/sysconfig.py cleanly. Applied patch Lib/test/test_sysconfig.py cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/00371-revert-bpo-1596321-fix-threading-_shutdown-for-the-main-thread-gh-28549-gh-28589.patch + /usr/bin/git am --reject -q Checking patch Lib/test/test_threading.py... Checking patch Lib/threading.py... Applied patch Lib/test/test_threading.py cleanly. Applied patch Lib/threading.py cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-add-loongarch64-support-for-python-3.10.12.patch + /usr/bin/git am --reject -q Checking patch configure.ac... Applied patch configure.ac cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Skip-tests-with-system-expat-2.5.0.patch + /usr/bin/git am --reject -q .git/rebase-apply/patch:30: trailing whitespace. .git/rebase-apply/patch:62: trailing whitespace. Checking patch Lib/test/test_pyexpat.py... Checking patch Lib/test/test_sax.py... Checking patch Lib/test/test_xml_etree.py... Applied patch Lib/test/test_pyexpat.py cleanly. Applied patch Lib/test/test_sax.py cleanly. Applied patch Lib/test/test_xml_etree.py cleanly. warning: 2 lines add whitespace errors. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1002-add-patch-to-fix-CVE-2025-6075.patch + /usr/bin/git am --reject -q .git/rebase-apply/patch:324: trailing whitespace. self.assertEqual(expandvars("$$"*n), "$"*n) Checking patch Lib/ntpath.py... Checking patch Lib/posixpath.py... Checking patch Lib/test/test_genericpath.py... Checking patch Lib/test/test_ntpath.py... Checking patch Misc/NEWS.d/next/Security/2025-05-30-22-33-27.gh-issue-136065.bu337o.rst... Applied patch Lib/ntpath.py cleanly. Applied patch Lib/posixpath.py cleanly. Applied patch Lib/test/test_genericpath.py cleanly. Applied patch Lib/test/test_ntpath.py cleanly. Applied patch Misc/NEWS.d/next/Security/2025-05-30-22-33-27.gh-issue-136065.bu337o.rst cleanly. warning: 1 line adds whitespace errors. + find -name '*.exe' -print -delete + rm -r Modules/expat + rm -r Modules/_decimal/libmpdec + rm configure pyconfig.h.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sFAzrO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -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/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 Python-3.10.15 + export HAS_GIT=not-found + HAS_GIT=not-found + autoconf configure.ac:59: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:59: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:59: the top level configure.ac:913: warning: AC_LINK_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ./lib/autoconf/specific.m4:364: AC_USE_SYSTEM_EXTENSIONS is expanded from... configure.ac:913: the top level configure.ac:2216: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:2216: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:2216: the top level configure.ac:4250: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:4250: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:4250: the top level + autoheader ++ pwd + topdir=/builddir/build/BUILD/Python-3.10.15 + export 'CFLAGS= -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS=' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export 'CFLAGS_NODIST=-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv' + CFLAGS_NODIST='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv' + export 'CXXFLAGS= -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + CXXFLAGS=' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ pkg-config --cflags-only-I libffi + export CPPFLAGS= + CPPFLAGS= + export 'OPT= -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + OPT=' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export LINKCC=gcc + LINKCC=gcc ++ pkg-config --cflags openssl + export 'CFLAGS= -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ' + CFLAGS=' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection ' ++ pkg-config --libs-only-L openssl + export 'LDFLAGS= -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 ' + LDFLAGS=' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 ' ++ pkg-config --libs-only-L openssl + export 'LDFLAGS_NODIST=-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 -g ' + LDFLAGS_NODIST='-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 -g ' + BuildPython debug '--without-ensurepip --with-pydebug' '-O0 -Wno-cpp' STARTING: BUILD OF PYTHON FOR CONFIGURATION: debug + ConfName=debug + ExtraConfigArgs='--without-ensurepip --with-pydebug' + MoreCFlags='-O0 -Wno-cpp' + ConfDir=build/debug + echo STARTING: BUILD OF PYTHON FOR CONFIGURATION: debug + mkdir -p build/debug + pushd build/debug ~/build/BUILD/Python-3.10.15/build/debug ~/build/BUILD/Python-3.10.15 + export 'DFLAGS= ' + DFLAGS=' ' + CFLAGS=' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -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 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS=' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + '[' 1 = 1 ']' +++ dirname /builddir/build/BUILD/Python-3.10.15/configure ++ find /builddir/build/BUILD/Python-3.10.15 -name config.guess -o -name config.sub + for i in $(find $(dirname $topdir/configure) -name config.guess -o -name config.sub) ++ basename /builddir/build/BUILD/Python-3.10.15/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f /builddir/build/BUILD/Python-3.10.15/config.guess ++ basename /builddir/build/BUILD/Python-3.10.15/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess /builddir/build/BUILD/Python-3.10.15/config.guess '/usr/lib/rpm/anolis/config.guess' -> '/builddir/build/BUILD/Python-3.10.15/config.guess' + for i in $(find $(dirname $topdir/configure) -name config.guess -o -name config.sub) ++ basename /builddir/build/BUILD/Python-3.10.15/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f /builddir/build/BUILD/Python-3.10.15/config.sub ++ basename /builddir/build/BUILD/Python-3.10.15/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub /builddir/build/BUILD/Python-3.10.15/config.sub '/usr/lib/rpm/anolis/config.sub' -> '/builddir/build/BUILD/Python-3.10.15/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh ++ dirname /builddir/build/BUILD/Python-3.10.15/configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool /builddir/build/BUILD/Python-3.10.15 Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking ++ dirname /builddir/build/BUILD/Python-3.10.15/configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs /builddir/build/BUILD/Python-3.10.15 + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + /builddir/build/BUILD/Python-3.10.15/configure --build=riscv64-Anolis-linux --host=riscv64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-platlibdir=lib64 --enable-ipv6 --enable-shared --with-computed-gotos=yes --with-dbmliborder=gdbm:ndbm:bdb --with-system-expat --with-system-ffi --with-system-libmpdec --enable-loadable-sqlite-extensions --with-dtrace --with-lto --with-ssl-default-suites=openssl --without-static-libpython --without-ensurepip --with-pydebug configure: WARNING: unrecognized options: --disable-dependency-tracking checking for git... not-found checking build system type... riscv64-Anolis-linux-gnu checking host system type... riscv64-Anolis-linux-gnu checking for python3.10... no checking for python3... python3 checking for --enable-universalsdk... no checking for --with-universal-archs... no checking MACHDEP... "linux" checking for riscv64-Anolis-linux-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /usr/bin/sed checking for --with-cxx-main=... no checking for the platform triplet based on compiler characteristics... riscv64-linux-gnu checking for multiarch... checking for -Wl,--no-as-needed... yes 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 wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for the Android API level... not Android checking for --with-suffix... checking for case-insensitive build directory... no checking LIBRARY... libpython$(VERSION)$(ABIFLAGS).a checking LINKCC... gcc checking EXPORTSYMS... checking for GNU ld... yes checking for --enable-shared... yes checking for --enable-profiling... no checking LDLIBRARY... libpython$(LDVERSION).so checking for riscv64-Anolis-linux-ar... no checking for riscv64-Anolis-linux-aal... no checking for ar... ar checking for riscv64-Anolis-linux-readelf... no checking for readelf... readelf checking for a BSD-compatible install... /usr/bin/install -c checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for --with-pydebug... yes checking for --with-trace-refs... no checking for --with-assertions... implied by --with-pydebug checking for --enable-optimizations... no checking PROFILE_TASK... -m test --pgo --timeout=$(TESTTIMEOUT) checking for --with-lto... yes checking for riscv64-Anolis-linux-llvm-profdata... no checking for llvm-profdata... no checking for -Wextra... yes checking whether gcc accepts and needs -fno-strict-aliasing... no checking if we can turn off gcc unused result warning... yes checking if we can turn off gcc unused parameter warning... yes checking if we can turn off gcc missing field initializers warning... yes checking if we can turn on gcc mixed sign comparison warning... yes checking if we can turn on gcc unreachable code warning... no checking if we can turn on gcc strict-prototypes warning... yes checking if we can make implicit function declaration an error in gcc... yes checking if we can use visibility in gcc... yes checking whether pthreads are available without options... yes checking whether g++ also accepts flags for thread support... no checking for egrep... /usr/bin/grep -E checking for asm/types.h... yes checking for crypt.h... yes checking for conio.h... no checking for direct.h... no checking for dlfcn.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for io.h... no checking for langinfo.h... yes checking for libintl.h... yes checking for process.h... no checking for pthread.h... yes checking for sched.h... yes checking for shadow.h... yes checking for signal.h... yes checking for stropts.h... no checking for termios.h... yes checking for utime.h... yes checking for poll.h... yes checking for sys/devpoll.h... no checking for sys/epoll.h... yes checking for sys/poll.h... yes checking for sys/audioio.h... no checking for sys/xattr.h... yes checking for sys/bsdtty.h... no checking for sys/event.h... no checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/kern_control.h... no checking for sys/loadavg.h... no checking for sys/lock.h... no checking for sys/mkdev.h... no checking for sys/modem.h... no checking for sys/param.h... yes checking for sys/random.h... yes checking for sys/select.h... yes checking for sys/sendfile.h... yes checking for sys/socket.h... yes checking for sys/statvfs.h... yes checking for sys/stat.h... (cached) yes checking for sys/syscall.h... yes checking for sys/sys_domain.h... no checking for sys/termio.h... no checking for sys/time.h... (cached) yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking for sys/uio.h... yes checking for sys/un.h... yes checking for sys/utsname.h... yes checking for sys/wait.h... yes checking for pty.h... yes checking for libutil.h... no checking for sys/resource.h... yes checking for netpacket/packet.h... yes checking for sysexits.h... yes checking for bluetooth.h... no checking for linux/tipc.h... yes checking for linux/random.h... yes checking for spawn.h... yes checking for util.h... no checking for alloca.h... yes checking for endian.h... yes checking for sys/endian.h... no checking for sys/sysmacros.h... yes checking for linux/auxvec.h... yes checking for sys/auxv.h... yes checking for linux/memfd.h... yes checking for linux/wait.h... yes checking for sys/memfd.h... no checking for sys/mman.h... yes checking for sys/eventfd.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/mkdev.h... (cached) no checking for sys/sysmacros.h... (cached) yes checking for bluetooth/bluetooth.h... yes checking for net/if.h... yes checking for linux/netlink.h... yes checking for linux/qrtr.h... yes checking for linux/vm_sockets.h... yes checking for linux/can.h... yes checking for linux/can/bcm.h... yes checking for linux/can/j1939.h... yes checking for linux/can/raw.h... yes checking for clock_t in time.h... yes checking for makedev... yes checking for le64toh... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for ssize_t... yes checking for __uint128_t... yes checking size of int... 4 checking size of long... 8 checking alignment of long... 8 checking size of long long... 8 checking size of void *... 8 checking size of short... 2 checking size of float... 4 checking size of double... 8 checking size of fpos_t... 16 checking size of size_t... 8