Mock Version: 3.5
Mock Version: 3.5
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/protobuf-c.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-134979-9626/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffdf609c60>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/protobuf-c.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Wrote: /builddir/build/SRPMS/protobuf-c-1.4.1-8.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/protobuf-c.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-134979-9626/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffdf609c60>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/protobuf-c.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fuepkT
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf protobuf-c-1.4.1
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/protobuf-c-1.4.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd protobuf-c-1.4.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/673.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e5VTi9
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd protobuf-c-1.4.1
+ autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
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'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}
autoreconf: running: /usr/bin/autoconf --force
configure.ac:14: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:14: You should run autoupdate.
./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from...
configure.ac:14: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:14: installing 'build-aux/compile'
configure.ac:13: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
autoreconf: 'build-aux/config.guess' is updated
autoreconf: Leaving directory '.'
+ '[' x '!=' x ']'
+ '[' 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 ./build-aux/config.sub
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']'
+ /usr/bin/rm -f ./build-aux/config.sub
++ basename ./build-aux/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./build-aux/config.sub
'/usr/lib/rpm/OpenCloudOS/config.sub' -> './build-aux/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./build-aux/config.guess
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']'
+ /usr/bin/rm -f ./build-aux/config.guess
++ basename ./build-aux/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./build-aux/config.guess
'/usr/lib/rpm/OpenCloudOS/config.guess' -> './build-aux/config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./build-aux/ltmain.sh
+ ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --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 --disable-static
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 make supports the include directive... yes (GNU style)
checking for loongarch64-opencloudos-linux-gnu-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 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 whether ln -s works... 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 whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether make supports nested variables... (cached) yes
checking build system type... loongarch64-opencloudos-linux-gnu
checking host system type... loongarch64-opencloudos-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop
checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for loongarch64-opencloudos-linux-gnu-file... no
checking for file... file
checking for loongarch64-opencloudos-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for loongarch64-opencloudos-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for loongarch64-opencloudos-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for loongarch64-opencloudos-linux-gnu-strip... no
checking for strip... strip
checking for loongarch64-opencloudos-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for loongarch64-opencloudos-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether C compiler accepts "-Wc99-c11-compat"... yes
checking whether C compiler accepts "-Werror=incompatible-pointer-types"... yes
checking whether C compiler accepts "-Werror=int-conversion"... yes
checking whether C compiler accepts "-Wnull-dereference"... yes
checking for doxygen... no
checking for loongarch64-opencloudos-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether g++ supports C++17 features with -std=c++17... yes
checking for protobuf... yes
checking for google/protobuf/compiler/command_line_interface.h... yes
checking for protoc... /usr/bin/protoc
checking if LD -Wl,--version-script works... yes
checking whether self tests are run under valgrind... no
checking whether to build with code coverage support... no
checking whether byte ordering is bigendian... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating protobuf-c/libprotobuf-c.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
    protobuf-c 1.4.1
        CC:                     gcc
        CFLAGS:                 -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection
        CXX:                    g++ -std=c++17
        CXXFLAGS:               -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection
        LDFLAGS:                -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1
        LIBS:                   
        prefix:                 /usr
        sysconfdir:             /etc
        libdir:                 /usr/lib64
        includedir:             /usr/include
        pkgconfigdir:           ${libdir}/pkgconfig
        bigendian:              no
        protobuf version:       libprotoc 3.21.12
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
/usr/bin/protoc -I. --cpp_out=. ./protobuf-c/protobuf-c.proto
/usr/bin/protoc -I. --cpp_out=. ./protobuf-c/protobuf-c.proto
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protobuf-c/protoc_c_protoc_gen_c-protobuf-c.pb.o `test -f 'protobuf-c/protobuf-c.pb.cc' || echo './'`protobuf-c/protobuf-c.pb.cc
cc1plus: warning: protobuf-c/protobuf-c.pb.cc is shorter than expected
/usr/bin/protoc -I. --cpp_out=. ./t/test-full.proto
[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax specified for the proto file: t/test-full.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
/usr/bin/protoc -I. --cpp_out=. ./t/test-full.proto
[libprotobuf WARNING google/protobuf/compiler/parser.cc:646] No syntax specified for the proto file: t/test-full.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-main.o `test -f 'protoc-c/main.cc' || echo './'`protoc-c/main.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_extension.o `test -f 'protoc-c/c_extension.cc' || echo './'`protoc-c/c_extension.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_message_field.o `test -f 'protoc-c/c_message_field.cc' || echo './'`protoc-c/c_message_field.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_generator.o `test -f 'protoc-c/c_generator.cc' || echo './'`protoc-c/c_generator.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_string_field.o `test -f 'protoc-c/c_string_field.cc' || echo './'`protoc-c/c_string_field.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_enum_field.o `test -f 'protoc-c/c_enum_field.cc' || echo './'`protoc-c/c_enum_field.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_primitive_field.o `test -f 'protoc-c/c_primitive_field.cc' || echo './'`protoc-c/c_primitive_field.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protobuf-c/t_generated_code2_cxx_generate_packed_data-protobuf-c.pb.o `test -f 'protobuf-c/protobuf-c.pb.cc' || echo './'`protobuf-c/protobuf-c.pb.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_bytes_field.o `test -f 'protoc-c/c_bytes_field.cc' || echo './'`protoc-c/c_bytes_field.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_field.o `test -f 'protoc-c/c_field.cc' || echo './'`protoc-c/c_field.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_file.o `test -f 'protoc-c/c_file.cc' || echo './'`protoc-c/c_file.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_enum.o `test -f 'protoc-c/c_enum.cc' || echo './'`protoc-c/c_enum.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_service.o `test -f 'protoc-c/c_service.cc' || echo './'`protoc-c/c_service.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_helpers.o `test -f 'protoc-c/c_helpers.cc' || echo './'`protoc-c/c_helpers.cc
protoc-c/c_helpers.cc: In function 'void google::protobuf::compiler::c::PrintComment(google::protobuf::io::Printer*, std::string)':
protoc-c/c_helpers.cc:237:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  237 |       for (int i = 0; i < comment_lines.size(); i++)
      |                       ~~^~~~~~~~~~~~~~~~~~~~~~
protoc-c/c_helpers.cc: In function 'std::set<std::__cxx11::basic_string<char> > google::protobuf::compiler::c::MakeKeywordsMap()':
protoc-c/c_helpers.cc:289:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  289 |   for (int i = 0; i < GOOGLE_ARRAYSIZE(kKeywordList); i++) {
      |                     ^
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o protoc-c/protoc_gen_c-c_message.o `test -f 'protoc-c/c_message.cc' || echo './'`protoc-c/c_message.cc
/bin/sh ./libtool  --tag=CXX   --mode=link g++ -std=c++17   -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o protoc-c/protoc-gen-c protoc-c/protoc_gen_c-c_bytes_field.o protoc-c/protoc_gen_c-c_enum.o protoc-c/protoc_gen_c-c_enum_field.o protoc-c/protoc_gen_c-c_extension.o protoc-c/protoc_gen_c-c_field.o protoc-c/protoc_gen_c-c_file.o protoc-c/protoc_gen_c-c_generator.o protoc-c/protoc_gen_c-c_helpers.o protoc-c/protoc_gen_c-c_message.o protoc-c/protoc_gen_c-c_message_field.o protoc-c/protoc_gen_c-c_primitive_field.o protoc-c/protoc_gen_c-c_service.o protoc-c/protoc_gen_c-c_string_field.o protobuf-c/protoc_c_protoc_gen_c-protobuf-c.pb.o protoc-c/protoc_gen_c-main.o -lprotobuf -lprotoc 
libtool: link: g++ -std=c++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o protoc-c/protoc-gen-c protoc-c/protoc_gen_c-c_bytes_field.o protoc-c/protoc_gen_c-c_enum.o protoc-c/protoc_gen_c-c_enum_field.o protoc-c/protoc_gen_c-c_extension.o protoc-c/protoc_gen_c-c_field.o protoc-c/protoc_gen_c-c_file.o protoc-c/protoc_gen_c-c_generator.o protoc-c/protoc_gen_c-c_helpers.o protoc-c/protoc_gen_c-c_message.o protoc-c/protoc_gen_c-c_message_field.o protoc-c/protoc_gen_c-c_primitive_field.o protoc-c/protoc_gen_c-c_service.o protoc-c/protoc_gen_c-c_string_field.o protobuf-c/protoc_c_protoc_gen_c-protobuf-c.pb.o protoc-c/protoc_gen_c-main.o  -lprotobuf -lprotoc
/usr/bin/ld: protoc-c/protoc_gen_c-c_field.o: in function `std::_Rb_tree_header::_M_reset()':
/usr/include/c++/12/bits/stl_tree.h:209:(.text+0x42c): undefined reference to `pb_c_file'
/usr/bin/ld: /usr/include/c++/12/bits/stl_tree.h:209:(.text+0x430): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_field.o: in function `google::protobuf::compiler::c::FieldGenerator::GenerateDescriptorInitializerGeneric(google::protobuf::io::Printer*, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_field.cc:108:(.text+0x458): undefined reference to `ProtobufCFileOptions::ProtobufCFileOptions(ProtobufCFileOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_field.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data() const':
/usr/include/c++/12/bits/basic_string.h:234:(.text+0xf80): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_field.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/12/bits/basic_string.h:401:(.text+0x1d8c): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_field.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()':
/usr/include/c++/12/bits/basic_string.h:803:(.text+0x1fb8): undefined reference to `pb_c_field'
/usr/bin/ld: /usr/include/c++/12/bits/basic_string.h:803:(.text+0x1fbc): undefined reference to `pb_c_field'
/usr/bin/ld: protoc-c/protoc_gen_c-c_field.o: in function `.LBE10700':
/usr/include/c++/12/bits/stl_tree.h:986:(.text+0x1ff0): undefined reference to `ProtobufCFieldOptions::ProtobufCFieldOptions(ProtobufCFieldOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_field.o: in function `std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<void (*)(google::protobuf::FieldDescriptor const*), google::protobuf::FieldDescriptor const*>(std::once_flag&, void (*&&)(google::protobuf::FieldDescriptor const*), google::protobuf::FieldDescriptor const*&&)::{lambda()#1}>(void (*&)(google::protobuf::FieldDescriptor const*))':
/usr/include/c++/12/mutex:788:(.text+0x20a4): undefined reference to `ProtobufCFieldOptions::~ProtobufCFieldOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_field.o: in function `google::protobuf::compiler::c::FieldGeneratorMap::MakeGenerator(google::protobuf::FieldDescriptor const*)':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_field.cc:216:(.text+0x2198): undefined reference to `ProtobufCFieldOptions::~ProtobufCFieldOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `std::__new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/12/bits/new_allocator.h:158:(.text+0xda4): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data() const':
/usr/include/c++/12/bits/basic_string.h:234:(.text+0xda8): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `google::protobuf::compiler::c::FileGenerator::GenerateHeader(google::protobuf::io::Printer*)':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_file.cc:161:(.text+0xdc8): undefined reference to `ProtobufCFileOptions::ProtobufCFileOptions(ProtobufCFileOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/12/bits/basic_string.h:1579:(.text+0xf54): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `google::protobuf::io::Printer::PrintInternal(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*, char const*)':
/usr/include/google/protobuf/io/printer.h:306:(.text+0x1224): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `google::protobuf::compiler::c::FileGenerator::GenerateHeader(google::protobuf::io::Printer*)':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_file.cc:192:(.text+0x1250): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `std::__uniq_ptr_impl<std::unique_ptr<google::protobuf::compiler::c::MessageGenerator, std::default_delete<google::protobuf::compiler::c::MessageGenerator> >, std::default_delete<std::unique_ptr<google::protobuf::compiler::c::MessageGenerator, std::default_delete<google::protobuf::compiler::c::MessageGenerator> > []> >::_M_ptr() const':
/usr/include/c++/12/bits/unique_ptr.h:191:(.text+0x1268): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `google::protobuf::compiler::c::FileGenerator::GenerateHeader(google::protobuf::io::Printer*)':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_file.cc:198:(.text+0x128c): undefined reference to `ProtobufCFileOptions::ProtobufCFileOptions(ProtobufCFileOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()':
/usr/include/c++/12/bits/basic_string.h:803:(.text+0x15ec): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)':
/usr/include/c++/12/bits/stl_map.h:529:(.text+0x1830): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/12/bits/basic_string.h:1579:(.text+0x1834): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `std::__new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/12/bits/new_allocator.h:158:(.text+0x1854): undefined reference to `ProtobufCFileOptions::ProtobufCFileOptions(ProtobufCFileOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `std::unique_ptr<std::unique_ptr<google::protobuf::compiler::c::EnumGenerator, std::default_delete<google::protobuf::compiler::c::EnumGenerator> > [], std::default_delete<std::unique_ptr<google::protobuf::compiler::c::EnumGenerator, std::default_delete<google::protobuf::compiler::c::EnumGenerator> > []> >::operator[](unsigned long) const':
/usr/include/c++/12/bits/unique_ptr.h:719:(.text+0x1a20): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_file.o: in function `std::unique_ptr<std::unique_ptr<google::protobuf::compiler::c::ServiceGenerator, std::default_delete<google::protobuf::compiler::c::ServiceGenerator> > [], std::default_delete<std::unique_ptr<google::protobuf::compiler::c::ServiceGenerator, std::default_delete<google::protobuf::compiler::c::ServiceGenerator> > []> >::operator[](unsigned long) const':
/usr/include/c++/12/bits/unique_ptr.h:719:(.text+0x1a7c): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_generator.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()':
/usr/include/c++/12/bits/basic_string.h:803:(.text+0x93c): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_generator.o: in function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()':
/usr/include/c++/12/bits/stl_vector.h:730:(.text+0x944): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_helpers.o: in function `google::protobuf::compiler::c::PrintComment(google::protobuf::io::Printer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_helpers.cc:251:(.text+0x3d0c): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_helpers.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned long)':
/usr/include/c++/12/bits/basic_string.h:1229:(.text+0x3d10): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_helpers.o: in function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::size() const':
/usr/include/c++/12/bits/stl_vector.h:988:(.text+0x3d4c): undefined reference to `ProtobufCFileOptions::ProtobufCFileOptions(ProtobufCFileOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_helpers.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_capacity(unsigned long)':
/usr/include/c++/12/bits/basic_string.h:261:(.text+0x3d90): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_helpers.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned long)':
/usr/include/c++/12/bits/basic_string.h:588:(.text+0x4048): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider::_Alloc_hider(char*, std::allocator<char>&&)':
/usr/include/c++/12/bits/basic_string.h:204:(.text+0x1d3c): undefined reference to `pb_c_msg'
/usr/bin/ld: /usr/include/c++/12/bits/basic_string.h:204:(.text+0x1d40): undefined reference to `pb_c_msg'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `google::protobuf::compiler::c::MessageGenerator::GenerateStructDefinition(google::protobuf::io::Printer*)':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_message.cc:178:(.text+0x1d68): undefined reference to `ProtobufCMessageOptions::ProtobufCMessageOptions(ProtobufCMessageOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)':
/usr/include/c++/12/bits/basic_string.tcc:139:(.text+0x28a8): undefined reference to `ProtobufCMessageOptions::Impl_::_i_give_permission_to_break_this_code_default_base_field_name_'
/usr/bin/ld: /usr/include/c++/12/bits/basic_string.tcc:139:(.text+0x28ac): undefined reference to `ProtobufCMessageOptions::Impl_::_i_give_permission_to_break_this_code_default_base_field_name_'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_is_local() const':
/usr/include/c++/12/bits/basic_string.h:275:(.text+0x2c1c): undefined reference to `ProtobufCMessageOptions::~ProtobufCMessageOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::char_traits<char>::assign(char&, char const&)':
/usr/include/c++/12/bits/char_traits.h:359:(.text+0x2fb8): undefined reference to `ProtobufCMessageOptions::~ProtobufCMessageOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()':
/usr/include/c++/12/bits/basic_string.h:803:(.text+0x3198): undefined reference to `pb_c_msg'
/usr/bin/ld: /usr/include/c++/12/bits/basic_string.h:803:(.text+0x319c): undefined reference to `pb_c_msg'
/usr/bin/ld: /usr/include/c++/12/bits/basic_string.h:803:(.text+0x31e0): undefined reference to `ProtobufCMessageOptions::ProtobufCMessageOptions(ProtobufCMessageOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `google::protobuf::compiler::c::MessageGenerator::GenerateHelperFunctionDeclarations(google::protobuf::io::Printer*, bool, bool, bool)':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_message.cc:282:(.text+0x3438): undefined reference to `ProtobufCMessageOptions::~ProtobufCMessageOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_set_length(unsigned long)':
/usr/include/c++/12/bits/basic_string.h:269:(.text+0x35c0): undefined reference to `ProtobufCMessageOptions::~ProtobufCMessageOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `google::protobuf::compiler::c::MessageGenerator::GenerateHelperFunctionDeclarations(google::protobuf::io::Printer*, bool, bool, bool)':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_message.cc:310:(.text+0x3638): undefined reference to `pb_c_msg'
/usr/bin/ld: /builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_message.cc:310:(.text+0x363c): undefined reference to `pb_c_msg'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::~_Rb_tree()':
/usr/include/c++/12/bits/stl_tree.h:986:(.text+0x3684): undefined reference to `ProtobufCMessageOptions::ProtobufCMessageOptions(ProtobufCMessageOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_length(unsigned long)':
/usr/include/c++/12/bits/basic_string.h:229:(.text+0x39e0): undefined reference to `ProtobufCMessageOptions::~ProtobufCMessageOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `google::protobuf::compiler::c::MessageGenerator::GenerateHelperFunctionDefinitions(google::protobuf::io::Printer*, bool, bool, bool)':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_message.cc:375:(.text+0x3a6c): undefined reference to `ProtobufCMessageOptions::Impl_::_i_give_permission_to_break_this_code_default_base_field_name_'
/usr/bin/ld: /builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_message.cc:384:(.text+0x3a70): undefined reference to `ProtobufCMessageOptions::Impl_::_i_give_permission_to_break_this_code_default_base_field_name_'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::char_traits<char>::copy(char*, char const*, unsigned long)':
/usr/include/c++/12/bits/char_traits.h:435:(.text+0x3c10): undefined reference to `ProtobufCMessageOptions::~ProtobufCMessageOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_capacity(unsigned long)':
/usr/include/c++/12/bits/basic_string.h:261:(.text+0x405c): undefined reference to `pb_c_msg'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_length(unsigned long)':
/usr/include/c++/12/bits/basic_string.h:229:(.text+0x4060): undefined reference to `pb_c_msg'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data() const':
/usr/include/c++/12/bits/basic_string.h:234:(.text+0x4080): undefined reference to `ProtobufCMessageOptions::ProtobufCMessageOptions(ProtobufCMessageOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `google::protobuf::Descriptor::field_count() const':
/usr/include/google/protobuf/descriptor.h:2105:(.text+0x42b4): undefined reference to `pb_c_field'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `google::protobuf::compiler::c::MessageGenerator::GenerateMessageDescriptor(google::protobuf::io::Printer*, bool)':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_message.cc:460:(.text+0x42c8): undefined reference to `pb_c_field'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `google::protobuf::Descriptor::field(int) const':
/usr/include/google/protobuf/descriptor.h:2111:(.text+0x42f4): undefined reference to `ProtobufCFieldOptions::ProtobufCFieldOptions(ProtobufCFieldOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/12/bits/new_allocator.h:158:(.text+0x46f8): undefined reference to `ProtobufCFieldOptions::~ProtobufCFieldOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `google::protobuf::io::Printer::PrintInternal(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*, char const*)':
/usr/include/google/protobuf/io/printer.h:306:(.text+0x4854): undefined reference to `ProtobufCMessageOptions::~ProtobufCMessageOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size() const':
/usr/include/c++/12/bits/basic_string.h:1072:(.text+0x59b0): undefined reference to `ProtobufCMessageOptions::~ProtobufCMessageOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_message.o: in function `std::char_traits<char>::assign(char&, char const&)':
/usr/include/c++/12/bits/char_traits.h:358:(.text+0x5a08): undefined reference to `ProtobufCFieldOptions::~ProtobufCFieldOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_string_field.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size() const':
/usr/include/c++/12/bits/basic_string.h:1072:(.text+0x127c): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_string_field.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data() const':
/usr/include/c++/12/bits/basic_string.h:234:(.text+0x1280): undefined reference to `pb_c_file'
/usr/bin/ld: protoc-c/protoc_gen_c-c_string_field.o: in function `google::protobuf::compiler::c::StringFieldGenerator::GenerateDefaultValueImplementations(google::protobuf::io::Printer*) const':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_string_field.cc:123:(.text+0x12c0): undefined reference to `ProtobufCFileOptions::ProtobufCFileOptions(ProtobufCFileOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_string_field.o: in function `google::protobuf::compiler::c::StringFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer*) const':
/builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_string_field.cc:95:(.text+0x1330): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: /builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_string_field.cc:106:(.text+0x13a4): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: /builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_string_field.cc:109:(.text+0x13e0): undefined reference to `pb_c_file'
/usr/bin/ld: /builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_string_field.cc:109:(.text+0x13e8): undefined reference to `pb_c_file'
/usr/bin/ld: /builddir/build/BUILD/protobuf-c-1.4.1/protoc-c/c_string_field.cc:102:(.text+0x1440): undefined reference to `ProtobufCFileOptions::ProtobufCFileOptions(ProtobufCFileOptions const&)'
/usr/bin/ld: protoc-c/protoc_gen_c-c_string_field.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider::_Alloc_hider(char*, std::allocator<char> const&)':
/usr/include/c++/12/bits/basic_string.h:200:(.text+0x1560): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
/usr/bin/ld: protoc-c/protoc_gen_c-c_string_field.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)':
/usr/include/c++/12/bits/basic_string.h:224:(.text+0x1798): undefined reference to `ProtobufCFileOptions::~ProtobufCFileOptions()'
collect2: error: ld returned 1 exit status
make: *** [Makefile:1276: protoc-c/protoc-gen-c] Error 1
make: *** Waiting for unfinished jobs....
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o t/generated-code2/cxx_generate_packed_data-cxx-generate-packed-data.o `test -f 't/generated-code2/cxx-generate-packed-data.cc' || echo './'`t/generated-code2/cxx-generate-packed-data.cc
g++ -std=c++17 -DHAVE_CONFIG_H -I.  -include ./config.h -I./protobuf-c -I. -I.    -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -c -o t/generated_code2_cxx_generate_packed_data-test-full.pb.o `test -f 't/test-full.pb.cc' || echo './'`t/test-full.pb.cc
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.e5VTi9 (%build)
    Bad exit status from /var/tmp/rpm-tmp.e5VTi9 (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/protobuf-c.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/protobuf-c.spec