l: 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=20180824 -D_GNU_SOURCE -DOS_RELEASE=262159 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=20180824 -D_GNU_SOURCE -DOS_RELEASE=262159 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: In file included from ./dapl/include/dapl.h:53, BUILDSTDERR: from dapl/udapl/dapl_init.c:39: BUILDSTDERR: ./dapl/udapl/linux/dapl_osd.h:55:2: error: #error UNDEFINED ARCH BUILDSTDERR: #error UNDEFINED ARCH BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ./dapl/include/dapl.h:53, BUILDSTDERR: from dapl/udapl/dapl_evd_create.c:40: BUILDSTDERR: ./dapl/udapl/linux/dapl_osd.h:55:2: error: #error UNDEFINED ARCH BUILDSTDERR: #error UNDEFINED ARCH BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ./dapl/include/dapl.h:53, BUILDSTDERR: from dapl/udapl/dapl_evd_query.c:39: BUILDSTDERR: ./dapl/udapl/linux/dapl_osd.h:55:2: error: #error UNDEFINED ARCH BUILDSTDERR: #error UNDEFINED ARCH BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ./dapl/include/dapl.h:53, BUILDSTDERR: from dapl/udapl/dapl_cno_create.c:39: BUILDSTDERR: ./dapl/udapl/linux/dapl_osd.h:55:2: error: #error UNDEFINED ARCH BUILDSTDERR: #error UNDEFINED ARCH BUILDSTDERR: ^~~~~ BUILDSTDERR: make[2]: *** [Makefile:2704: dapl_udapl_libdaplofa_la-dapl_init.lo] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[2]: *** [Makefile:2711: dapl_udapl_libdaplofa_la-dapl_evd_create.lo] Error 1 BUILDSTDERR: 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' BUILDSTDERR: make[2]: *** [Makefile:2725: dapl_udapl_libdaplofa_la-dapl_cno_create.lo] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dapl-2.1.9' BUILDSTDERR: make[1]: *** [Makefile:6066: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:1907: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.E7lKbu (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.E7lKbu (%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/dapl.spec