https://bugs.winehq.org/show_bug.cgi?id=48533
--- Comment #6 from minion minion.procyk@gmail.com --- i build wine from fedora 31 without any issues.
I found it pretty easy to setup:
dnf install "Development Tools" dnf build-dep wine-devel
and then try ./configure --enable-win64 && make -jN
this is pretty much all you need. youll be missing a couple packages that are optional. now you can run from your build tree.
./wine --version should print your running git version.