Package Details: wine-valve 5:9.0.3-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: mmmaisel
Last Packager: mmmaisel
Votes: 13
Popularity: 0.54
First Submitted: 2020-06-12 13:41 (UTC)
Last Updated: 2025-06-27 16:03 (UTC)

Required by (392)

Sources (4)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

solloron1 commented on 2021-12-21 02:21 (UTC) (edited on 2021-12-21 02:28 (UTC) by solloron1)

If anyone was struggling like me to get this to build @Ketsui advice works. I didn't know how to perform the patch so after some googling and reading I figured it out. If anyone else is looking for a solution:

Add this to source: https://raw.githubusercontent.com/bobwya/gentoo-wine-ebuild-common/master/patches/wine-4.6-msvcrt_add_sincos_to_importlib.patch

Add this to prepare(): patch -p1 -i ../wine-4.6-msvcrt_add_sincos_to_importlib.patch

Then install the PKGBUILD with makepkg -si

Also downgrade your LDAP to 2.4 as well.

Ketsui commented on 2021-11-25 08:52 (UTC)

If you get "undefined reference to `sincosf'" build error then there's a fix here: https://forum.winehq.org/viewtopic.php?p=134388&sid=c369077afbbc53149576435941339abb#p134388

The release version 6.3-8 builds for me after applying the aforementioned patch and disabling ldap, also I was surprised to find the resulting package being double the size of the wine package from community, please consider adding these lines to package() to fix this:

i686-w64-mingw32-strip --strip-unneeded "$pkgdir"/usr/lib32/wine/*.dll
x86_64-w64-mingw32-strip --strip-unneeded "$pkgdir"/usr/lib/wine/*.dll

mynis01 commented on 2021-11-21 20:08 (UTC)

I just tested and I was able to build this latest version of wine-valve from the AUR after downgrading lib32-libldap and libldap to the old 2.4.x versions I had in the pacman cache.

mynis01 commented on 2021-11-21 19:35 (UTC)

@HHL it looks like they're having the same problem with proton: https://aur.archlinux.org/packages/proton/

The maintainer said they'd push out a build soon that builds wine without LDAP. Maybe something similar can be done for this package too. I doubt many people would ever need LDAP for gaming.

HHL commented on 2021-11-21 13:41 (UTC)

1:6.3.8.rc5-1 fails building for me. Last working (i.e. installed) is 6.3.20210616-1. Installing with paru. Regarding the earlier comment, I have community/vkd3d. But from the log I get it's to do with ldap: I have core/libldap 2.6.0-2 and lib32-libldap 2.6.0-1.

In file included from ../wine-proton-wine-6.3-8-rc5/dlls/wldap32/ber.c:30:
../wine-proton-wine-6.3-8-rc5/dlls/wldap32/winldap_private.h:323:13: error: conflicting types for ‘ldap_connect’; have ‘ULONG(WLDAP32_LDAP *, LDAP_TIMEVAL *)’ {aka ‘unsigned int(struct wldap32 *, struct l_timeval *)’}
  323 | ULONG CDECL ldap_connect(WLDAP32_LDAP*,LDAP_TIMEVAL*);
      |             ^~~~~~~~~~~~
In file included from ../wine-proton-wine-6.3-8-rc5/dlls/wldap32/ber.c:25:
/usr/include/ldap.h:1555:1: note: previous declaration of ‘ldap_connect’ with type ‘int(LDAP *)’ {aka ‘int(struct ldap *)’}
 1555 | ldap_connect( LDAP *ld );
      | ^~~~~~~~~~~~
In file included from ../wine-proton-wine-6.3-8-rc5/dlls/wldap32/add.c:33:
../wine-proton-wine-6.3-8-rc5/dlls/wldap32/winldap_private.h:323:13: error: conflicting types for ‘ldap_connect’; have ‘ULONG(WLDAP32_LDAP *, LDAP_TIMEVAL *)’ {aka ‘unsigned int(struct wldap32 *, struct l_timeval *)’}
  323 | ULONG CDECL ldap_connect(WLDAP32_LDAP*,LDAP_TIMEVAL*);
      |             ^~~~~~~~~~~~
In file included from ../wine-proton-wine-6.3-8-rc5/dlls/wldap32/add.c:26:
/usr/include/ldap.h:1555:1: note: previous declaration of ‘ldap_connect’ with type ‘int(LDAP *)’ {aka ‘int(struct ldap *)’}
 1555 | ldap_connect( LDAP *ld );
      | ^~~~~~~~~~~~
make: *** [Makefile:266906: dlls/wldap32/ber.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:266881: dlls/wldap32/add.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'wine-valve-1:6.3.8.rc5-1'

blau commented on 2021-11-19 10:15 (UTC)

I am also facing this problem...

SimonJ commented on 2021-11-18 16:17 (UTC)

Same error here with a native linux install. It is using the Nvidia 470 driver.

WyekS commented on 2021-11-17 21:51 (UTC)

I had enabled multilib-build. The order in which the packages are installed does not alter the result. I still get the same error

heavysink commented on 2021-11-17 20:44 (UTC) (edited on 2021-11-17 20:46 (UTC) by heavysink)

Strange... Lilac is a build bot and it only updates AUR if the compilation is successful. Have you tried multilib-build? Since it is possible that, say, you installed vkd3d-valve which provides vkd3d so it bypasses the dependency check but it will fail.

karolyi commented on 2021-11-17 20:32 (UTC)

I've got the same error on manjaro.