Frogging-Family / wine-tkg-git

The wine-tkg build systems, to create custom Wine and Proton builds
897 stars 166 forks source link

Wine-tkg fails to build due to a "missing" mingw header or something #1017

Closed gabriele2000 closed 1 year ago

gabriele2000 commented 1 year ago

My config settings: _LOCAL_PRESET=default-tkg

_nomakepkg_dep_resolution_distro="" _use_GE_patches="true" _staging_version="v8.9" _use_esync="false" _use_fsync="true" _dxvk_dxgi="true" _proton_battleye_support="true" _proton_eac_support="true" _re4_fix="false" _childwindow_fix="true" _lol920_fix="false" _assettocorsa_hudperf_fix="false" _mk11_fix="false" _ffxivlauncher_fix="false" _kof98_2002_BGM_fix="false" _quake_champions_fix="false" _use_josh_flat_theme="true" _FS_bypass_compositor="true" _proton_fs_hack="true" _proton_rawinput="true" _msvcrt_nativebuiltin="false" _win10_default="true" _protonify="false" _community_patches=""

_nomakepkg_nover="true" _PKGNAME_OVERRIDE="none" _GCC_FLAGS="-O3 -march=native -mtune=native -pipe -ftree-vectorize -funroll-loops -ftree-loop-im -finline-functions -ffast-math" _CROSS_FLAGS="-O3 -march=native -mtune=native -pipe -ftree-vectorize -funroll-loops -ftree-loop-im -finline-functions -ffast-math" _LD_FLAGS="-Wl,-O3,--sort-common,--as-needed" _CROSS_LD_FLAGS="-Wl,-O3,--sort-common,--as-needed" _pkg_strip="true" _NUKR="true" _NOLIB32="true" _NOMINGW="false" _github_mirrorsrc="false" _configure_userargs64="--with-gstreamer --without-ldap --without-oss --disable-winemenubuilder --disable-win16" _fsync_spincounts="false"

_sims3_fix="false" _staging_pulse_disable="false"

_CSMT_toggle="true" _GLSL_toggle="true" _MIME_NOPE="true" _FOAS_NOPE="false" _stg_shared_mem_default="true"

_sdl_joy_support="true" _large_address_aware="true" _proton_bcrypt="false"

The error:

bison -o libs/vkd3d/libs/vkd3d-shader/preproc.tab.c ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y
tools/winebuild/winebuild -w --implib -o dlls/hidclass.sys/x86_64-windows/libhidclass.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/hidclass.sys/hidclass.sys.spec
tools/winebuild/winebuild -w --implib -o dlls/mapi32/x86_64-windows/libmapi32.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/mapi32/mapi32.spec
In file included from /usr/share/mingw-w64/include/unknwnbase.h:47,
                 from /usr/share/mingw-w64/include/objidlbase.h:439,
                 from ../wine-git/include/combaseapi.h:29,
                 from ../wine-git/include/objbase.h:267,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/wtypesbase.h:148:16: error: redefinition of ‘struct _SECURITY_ATTRIBUTES’
  148 | typedef struct _SECURITY_ATTRIBUTES {
      |                ^~~~~~~~~~~~~~~~~~~~
In file included from ../wine-git/include/windows.h:39,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
../wine-git/include/winbase.h:241:16: note: originally defined here
  241 | typedef struct _SECURITY_ATTRIBUTES
      |                ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/mingw-w64/include/unknwnbase.h:47,
                 from /usr/share/mingw-w64/include/objidlbase.h:439,
                 from ../wine-git/include/combaseapi.h:29,
                 from ../wine-git/include/objbase.h:267,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/wtypesbase.h:151:5: error: unknown type name ‘WINBOOL’
  151 |     WINBOOL bInheritHandle;
      |     ^~~~~~~
/usr/share/mingw-w64/include/wtypesbase.h:152:3: error: conflicting types for ‘SECURITY_ATTRIBUTES’
  152 | } SECURITY_ATTRIBUTES;
      |   ^~~~~~~~~~~~~~~~~~~
