so the culprit seems to be CVE-2021-36160.patch , if I build the focal version without that patch, the issue is resolved
** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2021-36160 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1945274 Title: security updates are breaking mod_wsgi apps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1945274/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs