I would like to add a guide that worked for me:

https://www.linuxuprising.com/2019/0...velopment.html

Basically wine recently added dependencies that are not (yet) in the main repos, so it advises to use the OBS repo. Worked for me.