In file included from ../wine-git/include/windows.h:39,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
../wine-git/include/winbase.h:246:3: note: previous declaration of ‘SECURITY_ATTRIBUTES’ was here
  246 | } SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
      |   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/share/mingw-w64/include/unknwnbase.h:47,
                 from /usr/share/mingw-w64/include/objidlbase.h:439,
                 from ../wine-git/include/combaseapi.h:29,
                 from ../wine-git/include/objbase.h:267,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/wtypesbase.h:153:38: error: conflicting types for ‘PSECURITY_ATTRIBUTES’
  153 | typedef struct _SECURITY_ATTRIBUTES *PSECURITY_ATTRIBUTES;
      |                                      ^~~~~~~~~~~~~~~~~~~~
In file included from ../wine-git/include/windows.h:39,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
../wine-git/include/winbase.h:246:25: note: previous declaration of ‘PSECURITY_ATTRIBUTES’ was here
  246 | } SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
      |                         ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/mingw-w64/include/unknwnbase.h:47,
                 from /usr/share/mingw-w64/include/objidlbase.h:439,
                 from ../wine-git/include/combaseapi.h:29,
                 from ../wine-git/include/objbase.h:267,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/wtypesbase.h:154:38: error: conflicting types for ‘LPSECURITY_ATTRIBUTES’
  154 | typedef struct _SECURITY_ATTRIBUTES *LPSECURITY_ATTRIBUTES;
      |                                      ^~~~~~~~~~~~~~~~~~~~~
In file included from ../wine-git/include/windows.h:39,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
../wine-git/include/winbase.h:246:48: note: previous declaration of ‘LPSECURITY_ATTRIBUTES’ was here
  246 | } SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
      |                                                ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/mingw-w64/include/objidlbase.h:439,
                 from ../wine-git/include/combaseapi.h:29,
                 from ../wine-git/include/objbase.h:267,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/unknwnbase.h:354:9: error: unknown type name ‘WINBOOL’
  354 |         WINBOOL fLock);
      |         ^~~~~~~
/usr/share/mingw-w64/include/unknwnbase.h:406:5: error: unknown type name ‘WINBOOL’
  406 |     WINBOOL fLock);
      |     ^~~~~~~
/usr/share/mingw-w64/include/unknwnbase.h:423:5: error: unknown type name ‘WINBOOL’
  423 |     WINBOOL fLock);
      |     ^~~~~~~
/usr/share/mingw-w64/include/unknwnbase.h:426:5: error: unknown type name ‘WINBOOL’
  426 |     WINBOOL fLock);
      |     ^~~~~~~
In file included from ../wine-git/include/combaseapi.h:29,
                 from ../wine-git/include/objbase.h:267,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/objidlbase.h:1317:9: error: unknown type name ‘WINBOOL’
 1317 |         WINBOOL fLastReleaseCloses);
      |         ^~~~~~~
In file included from ../wine-git/include/objbase.h:268,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/wtypes.h:434:23: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘Lo’
  434 |     unsigned __LONG32 Lo;
      |                       ^~
ccache gcc -m64 -c -o dlls/winewayland.drv/display.o ../wine-git/dlls/winewayland.drv/display.c -Idlls/winewayland.drv \
  -I../wine-git/dlls/winewayland.drv -Iinclude -I../wine-git/include -D__WINESRC__ -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 -O3 -march=native -mtune=native -pipe -ftree-vectorize -funroll-loops -ftree-loop-im -finline-functions -ffast-math -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
In file included from ../wine-git/include/objbase.h:270,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/objidl.h:7016:9: error: unknown type name ‘WINBOOL’
 7016 |         WINBOOL fSpyed);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:7020:9: error: unknown type name ‘WINBOOL’
 7020 |         WINBOOL fSpyed);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:7027:9: error: unknown type name ‘WINBOOL’
 7027 |         WINBOOL fSpyed);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:7032:9: error: unknown type name ‘WINBOOL’
 7032 |         WINBOOL fSpyed);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:7037:9: error: unknown type name ‘WINBOOL’
 7037 |         WINBOOL fSpyed);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:7042:9: error: unknown type name ‘WINBOOL’
 7042 |         WINBOOL fSpyed);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:7047:9: error: unknown type name ‘WINBOOL’
 7047 |         WINBOOL fSpyed);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:7052:9: error: unknown type name ‘WINBOOL’
 7052 |         WINBOOL fSpyed,
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:7605:5: error: expected specifier-qualifier-list before ‘WINBOOL’
 7605 |     WINBOOL (STDMETHODCALLTYPE *IsRunning)(
      |     ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:7675:18: error: expected ‘,’ or ‘;’ before ‘IRunnableObject_IsRunning_Proxy’
 7675 | WINBOOL CALLBACK IRunnableObject_IsRunning_Proxy(
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/mingw-w64/include/objidl.h:7979:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 7979 |         WINBOOL fClearDirty);
      |         ^~~~~~~
ccache gcc -m64 -c -o dlls/winewayland.drv/wayland.o ../wine-git/dlls/winewayland.drv/wayland.c -Idlls/winewayland.drv \
  -I../wine-git/dlls/winewayland.drv -Iinclude -I../wine-git/include -D__WINESRC__ -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 -O3 -march=native -mtune=native -pipe -ftree-vectorize -funroll-loops -ftree-loop-im -finline-functions -ffast-math -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
/usr/share/mingw-w64/include/objidl.h:8176:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 8176 |         WINBOOL fClearDirty);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:8207:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 8207 |         WINBOOL fOnlyIfNotGeneric,
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:8212:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 8212 |         WINBOOL fForward,
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:9096:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 9096 |         WINBOOL fRemember);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:9237:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 9237 |         WINBOOL fSameAsLoad);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:10755:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
10755 |         WINBOOL fRelease);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:10866:5: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
10866 |     WINBOOL fRelease);
      |     ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:10892:5: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
10892 |     WINBOOL fRelease);
      |     ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:10897:5: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
10897 |     WINBOOL fRelease);
      |     ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:11339:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
11339 |         WINBOOL bCanceled);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:11478:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
11478 |         WINBOOL fAccurate,
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:11479:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
11479 |         WINBOOL fOwner);
      |         ^~~~~~~
/usr/share/mingw-w64/include/objidl.h:12524:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
12524 |         WINBOOL *pfApplicationAware);
      |         ^~~~~~~
ccache gcc -m64 -c -o dlls/winewayland.drv/wayland_output.o ../wine-git/dlls/winewayland.drv/wayland_output.c -Idlls/winewayland.drv \
  -I../wine-git/dlls/winewayland.drv -Iinclude -I../wine-git/include -D__WINESRC__ -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 -O3 -march=native -mtune=native -pipe -ftree-vectorize -funroll-loops -ftree-loop-im -finline-functions -ffast-math -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
In file included from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
../wine-git/include/objbase.h:369:95: error: unknown type name ‘SOLE_AUTHENTICATION_SERVICE’
  369 | WINOLE32API HRESULT WINAPI CoInitializeSecurity(PSECURITY_DESCRIPTOR pSecDesc, LONG cAuthSvc, SOLE_AUTHENTICATION_SERVICE* asAuthSvc, void* pReserved1, DWORD dwAuthnLevel, DWORD dwImpLevel, void* pReserved2, DWORD dwCapabilities, void* pReserved3);
      |                                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ccache gcc -m64 -c -o dlls/winewayland.drv/waylanddrv_main.o ../wine-git/dlls/winewayland.drv/waylanddrv_main.c -Idlls/winewayland.drv \
  -I../wine-git/dlls/winewayland.drv -Iinclude -I../wine-git/include -D__WINESRC__ -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 -O3 -march=native -mtune=native -pipe -ftree-vectorize -funroll-loops -ftree-loop-im -finline-functions -ffast-math -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
