r/include/libecap/common/libecap.h:7, BUILDSTDERR: from /usr/include/libecap/common/forward.h:6, BUILDSTDERR: from /usr/include/libecap/common/name.h:6, BUILDSTDERR: from /usr/include/libecap/common/names.h:6, BUILDSTDERR: from MessageRep.cc:15: BUILDSTDERR: /usr/include/libecap/common/autoconf.h:48:2: error: #error "The libecap-devel package is not usable with the architecture." BUILDSTDERR: #error "The libecap-devel package is not usable with the architecture." BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from Host.cc:14: BUILDSTDERR: /usr/include/libecap/common/registry.h:15:75: error: 'LIBECAP_VERSION' was not declared in this scope BUILDSTDERR: extern bool RegisterVersionedService(adapter::Service *s, const char *v = LIBECAP_VERSION); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/libecap/common/registry.h:15:75: note: suggested alternative: 'SSL_SECOP_VERSION' BUILDSTDERR: extern bool RegisterVersionedService(adapter::Service *s, const char *v = LIBECAP_VERSION); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: SSL_SECOP_VERSION BUILDSTDERR: Host.cc: In function 'bool SupportedVersion(const char*, const char*)': BUILDSTDERR: Host.cc:104:27: error: 'LIBECAP_VERSION' was not declared in this scope BUILDSTDERR: const SBuf vSupported(LIBECAP_VERSION); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: MessageRep.cc: In member function 'libecap::Name Adaptation::Ecap::FirstLineRep::protocol() const': BUILDSTDERR: MessageRep.cc:136:12: warning: enumeration value 'PROTO_TLS' not handled in switch [-Wswitch] BUILDSTDERR: switch (theMessage.http_ver.protocol) { BUILDSTDERR: ^ BUILDSTDERR: MessageRep.cc:136:12: warning: enumeration value 'PROTO_SSL' not handled in switch [-Wswitch] BUILDSTDERR: MessageRep.cc:136:12: warning: enumeration value 'PROTO_AUTHORITY_FORM' not handled in switch [-Wswitch] BUILDSTDERR: Host.cc:104:27: note: suggested alternative: 'SSL_SECOP_VERSION' BUILDSTDERR: const SBuf vSupported(LIBECAP_VERSION); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: SSL_SECOP_VERSION BUILDSTDERR: make[4]: *** [Makefile:843: libecapsquid_la-Config.lo] Error 1 BUILDSTDERR: make[4]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[4]: *** [Makefile:850: libecapsquid_la-Host.lo] Error 1 BUILDSTDERR: make[4]: *** [Makefile:857: libecapsquid_la-MessageRep.lo] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/squid-4.2/src/adaptation/ecap' BUILDSTDERR: make[4]: *** [Makefile:864: libecapsquid_la-ServiceRep.lo] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/squid-4.2/src/adaptation' BUILDSTDERR: make[3]: *** [Makefile:919: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/squid-4.2/src' BUILDSTDERR: make[2]: *** [Makefile:6945: all-recursive] Error 1 BUILDSTDERR: make[1]: *** [Makefile:5961: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/squid-4.2/src' BUILDSTDERR: make: *** [Makefile:582: all-recursive] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.2JodsK (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.2JodsK (%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/squid.spec