-tables -fstack-clash-protection -c -o liblwp_la-lwp.lo `test -f 'lwp.c' || echo './'`lwp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DLWPDEBUG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c iomgr.c -fPIC -DPIC -o .libs/liblwp_la-iomgr.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DLWPDEBUG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c lock.c -fPIC -DPIC -o .libs/liblwp_la-lock.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DLWPDEBUG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fasttime.c -fPIC -DPIC -o .libs/liblwp_la-fasttime.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DLWPDEBUG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c lwp.c -fPIC -DPIC -o .libs/liblwp_la-lwp.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DLWPDEBUG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o liblwp_la-timer.lo `test -f 'timer.c' || echo './'`timer.c lwp.c:67:10: fatal error: valgrind/valgrind.h: No such file or directory 67 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:444: liblwp_la-lwp.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DLWPDEBUG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c timer.c -fPIC -DPIC -o .libs/liblwp_la-timer.o make[2]: Leaving directory '/builddir/build/BUILD/lwp-2.6/src' make[1]: *** [Makefile:379: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/lwp-2.6' make: *** [Makefile:278: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.BB5Aqn (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.BB5Aqn (%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/lwp.spec