Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A failure occurred in build(). #1232

Open
Aerialflame7125 opened this issue Aug 7, 2024 · 3 comments
Open

A failure occurred in build(). #1232

Aerialflame7125 opened this issue Aug 7, 2024 · 3 comments

Comments

@Aerialflame7125
Copy link

Arch Linux;
image

Mainly attempted to install wine-tkg-roblox via the tutorial here:
Here is prepare.log:
prepare.log

@noisecode3
Copy link

This happens when I build an older wine like 9.8, with the vulkan child window proton patch

HEAD is now at 655de4b0bf0 Release 9.8.

childwindow-proton-5481415.patch -- ( Applied child window for vk patch )
patching file dlls/win32u/ntuser_private.h
Hunk #1 succeeded at 258 (offset 1 line).
patching file dlls/win32u/vulkan.c
Hunk #9 FAILED at 298.
Hunk #10 FAILED at 326.
Hunk #11 succeeded at 305 (offset -55 lines).
2 out of 11 hunks FAILED -- saving rejects to file dlls/win32u/vulkan.c.rej
patching file dlls/win32u/window.c
patching file dlls/winemac.drv/vulkan.c
patching file dlls/winewayland.drv/vulkan.c
patching file dlls/winex11.drv/vulkan.c
patching file dlls/winex11.drv/window.c
Hunk #1 succeeded at 1469 (offset 13 lines).
Hunk #2 succeeded at 1636 (offset 13 lines).
Hunk #3 succeeded at 1646 (offset 13 lines).
Hunk #4 succeeded at 1838 (offset 13 lines).
Hunk #5 succeeded at 1857 (offset 13 lines).
Hunk #6 succeeded at 1865 (offset 13 lines).
Hunk #7 succeeded at 2718 (offset 65 lines).
patching file dlls/winex11.drv/x11drv.h
Hunk #1 succeeded at 656 (offset 7 lines).
patching file include/wine/vulkan_driver.h

You see it failed at 298 and 326; It's just c and we can figure that out easy by just looking at the old/new patch and the code and see what its about and what is going.

That patch might not be the most important so it can still work but should be addressed at some point

@noisecode3
Copy link

so in my case with wine 9.8 it was just before it implemented lazy vulkan functions. To fix this it can check if its before it had lazy vulkan so it should add this patch before it add the this one. In you're case it was the config file is that still a problem?
I can pr this one but not sure you're problem is still present
some line like that should be the problem
git merge-base --is-ancestor 5481415d438d41ac2b9fe42beb669d19af3af974 HEAD;

@noisecode3
Copy link

no Im not doing that, maybe organize patches with a number 0000-name.patch... like that for a start. its too messy.. do I have to script something just to find the patch ord.. Im out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants