You can see the problem at https://github.com/lucbf/MysqlWorkbench-Community-Flathub-
I am willing to continue the project if someone manages to fix the link error
Might be possible to fix by updating ANTLR to 4.9.2