https://bugs.winehq.org/show_bug.cgi?id=44729
--- Comment #10 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Scorpion from comment #9)
I cloned the sources, installed flex and bizon package. Do I need to install FreeType 64-bit development too?
It looks like you can again install precompiled Wine-staging (as you`re on ubuntu too):
https://forum.winehq.org/viewtopic.php?f=2&t=30383
Could you try and report backplease if the error is still there?