ad exchange.idl:4201: warning: [out] argument `size' not a pointer exchange.idl:4202: warning: [out] argument `offset' not a pointer Generating property.h Compiling property.idl Generating gen_ndr/ndr_property.h Compiling property.idl Generating asyncemsmdb.h Compiling asyncemsmdb.idl Generating gen_ndr/ndr_asyncemsmdb.h Compiling asyncemsmdb.idl ./script/mkversion.sh: line 40: git: command not found ./script/mkversion.sh: 'libmapi/version.h' created for OpenChange libmapi("2.3 (Vulcan)") Generating gen_ndr/ndr_exchange_c.h Compiling exchange.idl exchange.idl:1445: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:1511: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:1537: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:1551: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:1807: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:2462: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:2468: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:2511: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:2984: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:3552: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:3614: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:3689: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:4203: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:4204: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:4646: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead exchange.idl:4201: warning: [out] argument `size' not a pointer exchange.idl:4202: warning: [out] argument `offset' not a pointer exchange.idl:4201: error: EcDoRpc: [out] argument 'size' is not a pointer or array, skip client functions Generating gen_ndr/ndr_asyncemsmdb_c.h Compiling asyncemsmdb.idl Compiling libmapi/emsmdb.c with -fPIC : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from libmapi/emsmdb.c:24: ./libmapi/libmapi_private.h:74:70: error: unknown type name ‘ndr_flags_type’ 74 | enum ndr_err_code ndr_push_PersistElementArray(struct ndr_push *ndr, ndr_flags_type ndr_flags, const struct PersistElementArray *r); | ^~~~~~~~~~~~~~ ./libmapi/libmapi_private.h:75:70: error: unknown type name ‘ndr_flags_type’ 75 | enum ndr_err_code ndr_pull_PersistElementArray(struct ndr_pull *ndr, ndr_flags_type ndr_flags, struct PersistElementArray *r); | ^~~~~~~~~~~~~~ make: *** [Makefile:125: libmapi/emsmdb.po] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.pYchEe (%build) RPM build warnings: %patchN is deprecated (23 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.pYchEe (%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/openchange.spec