SSLEAY_VERSION Host.cc: In function 'bool SupportedVersion(const char*, const char*)': Host.cc:103:27: error: 'LIBECAP_VERSION' was not declared in this scope; did you mean 'SSLEAY_VERSION'? 103 | const SBuf vSupported(LIBECAP_VERSION); | ^~~~~~~~~~~~~~~ | SSLEAY_VERSION make[4]: *** [Makefile:879: libecapsquid_la-Host.lo] Error 1 make[4]: Entering directory '/builddir/build/BUILD/squid-6.5/src/adaptation/ecap' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -std=c++17 -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 -Wall -Wextra -Wimplicit-fallthrough=5 -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Wmissing-declarations -Woverloaded-virtual -pipe -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -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 -fno-omit-frame-pointer -c -o libecapsquid_la-ServiceRep.lo `test -f 'ServiceRep.cc' || echo './'`ServiceRep.cc libtool: compile: g++ -std=c++17 -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 -Wall -Wextra -Wimplicit-fallthrough=5 -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Wmissing-declarations -Woverloaded-virtual -pipe -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -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 -fno-omit-frame-pointer -c ServiceRep.cc -fPIC -DPIC -o .libs/libecapsquid_la-ServiceRep.o make[4]: Leaving directory '/builddir/build/BUILD/squid-6.5/src/adaptation/ecap' 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:893: libecapsquid_la-ServiceRep.lo] Error 1 make[3]: *** [Makefile:949: all-recursive] Error 1 make[2]: *** [Makefile:6005: all-recursive] Error 1 make[1]: *** [Makefile:5005: all] Error 2 make: *** [Makefile:600: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.riW3bO (%build) Bad exit status from /var/tmp/rpm-tmp.riW3bO (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/squid.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/squid.spec