Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/protobuf.spec'], chrootPath='/var/lib/mock/f33-build-225552-48479/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False BUILDSTDERR: warning: line 50: Possible unexpanded macro in: Requires: emacs-filesystem >= %{_emacs_version} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1589932800 Wrote: /builddir/build/SRPMS/protobuf-3.11.4-1.0.riscv64.fc33.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/protobuf.spec'], chrootPath='/var/lib/mock/f33-build-225552-48479/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1589932800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.teZCjn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf protobuf-3.11.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/protobuf-3.11.4-all.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-3.11.4 + /usr/bin/unzip -qq /builddir/build/SOURCES/5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/BUILD.bazel googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/CMakeLists.txt googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/CONTRIBUTING.md googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/LICENSE googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/Makefile.am googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/README.md googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/WORKSPACE googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/appveyor.yml googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/ci googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/configure.ac googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/googlemock googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/googletest googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/library.json googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/platformio.ini 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kgHx7j + umask 022 + cd /builddir/build/BUILD + cd protobuf-3.11.4 + iconv -f iso8859-1 -t utf-8 CONTRIBUTORS.txt + mv CONTRIBUTORS.txt.utf8 CONTRIBUTORS.txt + export PTHREAD_LIBS=-lpthread + PTHREAD_LIBS=-lpthread + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Werror=no-type-limits' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Werror=no-type-limits' + ./autogen.sh + 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' BUILDSTDERR: configure.ac:27: installing 'build-aux/compile' BUILDSTDERR: configure.ac:30: installing 'build-aux/config.guess' BUILDSTDERR: configure.ac:30: installing 'build-aux/config.sub' BUILDSTDERR: configure.ac:24: installing 'build-aux/install-sh' BUILDSTDERR: configure.ac:24: installing 'build-aux/missing' BUILDSTDERR: Makefile.am: installing 'build-aux/depcomp' BUILDSTDERR: 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. BUILDSTDERR: configure.ac:22: installing 'build-aux/compile' BUILDSTDERR: configure.ac:25: installing 'build-aux/config.guess' BUILDSTDERR: configure.ac:25: installing 'build-aux/config.sub' BUILDSTDERR: configure.ac:19: installing 'build-aux/install-sh' BUILDSTDERR: configure.ac:19: installing 'build-aux/missing' BUILDSTDERR: Makefile.am: installing 'build-aux/depcomp' BUILDSTDERR: parallel-tests: installing 'build-aux/test-driver' BUILDSTDERR: configure.ac:13: installing 'build-aux/install-sh' BUILDSTDERR: 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' BUILDSTDERR: configure.ac:81: installing './ar-lib' BUILDSTDERR: configure.ac:76: installing './compile' BUILDSTDERR: configure.ac:46: installing './config.guess' BUILDSTDERR: configure.ac:46: installing './config.sub' BUILDSTDERR: configure.ac:48: installing './install-sh' BUILDSTDERR: configure.ac:48: installing './missing' BUILDSTDERR: benchmarks/Makefile.am: installing './depcomp' BUILDSTDERR: parallel-tests: installing './test-driver' + rm -rf autom4te.cache config.h.in~ + exit 0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Werror=no-type-limits' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./third_party/googletest/googlemock/build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./third_party/googletest/googlemock/build-aux/config.sub BUILDSTDERR: ++ basename ./third_party/googletest/googlemock/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./third_party/googletest/googlemock/build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './third_party/googletest/googlemock/build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./third_party/googletest/googlemock/build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./third_party/googletest/googlemock/build-aux/config.guess BUILDSTDERR: ++ basename ./third_party/googletest/googlemock/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./third_party/googletest/googlemock/build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './third_party/googletest/googlemock/build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./third_party/googletest/googletest/build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./third_party/googletest/googletest/build-aux/config.sub BUILDSTDERR: ++ basename ./third_party/googletest/googletest/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./third_party/googletest/googletest/build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './third_party/googletest/googletest/build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./third_party/googletest/googletest/build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./third_party/googletest/googletest/build-aux/config.guess BUILDSTDERR: ++ basename ./third_party/googletest/googletest/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./third_party/googletest/googletest/build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './third_party/googletest/googletest/build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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/redhat/redhat-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/redhat/redhat-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/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe 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 '998' 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 riscv64-redhat-linux-gnu-gcc... no checking for 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... 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 for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C preprocessor... gcc -E checking for gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... (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 we are using the GNU C++ compiler... (cached) no checking whether g++ accepts -g... yes checking dependency style of g++... (cached) none checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... no checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for riscv64-redhat-linux-gnu-gcc... no checking for riscv64-redhat-linux-gnu-objcc... no checking for riscv64-redhat-linux-gnu-objc... no checking for riscv64-redhat-linux-gnu-cc... no checking for riscv64-redhat-linux-gnu-CC... no checking for gcc... gcc checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -g... no checking dependency style of gcc... none checking C++ compiler flags...... use user-supplied: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Werror=no-type-limits checking whether __SUNPRO_CC is declared... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed 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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... no checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... failed 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 riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... no 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... no 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... yes checking how to run the C++ preprocessor... g++ -E checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes libtool.m4: error: problem compiling CXX test program checking for g++ option to produce PIC... -DPIC checking if g++ PIC flag -DPIC works... no checking if g++ static flag works... no checking if g++ supports -c -o file.o... no checking if g++ supports -c -o file.o... (cached) no 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... unsupported checking whether the linker supports version scripts... no checking for ANSI C header files... (cached) no checking fcntl.h usability... no checking fcntl.h presence... yes BUILDSTDERR: configure: WARNING: fcntl.h: present but cannot be compiled BUILDSTDERR: configure: WARNING: fcntl.h: check for missing prerequisite headers? BUILDSTDERR: configure: WARNING: fcntl.h: see the Autoconf documentation BUILDSTDERR: configure: WARNING: fcntl.h: section "Present But Cannot Be Compiled" BUILDSTDERR: configure: WARNING: fcntl.h: proceeding with the compiler's result BUILDSTDERR: configure: WARNING: ## ---------------------------------------- ## BUILDSTDERR: configure: WARNING: ## Report this to protobuf@googlegroups.com ## BUILDSTDERR: configure: WARNING: ## ---------------------------------------- ## checking for fcntl.h... no checking for inttypes.h... (cached) no checking limits.h usability... no checking limits.h presence... yes BUILDSTDERR: configure: WARNING: limits.h: present but cannot be compiled BUILDSTDERR: configure: WARNING: limits.h: check for missing prerequisite headers? BUILDSTDERR: configure: WARNING: limits.h: see the Autoconf documentation BUILDSTDERR: configure: WARNING: limits.h: section "Present But Cannot Be Compiled" BUILDSTDERR: configure: WARNING: limits.h: proceeding with the compiler's result BUILDSTDERR: configure: WARNING: ## ---------------------------------------- ## BUILDSTDERR: configure: WARNING: ## Report this to protobuf@googlegroups.com ## BUILDSTDERR: configure: WARNING: ## ---------------------------------------- ## checking for limits.h... no checking for stdlib.h... (cached) no checking for unistd.h... (cached) no checking for working memcmp... no checking for working strtod... no checking for pow... no checking for pow in -lm... no BUILDSTDERR: configure: WARNING: cannot find library containing definition of pow checking for ftruncate... no checking for memset... no checking for mkdir... no checking for strchr... no checking for strerror... no checking for strtol... no checking zlib version... headers missing or too old (requires 1.2.0.4) checking whether g++ supports C++11 features by default... no checking whether g++ supports C++11 features with -std=c++11... no checking whether g++ supports C++11 features with +std=c++11... no checking whether g++ supports C++11 features with -h std=c++11... no checking whether g++ supports C++11 features with -std=c++0x... no checking whether g++ supports C++11 features with +std=c++0x... no checking whether g++ supports C++11 features with -h std=c++0x... no BUILDSTDERR: configure: error: *** A compiler with support for C++11 language features is required. RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.kgHx7j (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.kgHx7j (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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 --target riscv64 --nodeps /builddir/build/SPECS/protobuf.spec