https://bugs.winehq.org/show_bug.cgi?id=53365
Bug ID: 53365 Summary: 2.47.3 fails to build on F36 with error: 'IUnknown_QueryInterface_Proxy' undeclared here Product: Wine-gecko Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gecko-unknown Assignee: jacek@codeweavers.com Reporter: patrick+winehq.org@laimbock.com Distribution: ---
Building wine-gecko 2.47.3 on Fedora 36 x86_64 against wine(-staging)-7.13 results in the following error:
make[3]: Entering directory '/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/accessible/interfaces/ia2' mkdir -p '.deps/' dlldata.o i686-w64-mingw32-gcc -mwindows -o dlldata.o -c -DNDEBUG=1 -DTRIMMED=1 -DREGISTER_PROXY_DLL -I/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3/accessible/interfaces/ia2 -I/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/accessible/interfaces/ia2 -I/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/dist/include -I/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/dist/include/nspr -I/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/dist/include/nss -include /builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/mozilla-config.h -DMOZILLA_CLIENT -MD -MP -MF .deps/dlldata.o.pp -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-format -DWINE_GECKO_SRC -std=gnu99 -fgnu89-inline -fno-strict-aliasing -mms-bitfields -mstackrealign -fno-keep-inline-dllexport -fno-math-errno -pthread -pipe -g -O -fomit-frame-pointer /builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/accessible/interfaces/ia2/dlldata.c Accessible2_p.o i686-w64-mingw32-gcc -mwindows -o Accessible2_p.o -c -DNDEBUG=1 -DTRIMMED=1 -DREGISTER_PROXY_DLL -I/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3/accessible/interfaces/ia2 -I/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/accessible/interfaces/ia2 -I/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/dist/include -I/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/dist/include/nspr -I/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/dist/include/nss -include /builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/mozilla-config.h -DMOZILLA_CLIENT -MD -MP -MF .deps/Accessible2_p.o.pp -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-format -DWINE_GECKO_SRC -std=gnu99 -fgnu89-inline -fno-strict-aliasing -mms-bitfields -mstackrealign -fno-keep-inline-dllexport -fno-math-errno -pthread -pipe -g -O -fomit-frame-pointer /builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/accessible/interfaces/ia2/Accessible2_p.c /builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/accessible/interfaces/ia2/Accessible2_p.c:110:9: error: 'IUnknown_QueryInterface_Proxy' undeclared here (not in a function) 110 | IUnknown_QueryInterface_Proxy, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/accessible/interfaces/ia2/Accessible2_p.c:111:9: error: 'IUnknown_AddRef_Proxy' undeclared here (not in a function) 111 | IUnknown_AddRef_Proxy, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/accessible/interfaces/ia2/Accessible2_p.c:112:9: error: 'IUnknown_Release_Proxy' undeclared here (not in a function) 112 | IUnknown_Release_Proxy, | ^~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3/config/rules.mk:933: Accessible2_p.o] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3-x86/accessible/interfaces/ia2' make[2]: *** [/builddir/build/BUILD/wine-gecko-2.47.3/wine-gecko-2.47.3/config/recurse.mk:71: accessible/interfaces/ia2/target] Error 2
Since this seems accessability related, possibly related commit:
-ac_add_options --disable-accessibility +ac_add_options --enable-accessibility
https://gitlab.winehq.org/wine/wine-gecko/-/commit/f4c0266dcb146ab4e56dcc010...
After reverting that commit, the error (obviously) goes away and the build succeeds.
https://bugs.winehq.org/show_bug.cgi?id=53365
--- Comment #1 from Jacek Caban jacek@codeweavers.com --- This is a mingw-w64 regression that I fixed upstream with: https://sourceforge.net/p/mingw-w64/mingw-w64/ci/c9cb69871cef58fd1c7ebb13052...
What mingw-w64 version do you use? We can probably backport that to stable upstream branch.
https://bugs.winehq.org/show_bug.cgi?id=53365
--- Comment #2 from Patrick patrick+winehq.org@laimbock.com --- Hi Jacek, in F36 there's mingw-w64-tools-9.0.0-3.fc36. If there's a patch for version 9.0.0 then I'll be happy to create a mingw-w64-tools copr with that patch added and try to build wine-7.13 with accessability enabled.
https://bugs.winehq.org/show_bug.cgi?id=53365
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG CC| |alexhenrie24@gmail.com Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Alex Henrie alexhenrie24@gmail.com --- Resolving as NOTOURBUG.