Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/protobuf.spec'], chrootPath='/var/lib/mock/dist-an23-build-451061-73471/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n0yp3a81:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n0yp3a81:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ec3abebbb971488ab30d8a460dcfc520', '-D', '/var/lib/mock/dist-an23-build-451061-73471/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n0yp3a81:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/protobuf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 164: Possible unexpanded macro in: Requires: emacs-filesystem >= %{_emacs_version} warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1752537600 Wrote: /builddir/build/SRPMS/protobuf-3.19.6-7.an23.src.rpm RPM build warnings: line 164: Possible unexpanded macro in: Requires: emacs-filesystem >= %{_emacs_version} %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/protobuf.spec'], chrootPath='/var/lib/mock/dist-an23-build-451061-73471/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n0yp3a81:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n0yp3a81:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '31182de3306a40f5b2cc457e900b6794', '-D', '/var/lib/mock/dist-an23-build-451061-73471/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n0yp3a81:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/protobuf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1752537600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NwSiFI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf protobuf-3.19.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v3.19.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-3.19.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3 (protobuf-3.19.4-jre17-add-opens.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .jre17 --fuzz=0 Patch #3 (protobuf-3.19.4-jre17-add-opens.patch): patching file java/pom.xml + echo 'Patch #1001 (CVE-2025-4565.patch):' Patch #1001 (CVE-2025-4565.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2025-4645 --fuzz=0 patching file python/google/protobuf/internal/decoder.py Hunk #1 succeeded at 195 (offset -18 lines). Hunk #2 succeeded at 213 (offset -18 lines). Hunk #3 succeeded at 238 (offset -18 lines). Hunk #4 succeeded at 383 (offset -18 lines). Hunk #5 succeeded at 398 (offset -18 lines). Hunk #6 succeeded at 435 (offset -18 lines). Hunk #7 succeeded at 455 (offset -18 lines). Hunk #8 succeeded at 482 (offset -18 lines). Hunk #9 succeeded at 499 (offset -18 lines). Hunk #10 succeeded at 523 (offset -18 lines). Hunk #11 succeeded at 582 (offset -28 lines). Hunk #12 succeeded at 602 (offset -28 lines). Hunk #13 succeeded at 627 (offset -28 lines). Hunk #14 succeeded at 647 (offset -28 lines). Hunk #15 succeeded at 673 (offset -28 lines). Hunk #16 succeeded at 684 (offset -28 lines). Hunk #17 succeeded at 700 (offset -28 lines). Hunk #18 succeeded at 733 (offset -28 lines). Hunk #19 succeeded at 746 (offset -28 lines). Hunk #20 succeeded at 778 (offset -28 lines). Hunk #21 succeeded at 817 (offset -28 lines). Hunk #22 succeeded at 905 (offset -28 lines). Hunk #23 succeeded at 989 (offset -28 lines). Hunk #24 succeeded at 1008 (offset -28 lines). Hunk #25 succeeded at 1031 (offset -28 lines). patching file python/google/protobuf/internal/decoder_test.py patching file python/google/protobuf/internal/python_message.py Hunk #1 succeeded at 1141 (offset -17 lines). Hunk #2 succeeded at 1192 (offset -17 lines). + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-3.19.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rvf third_party/googletest removed directory 'third_party/googletest' + mv ../googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081 third_party/googletest + find -name '*.cc' -o -name '*.h' + xargs chmod -x + chmod 644 examples/AddPerson.java examples/BUILD examples/CMakeLists.txt examples/ListPeople.java examples/Makefile examples/README.md examples/WORKSPACE examples/add_person.cc examples/add_person.dart examples/add_person.go examples/add_person.py examples/add_person_test.go examples/addressbook.proto examples/list_people.cc examples/list_people.dart examples/list_people.go examples/list_people.py examples/list_people_test.go examples/pubspec.yaml + rm -f src/solaris/libstdc++.la + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AIT52R + 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 protobuf-3.19.6 + iconv -f iso8859-1 -t utf-8 CONTRIBUTORS.txt + mv CONTRIBUTORS.txt.utf8 CONTRIBUTORS.txt + export PTHREAD_LIBS=-lpthread + PTHREAD_LIBS=-lpthread + ./autogen.sh + test -d third_party/googletest + mkdir -p third_party/googletest/m4 + autoreconf -f -i -Wall,no-obsolete libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:30: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:30: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:30: the top level configure.ac:51: warning: The macro `AC_LANG_C' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... m4/acx_pthread.m4:63: ACX_PTHREAD is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... configure.ac:51: the top level configure.ac:51: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/acx_pthread.m4:63: ACX_PTHREAD is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... configure.ac:51: the top level configure.ac:27: installing 'build-aux/compile' configure.ac:30: installing 'build-aux/config.guess' configure.ac:30: installing 'build-aux/config.sub' configure.ac:24: installing 'build-aux/install-sh' configure.ac:24: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:25: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:25: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.ac:25: the top level configure.ac:48: warning: The macro `AC_LANG_C' is obsolete. configure.ac:48: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... ../googletest/m4/acx_pthread.m4:63: ACX_PTHREAD is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... configure.ac:48: the top level configure.ac:48: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:48: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ../googletest/m4/acx_pthread.m4:63: ACX_PTHREAD is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... configure.ac:48: the top level configure.ac:22: installing 'build-aux/compile' configure.ac:25: installing 'build-aux/config.guess' configure.ac:25: installing 'build-aux/config.sub' configure.ac:19: installing 'build-aux/install-sh' configure.ac:19: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' configure.ac:13: installing 'build-aux/install-sh' configure.ac:13: installing 'build-aux/missing' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:78: warning: The macro `AC_PROG_CXX_FOR_BUILD' is obsolete. configure.ac:78: You should run autoupdate. m4/ax_prog_cxx_for_build.m4:36: AC_PROG_CXX_FOR_BUILD is expanded from... configure.ac:78: the top level configure.ac:109: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:109: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:109: the top level configure.ac:131: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:131: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:131: the top level configure.ac:212: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ax_pthread.m4:89: AX_PTHREAD is expanded from... configure.ac:212: the top level configure.ac:215: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:215: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... m4/stl_hash.m4:10: AC_CXX_STL_HASH is expanded from... configure.ac:215: the top level configure.ac:215: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:215: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... m4/stl_hash.m4:10: AC_CXX_STL_HASH is expanded from... configure.ac:215: the top level configure.ac:81: installing './ar-lib' configure.ac:76: installing './compile' configure.ac:46: installing './config.guess' configure.ac:46: installing './config.sub' configure.ac:48: installing './install-sh' configure.ac:48: installing './missing' benchmarks/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' + rm -rf autom4te.cache config.h.in~ + exit 0 + 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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-07-15 14:35:25.305876721 +0800 +++ ./configure 2025-07-15 14:35:34.713907434 +0800 @@ -2029,7 +2029,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ @@ -2181,7 +2181,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-07-15 14:35:34.713907434 +0800 +++ ./configure 2025-07-15 14:35:34.841907852 +0800 @@ -11188,7 +11188,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -23304,7 +23304,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./third_party/googletest/configure + diff -u ./third_party/googletest/configure.backup ./third_party/googletest/configure + mv ./third_party/googletest/configure.backup ./third_party/googletest/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./third_party/googletest/configure + diff -u ./third_party/googletest/configure.backup ./third_party/googletest/configure + mv ./third_party/googletest/configure.backup ./third_party/googletest/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./third_party/googletest/configure + diff -u ./third_party/googletest/configure.backup ./third_party/googletest/configure + mv ./third_party/googletest/configure.backup ./third_party/googletest/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./third_party/googletest/configure + diff -u ./third_party/googletest/configure.backup ./third_party/googletest/configure + mv ./third_party/googletest/configure.backup ./third_party/googletest/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./third_party/googletest/configure + diff -u ./third_party/googletest/configure.backup ./third_party/googletest/configure + mv ./third_party/googletest/configure.backup ./third_party/googletest/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./third_party/googletest/googletest/configure + diff -u ./third_party/googletest/googletest/configure.backup ./third_party/googletest/googletest/configure + mv ./third_party/googletest/googletest/configure.backup ./third_party/googletest/googletest/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./third_party/googletest/googletest/configure + diff -u ./third_party/googletest/googletest/configure.backup ./third_party/googletest/googletest/configure + mv ./third_party/googletest/googletest/configure.backup ./third_party/googletest/googletest/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./third_party/googletest/googletest/configure + diff -u ./third_party/googletest/googletest/configure.backup ./third_party/googletest/googletest/configure --- ./third_party/googletest/googletest/configure.backup 2025-07-15 14:34:51.837767462 +0800 +++ ./third_party/googletest/googletest/configure 2025-07-15 14:35:35.049908531 +0800 @@ -1759,7 +1759,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./third_party/googletest/googletest/configure + diff -u ./third_party/googletest/googletest/configure.backup ./third_party/googletest/googletest/configure + mv ./third_party/googletest/googletest/configure.backup ./third_party/googletest/googletest/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./third_party/googletest/googletest/configure + diff -u ./third_party/googletest/googletest/configure.backup ./third_party/googletest/googletest/configure --- ./third_party/googletest/googletest/configure.backup 2025-07-15 14:35:35.049908531 +0800 +++ ./third_party/googletest/googletest/configure 2025-07-15 14:35:35.157908884 +0800 @@ -7581,7 +7581,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18208,7 +18208,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./third_party/googletest/googlemock/configure + diff -u ./third_party/googletest/googlemock/configure.backup ./third_party/googletest/googlemock/configure + mv ./third_party/googletest/googlemock/configure.backup ./third_party/googletest/googlemock/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./third_party/googletest/googlemock/configure + diff -u ./third_party/googletest/googlemock/configure.backup ./third_party/googletest/googlemock/configure + mv ./third_party/googletest/googlemock/configure.backup ./third_party/googletest/googlemock/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./third_party/googletest/googlemock/configure + diff -u ./third_party/googletest/googlemock/configure.backup ./third_party/googletest/googlemock/configure --- ./third_party/googletest/googlemock/configure.backup 2025-07-15 14:35:07.533818703 +0800 +++ ./third_party/googletest/googlemock/configure 2025-07-15 14:35:35.277909275 +0800 @@ -1795,7 +1795,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./third_party/googletest/googlemock/configure + diff -u ./third_party/googletest/googlemock/configure.backup ./third_party/googletest/googlemock/configure + mv ./third_party/googletest/googlemock/configure.backup ./third_party/googletest/googlemock/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./third_party/googletest/googlemock/configure + diff -u ./third_party/googletest/googlemock/configure.backup ./third_party/googletest/googlemock/configure --- ./third_party/googletest/googlemock/configure.backup 2025-07-15 14:35:35.277909275 +0800 +++ ./third_party/googletest/googlemock/configure 2025-07-15 14:35:35.385909628 +0800 @@ -7616,7 +7616,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18387,7 +18387,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./config.guess '/usr/lib/rpm/anolis/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./third_party/googletest/googletest/build-aux/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./third_party/googletest/googletest/build-aux/config.guess ++ basename ./third_party/googletest/googletest/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./third_party/googletest/googletest/build-aux/config.guess '/usr/lib/rpm/anolis/config.guess' -> './third_party/googletest/googletest/build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./third_party/googletest/googletest/build-aux/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./third_party/googletest/googletest/build-aux/config.sub ++ basename ./third_party/googletest/googletest/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./third_party/googletest/googletest/build-aux/config.sub '/usr/lib/rpm/anolis/config.sub' -> './third_party/googletest/googletest/build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./third_party/googletest/googlemock/build-aux/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./third_party/googletest/googlemock/build-aux/config.guess ++ basename ./third_party/googletest/googlemock/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./third_party/googletest/googlemock/build-aux/config.guess '/usr/lib/rpm/anolis/config.guess' -> './third_party/googletest/googlemock/build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./third_party/googletest/googlemock/build-aux/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./third_party/googletest/googlemock/build-aux/config.sub ++ basename ./third_party/googletest/googlemock/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./third_party/googletest/googlemock/build-aux/config.sub '/usr/lib/rpm/anolis/config.sub' -> './third_party/googletest/googlemock/build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./config.sub '/usr/lib/rpm/anolis/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld"~' ./third_party/googletest/googletest/build-aux/ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld"~' ./third_party/googletest/googlemock/build-aux/ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld"~' ./ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . 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 Fixing libtool's ltmain.sh to prevent overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-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 checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-Anolis-linux-gnu checking target system type... loongarch64-Anolis-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '982' is supported by ustar format... yes checking whether GID '135' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for loongarch64-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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C preprocessor... gcc -E checking for gcc... gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for g++... g++ checking whether the compiler supports GNU C++... (cached) yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... (cached) none needed checking dependency style of g++... (cached) none checking how to run the C++ preprocessor... g++ -E 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