Error When Applying Wine-Staging Patches During Compilation

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
zhangs2025
Newbie
Newbie
Posts: 4
Joined: Sun Mar 30, 2025 1:49 am

Error When Applying Wine-Staging Patches During Compilation

Post by zhangs2025 »

I tried to compile Wine-Staging on Ubuntu 20.04.6 Desktop using the following steps:
1) Installed all the dependencies.
2) Cloned both the wine and wine-staging repositories using the following commands:
git clone https://gitlab.winehq.org/wine/wine.git
git clone https://gitlab.winehq.org/wine/wine-staging.git
3) Ran the patch installation script with the following commands:
cd wine-staging
./staging/patchinstall.py DESTDIR=../wine --all
Then I encountered the following errors:
/home/geo/wine-staging/staging/../patches/gitapply.sh -d ../wine < /home/geo/wine-staging/staging/../patches/winedevice-Default_Drivers/0001-win32k.sys-Add-stub-driver.patch
error: patch failed: configure.ac:3192
error: configure.ac: patch does not apply
Failed to apply patch winedevice-Default_Drivers/0001-win32k.sys-Add-stub-driver.patch
Post Reply