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.014154
First Submitted: 2020-06-12 13:41 (UTC)
Last Updated: 2023-12-19 21:13 (UTC)

Required by (352)

Sources (4)

Latest Comments

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

gloomy commented on 2022-02-17 16:37 (UTC)

I am having a compile error:

../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:109:45: warning: ‘struct futex_waitv’ declared inside parameter list will not be visible outside of this definition or declaration
  109 | static inline void futex_vector_set( struct futex_waitv *waitv, int *addr, int val )
      |                                             ^~~~~~~~~~~
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c: In function ‘futex_vector_set’:
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:111:10: error: invalid use of undefined type ‘struct futex_waitv’
  111 |     waitv->uaddr = (uintptr_t) addr;
      |          ^~
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:112:10: error: invalid use of undefined type ‘struct futex_waitv’
  112 |     waitv->val = val;
      |          ^~
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:113:10: error: invalid use of undefined type ‘struct futex_waitv’
  113 |     waitv->flags = FUTEX_32;
      |          ^~
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:113:20: error: ‘FUTEX_32’ undeclared (first use in this function)
  113 |     waitv->flags = FUTEX_32;
      |                    ^~~~~~~~
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:113:20: note: each undeclared identifier is reported only once for each function it appears in
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:114:10: error: invalid use of undefined type ‘struct futex_waitv’
  114 |     waitv->__reserved = 0;
      |          ^~
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c: At top level:
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:117:53: warning: ‘struct futex_waitv’ declared inside parameter list will not be visible outside of this definition or declaration
  117 | static inline int futex_wait_multiple( const struct futex_waitv *futexes,
      |                                                     ^~~~~~~~~~~
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c: In function ‘do_single_wait’:
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:725:28: error: array type has incomplete element type ‘struct futex_waitv’
  725 |         struct futex_waitv futexes[2];
      |                            ^~~~~~~
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:725:28: warning: unused variable ‘futexes’ [-Wunused-variable]
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c: In function ‘__fsync_wait_objects’:
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:756:24: error: array type has incomplete element type ‘struct futex_waitv’
  756 |     struct futex_waitv futexes[MAXIMUM_WAIT_OBJECTS + 1];
      |                        ^~~~~~~
../wine-proton-wine-6.3-8c/dlls/ntdll/unix/fsync.c:756:24: warning: unused variable ‘futexes’ [-Wunused-variable]

Any idea if something can be done?

mynis01 commented on 2021-12-29 17:31 (UTC)

@heavysink

The upgrade built without any intervention for me today. Thanks for letting us know what changed!

heavysink commented on 2021-12-29 04:39 (UTC)

@solloron1 @mynis01 @HHL

From LDAP 2.5, openldap introduces some functions like ldap_connect which conflicts with the private built-in function in wine. I looked at https://github.com/curl/curl/issues/7004 for curl and renamed the functions in wine from ldap_connect to oldap_connect. It now builds. Please wait for the buildbot lilac to push the patch.

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.