Description of problem: `winegcc` fails to build projects that include libwine headers Steps to Reproduce: 1. echo '#include <wine/debug.h>\nint main() { return 0; }' > /tmp/test.c; winegcc -c /tmp/test.c -o /tmp/test.o Actual results: Compilation fails because the WINE header could not be found Expected results: Compilation succeeds (duh) Additional info: Starting with [0], winegcc adds the includedir (which WINE was compiled with) as include path. That ensures that projects which including libwine headers, as the snippet above, compiles as is. It doesn't on Fedora, and I think it's because 'includedir' is only set at install time, and not at configure time. [0] https://source.winehq.org/git/wine.git/commitdiff/0e279d26b8386fc878f17bd6768e46e1cf9c5128 [1] https://src.fedoraproject.org/rpms/wine/blob/master/f/wine.spec#_711 [2] https://src.fedoraproject.org/rpms/wine/blob/master/f/wine.spec#_729
It seems the problem is that the wine headers are in /usr/include/wine/wine (rather than /usr/include/wine which would seem more logical).
wine-4.0-0.5.rc6.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7e99046141
wine-4.0-0.5.rc6.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7293a1b3f6
wine-4.0-0.5.rc6.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7293a1b3f6
wine-4.0-0.5.rc6.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7e99046141
wine-4.0-0.5.rc6.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
vkd3d-1.1-1.fc28 wine-4.0-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-31bc8dde6a
vkd3d-1.1-1.fc28, wine-4.0-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-31bc8dde6a
vkd3d-1.1-1.fc28, wine-4.0-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.