Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/commoncpp2.spec'], chrootPath='/var/lib/mock/f31-build-57499-28339/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/commoncpp2.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1532995200 Wrote: /builddir/build/SRPMS/commoncpp2-1.8.1-16.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/commoncpp2.spec'], chrootPath='/var/lib/mock/f31-build-57499-28339/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/commoncpp2.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1532995200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.feVTXu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf commoncpp2-1.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/commoncpp2-1.8.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd commoncpp2-1.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (commoncpp2-1.8.1-statfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (commoncpp2-1.8.1-statfix.patch): patching file src/applog.cpp Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uuFBZr + umask 022 + cd /builddir/build/BUILD + cd commoncpp2-1.8.1 + 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' + 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 + '[' 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 ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub BUILDSTDERR: ++ basename ./autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess BUILDSTDERR: ++ basename ./autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/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"~' ./autoconf/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 --disable-static --disable-dependency-tracking '/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' '/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' 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 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 how to run the C preprocessor... gcc -E checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed 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... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes 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... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes 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__... yes checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... gcc -E checking for library containing strerror... none required checking for MSC environment... no 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar 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... ok checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E 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... no 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... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate 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 for style of include used by make... GNU checking dependency style of gcc... none checking dependency style of g++... none checking for C/C++ restrict keyword... __restrict checking for working volatile... yes checking for inline... inline checking for riscv64-redhat-linux-gnu-ranlib... ranlib checking for genorated automake files... found checking whether to enable maintainer-specific portions of Makefiles... no checking for Win32 gnu environment... no checking whether system meets Posix.1... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking whether time.h and sys/time.h may both be included... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking bits/wordsize.h usability... yes checking bits/wordsize.h presence... yes checking for bits/wordsize.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking for sigaction... yes checking for setitimer... yes checking for sigwait... yes checking bsd/signal.h usability... no checking bsd/signal.h presence... no checking for bsd/signal.h... no checking return type of signal handlers... void checking whether sigwait has 2 arguments... yes checking for strcasecmp... yes checking for strings.h... (cached) yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking for getopt... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long in -lgnugetopt... no checking for getopt_long... yes checking for dlfcn.h... (cached) yes checking for shl_load in -ldld... no checking for dlopen in -ldl... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking sys/atomic_op.h usability... no checking sys/atomic_op.h presence... no checking for sys/atomic_op.h... no checking sys/atomic.h usability... no checking sys/atomic.h presence... no checking for sys/atomic.h... no checking thread.h usability... no checking thread.h presence... no checking for thread.h... no checking whether gcc accepts -kthread... no checking whether gcc accepts -pthread... yes checking for pthread_self in -lpthread... yes checking for pthread_mach_thread_np in -lpthread... no checking for nanosleep in -lpthread... yes checking for clock_gettime in -lrt... yes checking for mlockall in -lrt... yes checking if more special flags are required for pthreads... no checking pthread_np.h usability... no checking pthread_np.h presence... no checking for pthread_np.h... no checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking sys/sched.h usability... no checking sys/sched.h presence... no checking for sys/sched.h... no checking for sched_getscheduler... yes checking for recursive mutex type support... linux checking for pthread_mutexattr_settype in -lpthread... yes checking for pthread_rwlock_init in -lpthread... yes checking for pread in -lc... yes checking for pthread_suspend in -lpthread... no checking for pthread_attr_setstacksize in -lpthread... yes checking for pthread_yield_np in -lpthread... no checking for pthread_yield in -lpthread... yes checking for pthread_cancel in -lpthread... yes checking for pthread_setcanceltype in -lpthread... yes checking for pthread_delay_np in -lpthread... no checking for setenv... yes checking for localtime_r in -lpthread... yes checking for readdir_r in -lpthread... yes checking for strerror_r in -lpthread... yes checking for getpwuid_r in -lpthread... yes checking for getgrnam_r in -lpthread... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking for poll... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking select.h usability... no checking select.h presence... no checking for select.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking netinet/inet.h usability... no checking netinet/inet.h presence... no checking for netinet/inet.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for socket in -lsocket... no checking for getaddrinfo in -lc... yes checking netinet6/in6.h usability... no checking netinet6/in6.h presence... no checking for netinet6/in6.h... no checking linux/in6.h usability... yes checking linux/in6.h presence... yes checking for linux/in6.h... yes checking for inet_pton in -lc... yes checking for gethostbyname2 in -lc... yes checking sys/libcsys.h usability... no checking sys/libcsys.h presence... no checking for sys/libcsys.h... no checking for inet_aton in -lc... yes checking for socklen_t defined... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes BUILDSTDERR: checkiconfig.status: WARNING: 'commoncpp2.list.in' seems to ignore the --datarootdir setting + /usr/bin/make ng for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking for net/if.h... (cached) yes checking for linux/netfilter_ipv4.h... yes checking for linux/netfilter_ipv6.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking syslog.hposix_evlog.h usability... no checking syslog.hposix_evlog.h presence... no checking for syslog.hposix_evlog.h... no checking ss.h usability... no checking ss.h presence... no checking for ss.h... no checking ioctl.h usability... no checking ioctl.h presence... no checking for ioctl.h... no checking for realpath... yes checking for lstat... yes checking for snprintf... yes checking for memmove... yes checking for strdup... yes checking for lockf... yes checking for waitpid... yes checking for wait4... yes checking for gettimeofday... yes checking for posix_memalign... yes checking for setegid... yes checking for setpgrp... yes checking for getpagesize... yes checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking whether g++ has built-in bool type... yes checking whether g++ supports -fhandle-exceptions... no checking whether g++ supports exception handling... yes checking exception usability... yes checking exception presence... yes checking for exception... yes checking whether g++ supports mutable... yes checking whether g++ supports namespace... yes checking wheather old style iostreams... no checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking whether g++ has new(size_t,void*)... yes checking for debugging... no checking for profiling... no checking for doxygen... /usr/bin/doxygen configure: creating ./config.status config.status: creating src/ccgnu2-config config.status: creating src/libccext2.pc config.status: creating src/libccgnu2.pc config.status: creating src/Makefile config.status: creating w32/Makefile config.status: creating w32/vs2008/Makefile config.status: creating w32/vs2008/ccext2.vcproj config.status: creating w32/vs2008/ccgnu2.vcproj config.status: creating w32/vs2008/common.sln config.status: creating m4/Makefile config.status: creating doc/Doxyfile config.status: creating doc/Makefile config.status: creating demo/Makefile config.status: creating inc/Makefile config.status: creating inc/cc++/Makefile config.status: creating Makefile config.status: creating commoncpp2.spec config.status: creating tests/Makefile config.status: creating commoncpp2.list config.status: creating w32/ccgnu2.dsp config.status: creating w32/ccext2.dsp config.status: creating w32/ccgnu2.vcproj config.status: creating w32/ccext2.vcproj config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands /usr/bin/make all-recursive make[1]: Entering directory '/builddir/build/BUILD/commoncpp2-1.8.1' Making all in inc make[2]: Entering directory '/builddir/build/BUILD/commoncpp2-1.8.1/inc' Making all in cc++ make[3]: Entering directory '/builddir/build/BUILD/commoncpp2-1.8.1/inc/cc++' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/commoncpp2-1.8.1/inc/cc++' make[3]: Entering directory '/builddir/build/BUILD/commoncpp2-1.8.1/inc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/commoncpp2-1.8.1/inc' make[2]: Leaving directory '/builddir/build/BUILD/commoncpp2-1.8.1/inc' Making all in src make[2]: Entering directory '/builddir/build/BUILD/commoncpp2-1.8.1/src' BUILDSTDERR: /bin/sh ../libtool --tag=CXIn file included from ../inc/cc++/thread.h:50, BUILDSTDERR: from thread.cpp:41: BUILDSTDERR: ../inc/cc++/string.h:734:35: error: friend declaration of 'std::istream& getline(std::istream&, ost::String&, char, size_t)' specifies default arguments and isn't a definition [-fpermissive] BUILDSTDERR: 734 | friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: make[2]: *** [Makefile:549: thread.lo] Error 1 BUILDSTDERR: make[1]: *** [Makefile:379: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:304: all] Error 2 X --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -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 -c -o thread.lo thread.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -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 -c thread.cpp -fPIC -DPIC -o .libs/thread.o make[2]: Leaving directory '/builddir/build/BUILD/commoncpp2-1.8.1/src' make[1]: Leaving directory '/builddir/build/BUILD/commoncpp2-1.8.1' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.uuFBZr (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.uuFBZr (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/commoncpp2.spec