<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>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. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>cgroup_dbus.c: In function '_set_scope_properties':<o:p></o:p></p><p class=MsoNormal>cgroup_dbus.c:118:28: error: 'DBUS_MESSAGE_ITER_INIT_CLOSED' undeclared (first use in this function); did you mean 'DBUS_MESSAGE_TYPE_INVALID'?<o:p></o:p></p><p class=MsoNormal> DBusMessageIter it[4] = { DBUS_MESSAGE_ITER_INIT_CLOSED };<o:p></o:p></p><p class=MsoNormal> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></p><p class=MsoNormal> DBUS_MESSAGE_TYPE_INVALID<o:p></o:p></p><p class=MsoNormal>cgroup_dbus.c:118:28: note: each undeclared identifier is reported only once for each function it appears in<o:p></o:p></p><p class=MsoNormal>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]<o:p></o:p></p><p class=MsoNormal> dbus_message_iter_abandon_container_if_open(&it[2], &it[3]);<o:p></o:p></p><p class=MsoNormal> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></p><p class=MsoNormal> dbus_message_iter_abandon_container<o:p></o:p></p><p class=MsoNormal>cgroup_dbus.c: In function '_set_scope_aux':<o:p></o:p></p><p class=MsoNormal>cgroup_dbus.c:243:24: error: 'DBUS_MESSAGE_ITER_INIT_CLOSED' undeclared (first use in this function); did you mean 'DBUS_MESSAGE_TYPE_INVALID'?<o:p></o:p></p><p class=MsoNormal> DBusMessageIter it1 = DBUS_MESSAGE_ITER_INIT_CLOSED;<o:p></o:p></p><p class=MsoNormal> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></p><p class=MsoNormal> DBUS_MESSAGE_TYPE_INVALID<o:p></o:p></p><p class=MsoNormal>cgroup_dbus.c: In function '_abandon_scope':<o:p></o:p></p><p class=MsoNormal>cgroup_dbus.c:280:29: error: 'DBUS_MESSAGE_ITER_INIT_CLOSED' undeclared (first use in this function); did you mean 'DBUS_MESSAGE_TYPE_INVALID'?<o:p></o:p></p><p class=MsoNormal> DBusMessageIter args_itr = DBUS_MESSAGE_ITER_INIT_CLOSED;<o:p></o:p></p><p class=MsoNormal> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></p><p class=MsoNormal> DBUS_MESSAGE_TYPE_INVALID<o:p></o:p></p><p class=MsoNormal>cgroup_dbus.c: In function 'cgroup_dbus_attach_to_scope':<o:p></o:p></p><p class=MsoNormal>cgroup_dbus.c:350:29: error: 'DBUS_MESSAGE_ITER_INIT_CLOSED' undeclared (first use in this function); did you mean 'DBUS_MESSAGE_TYPE_INVALID'?<o:p></o:p></p><p class=MsoNormal> DBusMessageIter args_itr = DBUS_MESSAGE_ITER_INIT_CLOSED;<o:p></o:p></p><p class=MsoNormal> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></p><p class=MsoNormal> DBUS_MESSAGE_TYPE_INVALID<o:p></o:p></p><p class=MsoNormal>make[5]: *** [cgroup_dbus.lo] Error 1<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><b><span style='color:#002060;mso-ligatures:none'>Mike Robbert</span></b><span style='color:black;mso-ligatures:none'><o:p></o:p></span></p><p class=MsoNormal><b><span style='color:#002060;mso-ligatures:none'>Cyberinfrastructure Specialist, Cyberinfrastructure and Advanced Research Computing</span></b><span style='color:black;mso-ligatures:none'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#767171;mso-ligatures:none'>Information and Technology Solutions (ITS)</span><span style='color:black;mso-ligatures:none'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#767171;mso-ligatures:none'>303-273-3786 | </span><span style='color:black;mso-ligatures:none'><a href="mailto:mrobbert@mines.edu"><span style='color:#0563C1'>mrobbert@mines.edu</span></a></span><span style='color:#767171;mso-ligatures:none'> </span><span style='font-size:12.0pt;color:#767171;mso-ligatures:none'> </span><span style='color:black;mso-ligatures:none'><o:p></o:p></span></p><p class=MsoNormal><span style='color:black;mso-ligatures:none'><img border=0 width=208 height=38 style='width:2.1666in;height:.3958in' id="Picture_x0020_1" src="cid:image001.png@01D9B964.F8C74F60" alt="A close up of a sign
Description automatically generated"><o:p></o:p></span></p><p class=MsoNormal><b><span style='color:#2B4160;mso-ligatures:none'>Our values:</span></b><span style='color:#2B4160;mso-ligatures:none'> </span><span style='color:#767171;mso-ligatures:none'>Trust | Integrity | Respect | Responsibility</span><span style='color:black;mso-ligatures:none'><o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>