MC uses upower to check when the machine is going to sleep and when it resumes. These features have been removed in upower 1.0 and moved to logind. MC currently fails to compile with upower 0.99+
I suspect this is a duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=70458 (I found 70458 by searching for connectivity_monitor_set_awake to see if there were any porting suggestions.)
Thanks for noticing. I have now also patched the 5.16 branch to disable upower support if upower is >= 0.99, like Simon suggested in the other bug report. *** This bug has been marked as a duplicate of bug 70458 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.