While fixing Bug 1383, seemingly Mesa has evolved to now support the compatibility profiles - or at least not returning its availability if incomplete or non compliant. https://www.mesa3d.org/relnotes/18.2.0.html
commit 70f360d1a58405502a5a2a0f95a2f2abda94d488