NyanCatTW1 / robloxWineBuildGuide

A hopefully complete guide on how to build latest Wine using wine-tkg-git, with the goal of playing Roblox on Linux without hassle.
MIT License
32 stars 4 forks source link

Ongoing wine-tkg-git issue: Build fails after commit 1e7c6d7 (2022-05-25) #18

Closed Nolij closed 2 years ago

Nolij commented 2 years ago

Following the instructions exactly I get this error when attempting to build:

In file included from /usr/include/X11/Xlib.h:44,
                 from ../wine-mirror-git/dlls/winex11.drv/systray.c:31:
../wine-mirror-git/include/processthreadsapi.h:43:11: error: expected identifier or ‘(’ before numeric constant
   43 |     ULONG ControlMask;
      |           ^~~~~~~~~~~

This happens in multiple places. I've tried a clean build. I've updated my packages. I've built successfully in the past. Distro is Arch Linux (not an "i use arch btw" I mention for context about build dependency versions).

rolexlinux commented 2 years ago

Same here kernel 5.18.0-arch1-1 (fresh build)

rolexlinux commented 2 years ago

Building on normal wine-tkg-git without any patches fails with the same issue

rolexlinux commented 2 years ago

Nvm I opened the issue at the wrong repo lol there is an issue here tho https://github.com/Frogging-Family/wine-tkg-git/issues/779

NyanCatTW1 commented 2 years ago

This seems like a tough one...I'll try to build it myself and see if I could reproduce the issue.

Update 1: Found upstream issue: https://github.com/Frogging-Family/wine-tkg-git/issues/779 wine-tkg-git builds appear to not work currently ...Wait, rolexlinux found this issue already, ¯\_(ツ)_/¯

Update 2: Reproduced the error on default config, rebuilding without staging... Update 3: Reproduced the error on Mainline master, trying wine-7.8 branch... Update 4: Error not present on wine-7.8, trying wine-7.7...

Nolij commented 2 years ago

This seems like a tough one...I'll try to build it myself and see if I could reproduce the issue.

Update 1: Found upstream issue: Frogging-Family/wine-tkg-git#779 wine-tkg-git builds appear to not work currently ...Wait, rolexlinux found this issue already, ¯_(ツ)_/¯

Update 2: Reproduced the error on default config, rebuilding without staging... Update 3: Reproduced the error on Mainline master, trying wine-7.8 branch...

7.7 was even failing for me, not sure 7.8 will be any better

NyanCatTW1 commented 2 years ago

You happen to be online? Nice! Let's meet on #wine Grapejuice

Nolij commented 2 years ago

xdMatthewbx#1337

NyanCatTW1 commented 2 years ago

The faulty commit is https://github.com/wine-mirror/wine/commit/1e7c6d73c8f558668c6140d4a97fae0ad51d71eb

NyanCatTW1 commented 2 years ago

Further update & workarounds can be found in upstream https://github.com/Frogging-Family/wine-tkg-git/issues/779 , this issue will stay open until upstream fixes the issue.

NyanCatTW1 commented 2 years ago

Fixed in upstream: https://github.com/Frogging-Family/wine-tkg-git/commit/134bc9bda15fce13c378af3d5e6e35d629664a56 The fix was practically identical to my workaround, just implemented differently ¯\_(ツ)_/¯

Closing issue.