../wine-git/include/objbase.h:372:76: error: unknown type name ‘SOLE_AUTHENTICATION_SERVICE’
  372 | WINOLE32API HRESULT WINAPI CoQueryAuthenticationServices(DWORD* pcAuthSvc, SOLE_AUTHENTICATION_SERVICE** asAuthSvc);
      |                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ccache gcc -m64 -c -o dlls/winewayland.drv/window.o ../wine-git/dlls/winewayland.drv/window.c -Idlls/winewayland.drv \
  -I../wine-git/dlls/winewayland.drv -Iinclude -I../wine-git/include -D__WINESRC__ -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 -O3 -march=native -mtune=native -pipe -ftree-vectorize -funroll-loops -ftree-loop-im -finline-functions -ffast-math -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
ccache gcc -m64 -c -o dlls/winewayland.drv/xdg-output-unstable-v1-protocol.o dlls/winewayland.drv/xdg-output-unstable-v1-protocol.c -Idlls/winewayland.drv \
  -I../wine-git/dlls/winewayland.drv -Iinclude -I../wine-git/include -D__WINESRC__ -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 -O3 -march=native -mtune=native -pipe -ftree-vectorize -funroll-loops -ftree-loop-im -finline-functions -ffast-math -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
In file included from /usr/share/mingw-w64/include/urlmon.h:448,
                 from ../wine-git/include/objbase.h:502,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/oleidl.h:451:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
  451 |         WINBOOL fRelease);
      |         ^~~~~~~
tools/winebuild/winebuild -w --implib -o dlls/jsproxy/x86_64-windows/libjsproxy.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/jsproxy/jsproxy.spec
/usr/share/mingw-w64/include/oleidl.h:596:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
  596 |         WINBOOL fRelease);
      |         ^~~~~~~
In file included from /usr/share/mingw-w64/include/urlmon.h:448,
                 from ../wine-git/include/objbase.h:502,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/oleidl.h:928:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
  928 |         WINBOOL fLock);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:1051:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 1051 |         WINBOOL fShow);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:1309:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 1309 |         WINBOOL fCreation,
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:1578:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 1578 |         WINBOOL fEnterMode);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:1906:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 1906 |         WINBOOL fLock);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2047:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2047 |         WINBOOL fEnterMode);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2185:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2185 |         WINBOOL fEnterMode);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2194:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2194 |         WINBOOL fActivate);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2198:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2198 |         WINBOOL fActivate);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2204:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2204 |         WINBOOL fFrameWindow);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2208:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2208 |         WINBOOL fEnable);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2283:5: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2283 |     WINBOOL fFrameWindow);
      |     ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2298:5: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2298 |     WINBOOL fFrameWindow);
      |     ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2304:5: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2304 |     WINBOOL fFrameWindow);
      |     ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2319:5: error: expected specifier-qualifier-list before ‘WINBOOL’
 2319 |     WINBOOL fMDIApp;
      |     ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2387:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2387 |         WINBOOL fEnterMode);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2429:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2429 |         WINBOOL fEnable);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2576:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2576 |         WINBOOL fEnterMode);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2728:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2728 |         WINBOOL fEnterMode);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:2754:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2754 |         WINBOOL fUndoable);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:3014:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 3014 |         WINBOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),
      |         ^~~~~~~
In file included from /usr/share/mingw-w64/include/urlmon.h:448,
                 from ../wine-git/include/objbase.h:502,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/oleidl.h:3164:5: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 3164 |     WINBOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),
      |     ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:3269:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 3269 |         WINBOOL (STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue),
      |         ^~~~~~~
/usr/share/mingw-w64/include/oleidl.h:3420:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 3420 |         WINBOOL fEscapePressed,
      |         ^~~~~~~
