INETCLIENT -DINCLUDE_INETSERVER -DINCLUDE_UNIXCLIENT -DINCLUDE_UNIXSERVER -c sha1.cpp -fPIC -DPIC -o .libs/sha1.o libtool: compile: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -pipe -Wall -Werror -Wno-deprecated-declarations -fPIC -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I/usr/include/httpd -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/bin/apr-1-config//usr/include/apr-1 -DAPACHE_2 -I/usr/include/apr-1 -DTMPDIR=\"/var/run/rudiments\" -I../ -I../include -DINCLUDE_INETCLIENT -DINCLUDE_INETSERVER -DINCLUDE_UNIXCLIENT -DINCLUDE_UNIXSERVER -c md5.cpp -fPIC -DPIC -o .libs/md5.o libtool: compile: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -pipe -Wall -Werror -Wno-deprecated-declarations -fPIC -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I/usr/include/httpd -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/bin/apr-1-config//usr/include/apr-1 -DAPACHE_2 -I/usr/include/apr-1 -DTMPDIR=\"/var/run/rudiments\" -I../ -I../include -DINCLUDE_INETCLIENT -DINCLUDE_INETSERVER -DINCLUDE_UNIXCLIENT -DINCLUDE_UNIXSERVER -c winsock.cpp -fPIC -DPIC -o .libs/winsock.o libtool: compile: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -pipe -Wall -Werror -Wno-deprecated-declarations -fPIC -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I/usr/include/httpd -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/bin/apr-1-config//usr/include/apr-1 -DAPACHE_2 -I/usr/include/apr-1 -DTMPDIR=\"/var/run/rudiments\" -I../ -I../include -DINCLUDE_INETCLIENT -DINCLUDE_INETSERVER -DINCLUDE_UNIXCLIENT -DINCLUDE_UNIXSERVER -c sha256.cpp -fPIC -DPIC -o .libs/sha256.o cc1plus: error: /bin/apr-1-config//usr/include/apr-1: Not a directory make[2]: *** [Makefile:17: sha1.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1plus: error: /bin/apr-1-config//usr/include/apr-1: Not a directory cc1plus: error: /bin/apr-1-config//usr/include/apr-1: Not a directory make[2]: *** [Makefile:17: md5.lo] Error 1 make[2]: *** [Makefile:17: winsock.lo] Error 1 cc1plus: error: /bin/apr-1-config//usr/include/apr-1: Not a directory make[2]: *** [Makefile:17: sha256.lo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/rudiments-1.3.1/src' make[1]: Leaving directory '/builddir/build/BUILD/rudiments-1.3.1/src' make[1]: *** [Makefile:23: all] Error 2 make: *** [Makefile:6: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.ppgy6r (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ppgy6r (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/rudiments.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/rudiments.spec