Package Details: wine-valve 5:8.0.5-1

Git Clone URL: https://aur.archlinux.org/wine-valve.git (read-only, click to copy)
Package Base: wine-valve
Description: A compatibility layer for running Windows programs (Valve version)
Upstream URL: https://github.com/ValveSoftware/wine.git
Licenses: LGPL
Conflicts: bin32-wine, wine, wine-staging, wine-staging-git, wine-wow64
Provides: bin32-wine, wine, wine-valve, wine-wow64
Replaces: bin32-wine
Submitter: heavysink
Maintainer: heavysink (lilac)
Last Packager: lilac
Votes: 12
Popularity: 0.122867
First Submitted: 2020-06-12 13:41 (UTC)
Last Updated: 2023-12-19 21:13 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

mmmaisel commented on 2025-02-02 15:56 (UTC)

The current PKGBUILD file of this package is a outdated. Can you please try if it builds the latest Proton version with the following patch?

diff --git a/PKGBUILD b/PKGBUILD
index 6c225d0..222f54b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,8 @@
 # Contributor: heavysink <winstonwu91 at gmail>
 pkgname=wine-valve
 epoch=5
-pkgver=8.0.5
-_pkgver='8.0-5'
+pkgver=9.0.3
+_pkgver='9.0-3'
 pkgrel=1
 pkgdesc='A compatibility layer for running Windows programs (Valve version)'
 arch=('i686' 'x86_64')