tools/winebuild/winebuild -w --implib -o dlls/dhcpcsvc/x86_64-windows/libdhcpcsvc.delay.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/dhcpcsvc/dhcpcsvc.spec
tools/winebuild/winebuild -w --implib -o dlls/compstui/x86_64-windows/libcompstui.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/compstui/compstui.spec
tools/winebuild/winebuild -w --implib -o dlls/imagehlp/x86_64-windows/libimagehlp.delay.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/imagehlp/imagehlp.spec
In file included from /usr/share/mingw-w64/include/msxml.h:25,
                 from /usr/share/mingw-w64/include/urlmon.h:450,
                 from ../wine-git/include/objbase.h:502,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/oaidl.h:3865:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 3865 |         WINBOOL *pfName);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oaidl.h:3984:5: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 3984 |     WINBOOL *pfName,
      |     ^~~~~~~
/usr/share/mingw-w64/include/oaidl.h:4042:5: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 4042 |     WINBOOL *pfName);
      |     ^~~~~~~
/usr/share/mingw-w64/include/oaidl.h:4047:5: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 4047 |     WINBOOL *pfName,
      |     ^~~~~~~
/usr/share/mingw-w64/include/oaidl.h:4165:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 4165 |         WINBOOL *pfName);
      |         ^~~~~~~
/usr/share/mingw-w64/include/oaidl.h:5154:5: error: expected specifier-qualifier-list before ‘WINBOOL’
 5154 |     WINBOOL (STDMETHODCALLTYPE *IsMatchingType)(
      |     ^~~~~~~
tools/winegcc/winegcc -o dlls/wmi/x86_64-windows/wmi.dll --wine-objdir . -b x86_64-w64-mingw32 -Wl,--wine-builtin -shared \
  ../wine-git/dlls/wmi/wmi.spec -Wb,--data-only -Wl,-O3,--sort-common,--as-needed
tools/winebuild/winebuild -w --implib -o dlls/wow64/x86_64-windows/libwow64.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/wow64/wow64.spec
tools/winebuild/winebuild -w --implib -o dlls/dnsapi/x86_64-windows/libdnsapi.delay.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/dnsapi/dnsapi.spec
In file included from /usr/share/mingw-w64/include/urlmon.h:450,
                 from ../wine-git/include/objbase.h:502,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/msxml.h:2795:68: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2795 |       HRESULT (WINAPI *get_JavaDSOCompatible)(IXMLDSOControl *This,WINBOOL *fJavaDSOCompatible);
      |                                                                    ^~~~~~~
/usr/share/mingw-w64/include/msxml.h:2796:68: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2796 |       HRESULT (WINAPI *put_JavaDSOCompatible)(IXMLDSOControl *This,WINBOOL fJavaDSOCompatible);
      |                                                                    ^~~~~~~
/usr/share/mingw-w64/include/msxml.h:2822:82: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2822 |   HRESULT WINAPI IXMLDSOControl_get_JavaDSOCompatible_Proxy(IXMLDSOControl *This,WINBOOL *fJavaDSOCompatible);
      |                                                                                  ^~~~~~~
/usr/share/mingw-w64/include/msxml.h:2824:82: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2824 |   HRESULT WINAPI IXMLDSOControl_put_JavaDSOCompatible_Proxy(IXMLDSOControl *This,WINBOOL fJavaDSOCompatible);
      |                                                                                  ^~~~~~~
tools/winebuild/winebuild -w --implib -o dlls/webservices/x86_64-windows/libwebservices.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/webservices/webservices.spec
tools/winebuild/winebuild -w --implib -o dlls/scrrun/x86_64-windows/libscrrun.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/scrrun/scrrun.spec
In file included from ../wine-git/include/objbase.h:502,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/urlmon.h:856:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
  856 |         WINBOOL fFullyAvailable,
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:865:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
  865 |         WINBOOL fRemember);
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:1368:5: error: expected specifier-qualifier-list before ‘WINBOOL’
 1368 |     WINBOOL bInheritHandle;
      |     ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:2948:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 2948 |         WINBOOL *pfHasProperty);
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:3033:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 3033 |         WINBOOL *pfEqual);
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:3486:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 3486 |         WINBOOL *pfHasPort,
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:3522:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 3522 |         WINBOOL fHasPort,
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:3543:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 3543 |         WINBOOL *pfModified);
      |         ^~~~~~~
