onf.h:48:2: error: #error "The libecap-devel package is not usable with the architecture." 48 | #error "The libecap-devel package is not usable with the architecture." | ^~~~~ In file included from Host.cc:14: /usr/include/libecap/common/registry.h:15:75: error: 'LIBECAP_VERSION' was not declared in this scope; did you mean 'SSL_SECOP_VERSION'? 15 | extern bool RegisterVersionedService(adapter::Service *s, const char *v = LIBECAP_VERSION); | ^~~~~~~~~~~~~~~ | SSL_SECOP_VERSION Host.cc: In function 'bool SupportedVersion(const char*, const char*)': Host.cc:104:27: error: 'LIBECAP_VERSION' was not declared in this scope; did you mean 'SSL_SECOP_VERSION'? 104 | const SBuf vSupported(LIBECAP_VERSION); | ^~~~~~~~~~~~~~~ | SSL_SECOP_VERSION make[4]: *** [Makefile:866: libecapsquid_la-Host.lo] Error 1 make[4]: Entering directory '/builddir/build/BUILD/squid-4.14/src/adaptation/ecap' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I../../.. -I../../../include -I../../../lib -I../../../src -I../../../include -I/usr/include/libxml2 -O2 -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 libecapsquid_la-ServiceRep.lo `test -f 'ServiceRep.cc' || echo './'`ServiceRep.cc libtool: compile: g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I../../.. -I../../../include -I../../../lib -I../../../src -I../../../include -I/usr/include/libxml2 -O2 -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 ServiceRep.cc -fPIC -DPIC -o .libs/libecapsquid_la-ServiceRep.o In file included from /usr/include/libecap/common/libecap.h:7, from /usr/include/libecap/common/forward.h:6, from /usr/include/libecap/host/host.h:6, from ../../../src/adaptation/ecap/Host.h:14, from ServiceRep.cc:13: /usr/include/libecap/common/autoconf.h:48:2: error: #error "The libecap-devel package is not usable with the architecture." 48 | #error "The libecap-devel package is not usable with the architecture." | ^~~~~ make[4]: *** [Makefile:880: libecapsquid_la-ServiceRep.lo] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/squid-4.14/src/adaptation/ecap' make[3]: *** [Makefile:938: all-recursive] Error 1 make[2]: *** [Makefile:7129: all-recursive] Error 1 make[1]: *** [Makefile:6139: all] Error 2 make: *** [Makefile:588: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.PtMI3b (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.PtMI3b (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/squid.spec