https://bugs.winehq.org/show_bug.cgi?id=51932
Bug ID: 51932 Summary: wine-stable 6.0.2 build fails in Ubuntu 21.10 Product: Wine Version: 6.0.2 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wldap32 Assignee: wine-bugs@winehq.org Reporter: dimesio@earthlink.net Distribution: ---
Created attachment 70898 --> https://bugs.winehq.org/attachment.cgi?id=70898 OBS build log from 64 bit Ubuntu 21.10
All the other builds were fine, but it failed in Ubuntu 21.10:
[ 962s] In file included from dlls/wldap32/add.c:33: [ 962s] 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 *)'} [ 962s] 323 | ULONG CDECL ldap_connect(WLDAP32_LDAP*,LDAP_TIMEVAL*); [ 962s] | ^~~~~~~~~~~~ [ 962s] In file included from dlls/wldap32/add.c:26: [ 962s] /usr/include/ldap.h:1555:1: note: previous declaration of 'ldap_connect' with type 'int(LDAP *)' {aka 'int(struct ldap *)'} [ 962s] 1555 | ldap_connect( LDAP *ld ); [ 962s] | ^~~~~~~~~~~~ [ 962s] make[1]: *** [Makefile:126215: dlls/wldap32/add.o] Error 1 [ 962s] make[1]: *** Waiting for unfinished jobs.... [ 964s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 964s] dh_auto_build: error: make -j3 returned exit code 2 [ 964s] make: *** [debian/rules:13: build] Error 25 [ 964s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Attaching the OBS build log from the 64 bit package; the 32 bit one also failed.