ardour-3.5.380 (at least) requires glibmm >= 2.32.0. Otherwise it fails during the configure stage.
Thanks Dennis for reporting! This is fixed now.