Has anybody built a recent version of Slurm on the Amazon Linux 2 OS? I am attempting to do this, but it fails every time with the below error message. I it looks like dbus support was added to Slurm’s cgroup plugin, but the 'DBUS_MESSAGE_ITER_INIT_CLOSED' API was added in a version of Dbus that is newer than what Amazon Linux 2 provides. RHEL 7 has the same version of Dbus, but doesn’t hit this because these calls are in the cgroup v2 code and RHEL 7 doesn’t have cgroup v2. Can anybody confirm that this is a bug or dependency issue or might I have something else messed up on the instance where I’m attempting this build? Does anybody know how I can work around this for now? I have tried building with “—without-hwloc” which I thought would disable the cgroup plugin, but the build process is still trying to build it even after a make clean.
cgroup_dbus.c: In function '_set_scope_properties': cgroup_dbus.c:118:28: error: 'DBUS_MESSAGE_ITER_INIT_CLOSED' undeclared (first use in this function); did you mean 'DBUS_MESSAGE_TYPE_INVALID'? DBusMessageIter it[4] = { DBUS_MESSAGE_ITER_INIT_CLOSED }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBUS_MESSAGE_TYPE_INVALID cgroup_dbus.c:118:28: note: each undeclared identifier is reported only once for each function it appears in cgroup_dbus.c:231:2: warning: implicit declaration of function 'dbus_message_iter_abandon_container_if_open'; did you mean 'dbus_message_iter_abandon_container'? [-Wimplicit-function-declaration] dbus_message_iter_abandon_container_if_open(&it[2], &it[3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbus_message_iter_abandon_container cgroup_dbus.c: In function '_set_scope_aux': cgroup_dbus.c:243:24: error: 'DBUS_MESSAGE_ITER_INIT_CLOSED' undeclared (first use in this function); did you mean 'DBUS_MESSAGE_TYPE_INVALID'? DBusMessageIter it1 = DBUS_MESSAGE_ITER_INIT_CLOSED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBUS_MESSAGE_TYPE_INVALID cgroup_dbus.c: In function '_abandon_scope': cgroup_dbus.c:280:29: error: 'DBUS_MESSAGE_ITER_INIT_CLOSED' undeclared (first use in this function); did you mean 'DBUS_MESSAGE_TYPE_INVALID'? DBusMessageIter args_itr = DBUS_MESSAGE_ITER_INIT_CLOSED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBUS_MESSAGE_TYPE_INVALID cgroup_dbus.c: In function 'cgroup_dbus_attach_to_scope': cgroup_dbus.c:350:29: error: 'DBUS_MESSAGE_ITER_INIT_CLOSED' undeclared (first use in this function); did you mean 'DBUS_MESSAGE_TYPE_INVALID'? DBusMessageIter args_itr = DBUS_MESSAGE_ITER_INIT_CLOSED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBUS_MESSAGE_TYPE_INVALID make[5]: *** [cgroup_dbus.lo] Error 1 Mike Robbert Cyberinfrastructure Specialist, Cyberinfrastructure and Advanced Research Computing Information and Technology Solutions (ITS) 303-273-3786 | mrobb...@mines.edu <mailto:mrobb...@mines.edu> Our values: Trust | Integrity | Respect | Responsibility
smime.p7s
Description: S/MIME cryptographic signature