tools/winebuild/winebuild -w --implib -o dlls/mswsock/x86_64-windows/libmswsock.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/mswsock/mswsock.spec
/usr/share/mingw-w64/include/urlmon.h:6487:85: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 6487 | STDAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST FeatureEntry, DWORD dwFlags, WINBOOL fEnable);
      |                                                                                     ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:6582:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 6582 |         WINBOOL fEnable);
      |         ^~~~~~~
In file included from ../wine-git/include/objbase.h:502,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/urlmon.h:8515:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 8515 |         WINBOOL fRespectPolicy,
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:8517:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 8517 |         WINBOOL *pfPolicyEncountered);
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:8521:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 8521 |         WINBOOL fRespectPolicy,
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:8523:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 8523 |         WINBOOL *pfPolicyEncountered,
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:8524:9: error: expected declaration specifiers or ‘...’ before ‘WINBOOL’
 8524 |         WINBOOL fNoCache);
      |         ^~~~~~~
/usr/share/mingw-w64/include/urlmon.h:9169:16: error: expected ‘,’ or ‘;’ before ‘IsLoggingEnabledA’
 9169 | WINBOOL WINAPI IsLoggingEnabledA(LPCSTR pszUrl);
      |                ^~~~~~~~~~~~~~~~~
/usr/share/mingw-w64/include/urlmon.h:9170:16: error: expected ‘,’ or ‘;’ before ‘IsLoggingEnabledW’
 9170 | WINBOOL WINAPI IsLoggingEnabledW(LPCWSTR pwszUrl);
      |                ^~~~~~~~~~~~~~~~~
/usr/share/mingw-w64/include/urlmon.h:9182:16: error: expected ‘,’ or ‘;’ before ‘WriteHitLogging’
 9182 | WINBOOL WINAPI WriteHitLogging(LPHIT_LOGGING_INFO lpLogginginfo);
      |                ^~~~~~~~~~~~~~~
tools/winebuild/winebuild -w --implib -o dlls/mfreadwrite/x86_64-windows/libmfreadwrite.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/mfreadwrite/mfreadwrite.spec
ccache gcc -m64 -o tools/sfnt2fon/sfnt2fon tools/sfnt2fon/sfnt2fon.o -lfreetype -Wl,-O3,--sort-common,--as-needed
ccache gcc -m64 -o loader/wine64 loader/main.o -Wl,--export-dynamic -Wl,-Ttext-segment=0x7d000000 \
  -Wl,-z,max-page-size=0x1000 -Wl,-O3,--sort-common,--as-needed
In file included from ../wine-git/include/objbase.h:504,
                 from ../wine-git/include/ole2.h:25,
                 from /usr/share/mingw-w64/include/wtypes.h:13,
                 from ../wine-git/include/winscard.h:22,
                 from ../wine-git/include/windows.h:68,
                 from ../wine-git/libs/vkd3d/include/private/vkd3d_common.h:23,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/vkd3d_shader_private.h:49,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.y:24,
                 from ../wine-git/libs/vkd3d/libs/vkd3d-shader/preproc.l:23:
/usr/share/mingw-w64/include/propidl.h:1076:3: error: unknown type name ‘WINOLEAPI’; did you mean ‘WINOLE32API’?
 1076 |   WINOLEAPI PropVariantCopy(PROPVARIANT *pvarDest,const PROPVARIANT *pvarSrc);
      |   ^~~~~~~~~
      |   WINOLE32API
/usr/share/mingw-w64/include/propidl.h:1077:3: error: unknown type name ‘WINOLEAPI’; did you mean ‘WINOLE32API’?
 1077 |   WINOLEAPI PropVariantClear(PROPVARIANT *pvar);
      |   ^~~~~~~~~
      |   WINOLE32API
/usr/share/mingw-w64/include/propidl.h:1078:3: error: unknown type name ‘WINOLEAPI’; did you mean ‘WINOLE32API’?
 1078 |   WINOLEAPI FreePropVariantArray(ULONG cVariants, PROPVARIANT *rgvars);
      |   ^~~~~~~~~
      |   WINOLE32API