@@ -111,10 +111,11 @@ prepare() {
     sed 's|OpenCL/opencl.h|CL/opencl.h|g' -i configure*
     patch -p1 < ../futex.patch
     ./dlls/winevulkan/make_vulkan
+    ./tools/make_specfiles

     # Doesn't compile without remove these flags as of 4.10
     export CFLAGS="${CFLAGS/-fno-plt/} -ffat-lto-objects"
-    export LDFLAGS="${LDFLAGS/,-z,now/}"
+    export LDFLAGS="${LDFLAGS/-Wl,-z,now/}"

     # Get rid of old build dirs
     rm -rf $srcdir/$pkgname-{32,64}-build
@@ -189,7 +190,7 @@ package() {
   x86_64-w64-mingw32-strip --strip-unneeded "$pkgdir"/usr/lib/wine/x86_64-windows/*.dll
 }

-sha256sums=('7af74248820bdfbda65e2daa0b7a946f2fdeb60a02f994eff7ffdb0993c94c2e'
+sha256sums=('df33e623a864cfd9a48a51dd2979d5dc25a03266729faa35f09388be2fb61523'
             '9901a5ee619f24662b241672a7358364617227937d5f6d3126f70528ee5111e7'
             '6dfdefec305024ca11f35ad7536565f5551f09119dda2028f194aee8f77077a4'
             '7c73a0fd35d8905d5d0fc33f5cf1558f77b4d70e544c92034ffe41a9d50d8c40')
-- 
2.48.1

NY152 commented on 2025-01-29 19:40 (UTC) (edited on 2025-01-29 19:41 (UTC) by NY152)

Hello, I have a package compilation error, if anyone can help me, that would be great, thanks in advance

gcc -m64 -c -o dlls/winex11.drv/opengl.o ../wine-proton-wine-8.0-5/dlls/winex11.drv/opengl.c -Idlls/winex11.drv \ -I../wine-proton-wine-8.0-5/dlls/winex11.drv -Iinclude -I../wine-proton-wine-8.0-5/include \ -D__WINESRC__ -D_UCRT -DWINE_UNIX_LIB -Wall -pipe -fcf-protection=none -fno-stack-protector \ -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self \ -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \ -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -fPIC \ -fasynchronous-unwind-tables -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 make: *** [Makefile:256414: dlls/winex11.drv/fs.o] Error 1 make: *** Attente des tâches non terminées.... <ligne-de-commande>: attention: « _FORTIFY_SOURCE » redéfini <ligne-de-commande>: note: ceci est l'emplacement d’une précédente définition Dans le fichier inclus depuis ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_thunks.c:20: ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_thunks.c: Dans la fonction « copy_VkSubmitInfo »: ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_private.h:507:80: attention: utilisation invalide de « sizeof » sur un type void [-Wpointer-arith] 507 | #define MEMDUP(ctx, dst, src, count) dst = conversion_context_alloc(ctx, sizeof(*dst) * count); \ | ^ ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_thunks.c:29730:13: note: dans l'expansion de la macro « MEMDUP » 29730 | MEMDUP(ctx, out_ext->pTag, in_ext->pTag, in_ext->tagSize); | ^~~~~~ ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_private.h:508:36: attention: utilisation invalide de « sizeof » sur un type void [-Wpointer-arith] 508 | memcpy((void *)dst, src, sizeof(*dst) * count); | ^ ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_thunks.c:29730:13: note: dans l'expansion de la macro « MEMDUP » 29730 | MEMDUP(ctx, out_ext->pTag, in_ext->pTag, in_ext->tagSize); | ^~~~~~ ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_thunks.c: Dans la fonction « copy_VkSubmitInfo2 »: ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_private.h:507:80: attention: utilisation invalide de « sizeof » sur un type void [-Wpointer-arith] 507 | #define MEMDUP(ctx, dst, src, count) dst = conversion_context_alloc(ctx, sizeof(*dst) * count); \ | ^ ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_thunks.c:30070:13: note: dans l'expansion de la macro « MEMDUP » 30070 | MEMDUP(ctx, out_ext->pTag, in_ext->pTag, in_ext->tagSize); | ^~~~~~ ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_private.h:508:36: attention: utilisation invalide de « sizeof » sur un type void [-Wpointer-arith] 508 | memcpy((void *)dst, src, sizeof(*dst) * count); | ^ ../wine-proton-wine-8.0-5/dlls/winevulkan/vulkan_thunks.c:30070:13: note: dans l'expansion de la macro « MEMDUP » 30070 | MEMDUP(ctx, out_ext->pTag, in_ext->pTag, in_ext->tagSize); | ^~~~~~ ==> ERREUR : Une erreur s’est produite dans build(). Abandon… -> erreur lors de la compilation de : wine-valve-exit status 4 -> Échec de l'installation des paquets suivants. Une intervention manuelle est requise : wine-valve - exit status 4

mmmaisel commented on 2024-09-20 16:10 (UTC)

The "-Wl" gcc issue is caused by an incomplete string substitution. To fix this, in the prepare() function replace the line export LDFLAGS="${LDFLAGS/,-z,now/}" with export LDFLAGS="${LDFLAGS/-Wl,-z,now/}".

Also when building newer wine-valve versions like 9.0, some header files have to be generated with a script. To do so, in the prepare function add ./tools/make_specfiles directly after ./dlls/winevulkan/make_vulkan.

TipsyTheCat commented on 2024-08-08 01:30 (UTC)

When installing, fails at:

checking whether the C compiler works... no
configure: error: in '/run/media/tipsy/HDD/pamac-AUR-build-dir/wine-valve/src/wine-valve-64-build':
configure: error: C compiler cannot create executables
See 'config.log' for more details
==> ERROR: A failure occurred in build().
    Aborting...

Taking a peek in config.log:

checking whether the C compiler works
configure:5290: gcc -march=x86-64 -mtune=generic -O2 -pipe  -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffat-lto-objects  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl          -Wl,-z,pack-relative-relocs conftest.c  >&5
gcc: error: unrecognized command-line option '-Wl'; did you mean '-W'?
configure:5294: $? = 1
configure:5335: result: no

I'm not sure if wine is simply being built wrong or if this is an issue i need to report to valves wine repo? it seems like the -Wl flag is being used incorrectly, causing gcc to not recognize the flag. Notably though, there is alot of whitespace after it as well as in other places in the command to call gcc. I'm not sure what this could mean though... I also tried with _pkgver set to 9.0-2 for the latest version, but got the exact same problem.

And that's about the end of what I know. I'm kinda out of my depth a bit here, just trying to install wine with valves game specific tweaks as my system wine.

FoxMaccloud commented on 2023-04-12 15:09 (UTC)

Error attempting to update wine-valve with yay.

../wine-proton-wine-7.0-6e/tools/install-sh -m 644  tools/wmc/wmc.man /home/foxmaccloud/.cache/yay/wine-valve/pkg/wine-valve/usr/share/man/man1/wmc.1
STRIPPROG="strip" ../wine-proton-wine-7.0-6e/tools/install-sh  tools/wmc/wmc /home/foxmaccloud/.cache/yay/wine-valve/pkg/wine-valve/usr/bin/wmc
../wine-proton-wine-7.0-6e/tools/install-sh -m 644  tools/wrc/wrc.man /home/foxmaccloud/.cache/yay/wine-valve/pkg/wine-valve/usr/share/man/man1/wrc.1
STRIPPROG="strip" ../wine-proton-wine-7.0-6e/tools/install-sh  tools/wrc/wrc /home/foxmaccloud/.cache/yay/wine-valve/pkg/wine-valve/usr/bin/wrc
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: wine-valve-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
wine-valve - exit status 4

xiretza commented on 2023-02-26 09:07 (UTC)

What's the reason for the options=('!debug' 'strip') in the latest commit?

NY152 commented on 2023-02-24 22:58 (UTC)

Same error as mynis01 ...

mynis01 commented on 2023-02-14 19:38 (UTC)

I had issues building this package with yay ever since the update to 3:7.0.6-1 in December. Today I had the idea to start to install wine-stable and keep the dependencies and then cancel the install of wine-stable. I was able to build wine-valve without issues afterwards. So there might be a missing dependency here. The error I was getting at the end of the build attempt was this:

error: undefined symbol: _D3DKMTEnumAdapters2@4