dhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c 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=20210419 -D_GNU_SOURCE -DOS_RELEASE=327685 -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 -flto=auto -ffat-lto-objects -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 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=20210419 -D_GNU_SOURCE -DOS_RELEASE=327685 -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 -flto=auto -ffat-lto-objects -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 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_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_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_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:2704: dapl_udapl_libdaplofa_la-dapl_init.lo] Error 1 make[2]: *** [Makefile:2718: dapl_udapl_libdaplofa_la-dapl_evd_query.lo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/dapl-2.1.9' make[2]: *** [Makefile:2725: dapl_udapl_libdaplofa_la-dapl_cno_create.lo] Error 1 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.porgtL (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.porgtL (%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/dapl.spec