ccache gcc -m64 -o loader/wine64-preloader loader/preloader.o loader/preloader_mac.o -static -nostartfiles -nodefaultlibs \
  -Wl,-Ttext=0x7d400000 -Wl,-O3,--sort-common,--as-needed
/usr/share/mingw-w64/include/propidl.h:1088:3: error: unknown type name ‘WINOLEAPI’; did you mean ‘WINOLE32API’?
 1088 |   WINOLEAPI StgCreatePropStg(IUnknown *pUnk, REFFMTID fmtid, const CLSID *pclsid, DWORD grfFlags, DWORD dwReserved, IPropertyStorage **ppPropStg);
      |   ^~~~~~~~~
      |   WINOLE32API
/usr/share/mingw-w64/include/propidl.h:1089:3: error: unknown type name ‘WINOLEAPI’; did you mean ‘WINOLE32API’?
 1089 |   WINOLEAPI StgOpenPropStg(IUnknown *pUnk, REFFMTID fmtid, DWORD grfFlags, DWORD dwReserved, IPropertyStorage **ppPropStg);
      |   ^~~~~~~~~
      |   WINOLE32API
tools/winebuild/winebuild -w --implib -o dlls/shlwapi/x86_64-windows/libshlwapi.delay.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/shlwapi/shlwapi.spec
/usr/share/mingw-w64/include/propidl.h:1090:3: error: unknown type name ‘WINOLEAPI’; did you mean ‘WINOLE32API’?
 1090 |   WINOLEAPI StgCreatePropSetStg(IStorage *pStorage, DWORD dwReserved, IPropertySetStorage **ppPropSetStg);
      |   ^~~~~~~~~
      |   WINOLE32API
tools/winebuild/winebuild -w --implib -o dlls/ieframe/x86_64-windows/libieframe.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/ieframe/ieframe.spec
tools/winebuild/winebuild -w --implib -o dlls/loadperf/x86_64-windows/libloadperf.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/loadperf/loadperf.spec
/usr/share/mingw-w64/include/propidl.h:1094:3: error: unknown type name ‘WINOLEAPI’; did you mean ‘WINOLE32API’?
 1094 |   WINOLEAPI FmtIdToPropStgName(const FMTID *pfmtid, LPOLESTR oszName);
      |   ^~~~~~~~~
      |   WINOLE32API
/usr/share/mingw-w64/include/propidl.h:1095:3: error: unknown type name ‘WINOLEAPI’; did you mean ‘WINOLE32API’?
 1095 |   WINOLEAPI PropStgNameToFmtId(const LPOLESTR oszName, FMTID *pfmtid);
      |   ^~~~~~~~~
      |   WINOLE32API
tools/winebuild/winebuild -w --implib -o dlls/msi/x86_64-windows/libmsi.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/msi/msi.spec
tools/winebuild/winebuild -w --implib -o dlls/gdi32/x86_64-windows/libgdi32.delay.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/gdi32/gdi32.spec
tools/winebuild/winebuild -w --implib -o dlls/userenv/x86_64-windows/libuserenv.a --without-dlltool -b x86_64-w64-mingw32 --export \
  ../wine-git/dlls/userenv/userenv.spec
make: *** [Makefile:190649: libs/vkd3d/x86_64-windows/libs/vkd3d-shader/preproc.yy.o] Error 1
make: *** Waiting for unfinished jobs....
 -> Removed BIG_UGLY_FROGMINER - Ribbit
 -> Removed Proton-tkg token - Valve Ribbit
 -> exit cleanup done
gabriele2000 commented 1 year ago

To add: --without-vkd3d is not recognised as a build option apparently, as stated after ./configure output

UPDATE: The optimization flags are NOT the problem, v8.8-staging build correctly, v8.9 doesn't.

gabriele2000 commented 1 year ago

It turns out that I'm just lazy and I didn't see that on staging repository there's clearly a fail and that's been fixed I guess... Closing as useless report by me