ocessor... 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