dapl/udapl/dapl_evd_create.c -fPIC -DPIC -o .libs/dapl_udapl_libdaplofa_la-dapl_evd_create.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/rdma/dat.conf\" -DMPXYD_CONF=\"/etc/rdma/mpxyd.conf\" -DPACKAGE_DATE=20240416 -D_GNU_SOURCE -DOS_RELEASE=393216 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_cma -I./dapl/openib_cma/linux -O2 -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 dapl/udapl/dapl_evd_query.c -fPIC -DPIC -o .libs/dapl_udapl_libdaplofa_la-dapl_evd_query.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/rdma/dat.conf\" -DMPXYD_CONF=\"/etc/rdma/mpxyd.conf\" -DPACKAGE_DATE=20240416 -D_GNU_SOURCE -DOS_RELEASE=393216 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_cma -I./dapl/openib_cma/linux -O2 -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 dapl/udapl/dapl_cno_create.c -fPIC -DPIC -o .libs/dapl_udapl_libdaplofa_la-dapl_cno_create.o In file included from ./dapl/include/dapl.h:53, from dapl/udapl/dapl_init.c:39: ./dapl/udapl/linux/dapl_osd.h:55:2: error: #error UNDEFINED ARCH 55 | #error UNDEFINED ARCH | ^~~~~ In file included from ./dapl/include/dapl.h:53, from dapl/udapl/dapl_evd_create.c:40: ./dapl/udapl/linux/dapl_osd.h:55:2: error: #error UNDEFINED ARCH 55 | #error UNDEFINED ARCH | ^~~~~ In file included from ./dapl/include/dapl.h:53, from dapl/udapl/dapl_evd_query.c:39: ./dapl/udapl/linux/dapl_osd.h:55:2: error: #error UNDEFINED ARCH 55 | #error UNDEFINED ARCH | ^~~~~ In file included from ./dapl/include/dapl.h:53, from dapl/udapl/dapl_cno_create.c:39: ./dapl/udapl/linux/dapl_osd.h:55:2: error: #error UNDEFINED ARCH 55 | #error UNDEFINED ARCH | ^~~~~ make[2]: *** [Makefile:2711: dapl_udapl_libdaplofa_la-dapl_evd_create.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:2718: dapl_udapl_libdaplofa_la-dapl_evd_query.lo] Error 1 make[2]: *** [Makefile:2704: dapl_udapl_libdaplofa_la-dapl_init.lo] Error 1 make[2]: *** [Makefile:2725: dapl_udapl_libdaplofa_la-dapl_cno_create.lo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/dapl-2.1.9' make[1]: *** [Makefile:6066: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dapl-2.1.9' make: *** [Makefile:1907: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.3rfwtG (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.3rfwtG (%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/dapl.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/dapl.spec