https://bugs.winehq.org/show_bug.cgi?id=57277
Bug ID: 57277 Summary: Wine 9.19 fails to compile Product: Wine Version: 9.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jonfarr87@gmail.com Distribution: ---
As of 9.19 it fails to compile with several errors related to 'dlls/bluetoothapis'
Log attached.
https://bugs.winehq.org/show_bug.cgi?id=57277
--- Comment #1 from Ganni87 jonfarr87@gmail.com --- Created attachment 77215 --> https://bugs.winehq.org/attachment.cgi?id=77215 Terminal log
https://bugs.winehq.org/show_bug.cgi?id=57277
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- Give us a clue here: how are you compiling?
https://bugs.winehq.org/show_bug.cgi?id=57277
--- Comment #3 from Ganni87 jonfarr87@gmail.com --- Hi Ken,
Compiling is done as follows: ./configure --enable-archs=i386,x86_64 --prefix="/home/jojo/Wine"
Tried GCC 8 and 10 same issue. Error occurs in both plain Wine and with Staging patches applied.
Issue also persists If I try with "--enable-archs=x86_64"
This issue isn't present in the 9.18 release.
https://bugs.winehq.org/show_bug.cgi?id=57277
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Keywords| |regression
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- What compiler do you use? Not only GCC, but also Mingw?
If I remember correctly, old compilers have issues like "error: initializer element is not constant", so this could be the issue.
https://bugs.winehq.org/show_bug.cgi?id=57277
Vibhav Pant vibhavp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vibhavp@gmail.com
--- Comment #5 from Vibhav Pant vibhavp@gmail.com --- Created attachment 77230 --> https://bugs.winehq.org/attachment.cgi?id=77230 Patch
Could you try building with this patch to see if it fixes the errors?
https://bugs.winehq.org/show_bug.cgi?id=57277
--- Comment #6 from Ganni87 jonfarr87@gmail.com --- @Vibhav - With the patch applied it compiles fine now.
Thanks!
https://bugs.winehq.org/show_bug.cgi?id=57277
--- Comment #7 from Vibhav Pant vibhavp@gmail.com --- Awesome, I've created this MR for the fix: https://gitlab.winehq.org/wine/wine/-/merge_requests/6643
Thanks for helping out with the patch :)
https://bugs.winehq.org/show_bug.cgi?id=57277
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- MR is merged, can we close this?
https://bugs.winehq.org/show_bug.cgi?id=57277
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |infyquest@gmail.com Resolution|--- |FIXED Fixed by SHA1| |48f198cbf620e9550e23d27cae7 | |1794612c4c63d
--- Comment #9 from Vijay Kamuju infyquest@gmail.com --- Marking it as FIXED, as submitter confirmed already for the patch and the fix is merged.
https://gitlab.winehq.org/wine/wine/-/commit/48f198cbf620e9550e23d27cae71794...
https://bugs.winehq.org/show_bug.cgi?id=57277
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.22.