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.5-AImanager-build-536909-82836/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 452: %endif # with main_python warning: extra tokens at the end of %endif directive in line 636: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 794: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 831: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 866: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 899: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1144: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1147: %endif # with tests warning: extra tokens at the end of %endif directive in line 1610: %endif # with debug_build Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1774396800 Wrote: /builddir/build/SRPMS/python3.10-3.10.15-6.an23.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 452: %endif # with main_python extra tokens at the end of %endif directive in line 636: %endif # with debug_build extra tokens at the end of %endif directive in line 794: %endif # with debug_build extra tokens at the end of %endif directive in line 831: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 866: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 899: %endif # with debug_build extra tokens at the end of %endif directive in line 1144: %endif # with debug_build extra tokens at the end of %endif directive in line 1147: %endif # with tests extra tokens at the end of %endif directive in line 1610: %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.5-AImanager-build-536909-82836/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 452: %endif # with main_python warning: extra tokens at the end of %endif directive in line 636: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 794: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 831: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 866: %endif # with gdb_hooks warning: extra tokens at the end of %endif directive in line 899: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1144: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1147: %endif # with tests warning: extra tokens at the end of %endif directive in line 1610: %endif # with debug_build Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1774396800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ivj5FE + 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/0002-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/1001-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/0003-add-patch-to-fix-CVE-2025-6075.patch + /usr/bin/git am --reject -q 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. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-bugfix-for-CVE-2024-9287.patch + /usr/bin/git am --reject -q Checking patch Lib/venv/__init__.py... Checking patch Lib/venv/scripts/common/activate... Checking patch Lib/venv/scripts/posix/activate.csh... Checking patch Lib/venv/scripts/posix/activate.fish... Applied patch Lib/venv/__init__.py cleanly. Applied patch Lib/venv/scripts/common/activate cleanly. Applied patch Lib/venv/scripts/posix/activate.csh cleanly. Applied patch Lib/venv/scripts/posix/activate.fish cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/001002-bugfix-for-CVE-2025-13837.patch + /usr/bin/git am --reject -q Checking patch Lib/plistlib.py... Checking patch Lib/test/test_plistlib.py... Checking patch Misc/NEWS.d/next/Security/2024-05-21-22-11-31.gh-issue-119342.BTFj4Z.rst... Applied patch Lib/plistlib.py cleanly. Applied patch Lib/test/test_plistlib.py cleanly. Applied patch Misc/NEWS.d/next/Security/2024-05-21-22-11-31.gh-issue-119342.BTFj4Z.rst cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/001003-bugfix-for-CVE-2026-4519.patch + /usr/bin/git am --reject -q Checking patch Lib/test/test_webbrowser.py... Checking patch Lib/webbrowser.py... Checking patch Misc/NEWS.d/next/Security/2026-01-16-12-04-49.gh-issue-143930.zYC5x3.rst... Applied patch Lib/test/test_webbrowser.py cleanly. Applied patch Lib/webbrowser.py cleanly. Applied patch Misc/NEWS.d/next/Security/2026-01-16-12-04-49.gh-issue-143930.zYC5x3.rst cleanly. + sed -i 's/^set VIRTUAL_ENV=__VENV_DIR__$/set "VIRTUAL_ENV=__VENV_DIR__"/' Lib/venv/scripts/nt/activate.bat + sed -i 's/^set PATH=%VIRTUAL_ENV%\\__VENV_BIN_NAME__;%PATH%$/set "PATH=%VIRTUAL_ENV%\\__VENV_BIN_NAME__;%PATH%"/' Lib/venv/scripts/nt/activate.bat + sed -i 's/^set VIRTUAL_ENV_PROMPT=__VENV_PROMPT__$/set "VIRTUAL_ENV_PROMPT=__VENV_PROMPT__"/' Lib/venv/scripts/nt/activate.bat + 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.fZispC + 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 -march=rva23u64 -mabi=lp64d' + 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 -march=rva23u64 -mabi=lp64d' + 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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d' + 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 -march=rva23u64 -mabi=lp64d' + 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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d' + 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 -march=rva23u64 -mabi=lp64d' ++ 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 -march=rva23u64 -mabi=lp64d' + 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 -march=rva23u64 -mabi=lp64d' + 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 -march=rva23u64 -mabi=lp64d ' + 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 -march=rva23u64 -mabi=lp64d ' ++ 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' + ConfName=debug + ExtraConfigArgs='--without-ensurepip --with-pydebug' STARTING: BUILD OF PYTHON FOR CONFIGURATION: debug + 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 -march=rva23u64 -mabi=lp64d ' + 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 -march=rva23u64 -mabi=lp64d' + 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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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... no configure: error: in `/builddir/build/BUILD/Python-3.10.15/build/debug': configure: error: C compiler cannot create executables See `config.log' for more details error: Bad exit status from /var/tmp/rpm-tmp.fZispC (%build) RPM build warnings: RPM build errors: extra tokens at the end of %endif directive in line 452: %endif # with main_python extra tokens at the end of %endif directive in line 636: %endif # with debug_build extra tokens at the end of %endif directive in line 794: %endif # with debug_build extra tokens at the end of %endif directive in line 831: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 866: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 899: %endif # with debug_build extra tokens at the end of %endif directive in line 1144: %endif # with debug_build extra tokens at the end of %endif directive in line 1147: %endif # with tests extra tokens at the end of %endif directive in line 1610: %endif # with debug_build Bad exit status from /var/tmp/rpm-tmp.fZispC (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python3.10.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 riscv64 --nodeps /builddir/build/SPECS/python3.10.spec