ries 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 configure: info: creating ./config.lt config.lt: info: creating libtool checking for gcc-plugin.h... yes checking for tree.h... yes checking for GCC C++ plug-in headers... yes checking to build a C++ plug-in... yes checking to load a C++ plug-in... yes checking for working GCC C++ plug-in support... yes checking that generated files are newer than configure... done configure: info: creating ./config.status config.status: info: creating Makefile config.status: info: creating ../src/config-gcc-plugin.h config.status: info: executing depfiles commands config.status: info: executing libtool commands === configuring in build-libwrap (/builddir/build/BUILD/scorep-7.1/serial/build-libwrap) configure: info: running /bin/sh ../../build-libwrap/configure --disable-option-checking '--prefix=/usr' '--sbindir=/usr/sbin' '--libexecdir=/usr/libexec' '--infodir=/usr/share/info' 'FFLAGS=-g -O2' '--host=riscv64-redhat-linux-gnu' '--datadir=/usr/share' '--libdir=/usr/lib64' '--mandir=/usr/share/man' 'FC=gfortran' '--with-unwind=/builddir/build/BUILD/scorep-7.1/serial/unwind' '--program-prefix=' '--exec-prefix=/usr' '--includedir=/usr/include' '--localstatedir=/var' 'F77=gfortran' '--bindir=/usr/bin' 'CC=gcc' 'CXX=g++' 'FCFLAGS=-g -O2' 'CFLAGS=-g -O2' 'CXXFLAGS=-g -O2' '--build=riscv64-redhat-linux-gnu' '--sharedstatedir=/var/lib' '--sysconfdir=/etc' '--without-shmem' '--without-mpi' '--disable-silent-rules' '--disable-static' '--enable-shared' '--disable-dependency-tracking' 'afs_cross_compiling=no' --cache-file=/dev/null --srcdir=../../build-libwrap checking for a sed that does not truncate output... /usr/bin/sed checking for llvm-config... llvm-config 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 how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... /usr/bin/clang checking whether the C compiler works... no configure: error: in `/builddir/build/BUILD/scorep-7.1/serial/build-libwrap': configure: error: C compiler cannot create executables See `config.log' for more details configure: error: ../../build-libwrap/configure failed for build-libwrap error: Bad exit status from /var/tmp/rpm-tmp.7QI1to (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7QI1to (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/scorep.spec