https://bugs.winehq.org/show_bug.cgi?id=45370
Bug ID: 45370 Summary: redefinition of typedef 'DWRITE_GLYPH_RUN_DESCRIPTION' Product: Wine Version: 3.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d2d Assignee: wine-bugs@winehq.org Reporter: version2013@protonmail.com Distribution: ---
Created attachment 61681 --> https://bugs.winehq.org/attachment.cgi?id=61681 log from failed compile (gcc 4.2.2)
gcc 4.2.2 Wine-3.11
compiling fails with: error: redefinition of typedef 'DWRITE_GLYPH_RUN_DESCRIPTION'
https://bugs.winehq.org/show_bug.cgi?id=45370
--- Comment #1 from Nathan version2013@protonmail.com --- Wine build complete. 6f1efb83c4066af1e0af8936abb41c85b631e0e1 is the first bad commit commit 6f1efb83c4066af1e0af8936abb41c85b631e0e1 Author: Lucian Poston lucian.poston@gmail.com Date: Tue May 29 21:04:37 2018 +0430
include: Add ID2D1DeviceContext definition.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 aa93fc1ccd45b173b86da748e65b69903481e1a0 3c750a5d38b23536a79db719c03606ef42a6d186 M include bisect run success
https://bugs.winehq.org/show_bug.cgi?id=45370
Nathan version2013@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|3.11 |3.10
https://bugs.winehq.org/show_bug.cgi?id=45370
--- Comment #2 from Artem S. Tashkinov aros@gmx.com --- make[1]: Entering directory `/tmp/wine-3.11/dlls/d3d10core' gcc -c -o d3d10core_main.o d3d10core_main.c -I. -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \ -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \ -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \ -fno-omit-frame-pointer -march=native -m32 -O2 -pipe In file included from ../../include/dwrite_1.h:94:0, from ../../include/dwrite_2.h:110, from d2d1_private.h:32, from bitmap.c:22: ../../include/dwrite.h:614:3: error: redefinition of typedef ‘DWRITE_GLYPH_RUN_DESCRIPTION’ ../../include/d2d1_1.h:189:45: note: previous declaration of ‘DWRITE_GLYPH_RUN_DESCRIPTION’ was here make[1]: *** [bitmap.o] Error 1 make[1]: Leaving directory `/tmp/wine-3.11/dlls/d2d1'
gcc (GCC) 4.5.4
https://bugs.winehq.org/show_bug.cgi?id=45370
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=45370
--- Comment #3 from Artem S. Tashkinov aros@gmx.com --- (In reply to Nathan from comment #1)
Wine build complete. 6f1efb83c4066af1e0af8936abb41c85b631e0e1 is the first bad commit commit 6f1efb83c4066af1e0af8936abb41c85b631e0e1 Author: Lucian Poston lucian.poston@gmail.com Date: Tue May 29 21:04:37 2018 +0430
include: Add ID2D1DeviceContext definition. Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
:040000 040000 aa93fc1ccd45b173b86da748e65b69903481e1a0 3c750a5d38b23536a79db719c03606ef42a6d186 M include bisect run success
Thanks for bisecting! I've successfully compiled Wine-3.11 without the offending patches.
https://bugs.winehq.org/show_bug.cgi?id=45370
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aros@gmx.com
https://bugs.winehq.org/show_bug.cgi?id=45370
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |12060
https://bugs.winehq.org/show_bug.cgi?id=45370
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- This should correct the issue https://source.winehq.org/patches/data/147721
https://bugs.winehq.org/show_bug.cgi?id=45370
--- Comment #5 from Nathan version2013@protonmail.com --- I also have a distro with gcc 4.3.4, where wine fails to compile, generating this error.
(In reply to Alistair Leslie-Hughes from comment #4) Applied patch to Wine-3.11 'Wine build complete'
Thank you for the successful patch.
https://bugs.winehq.org/show_bug.cgi?id=45370
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|julliard@winehq.org |bunglehead@gmail.com Regression SHA1| |6f1efb83c4066af1e0af8936abb | |41c85b631e0e1 Blocks|12060 | Keywords| |patch, regression
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- Added the 'regression' and 'patch' keywords, also CC'ed the right person. I removed bug 12060 as being blocked by this one, because this bug could be regarded as blocking everything.
https://bugs.winehq.org/show_bug.cgi?id=45370
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marcus@jet.franken.de
https://bugs.winehq.org/show_bug.cgi?id=45370
--- Comment #7 from Henri Verbeet hverbeet@gmail.com --- Created attachment 61760 --> https://bugs.winehq.org/attachment.cgi?id=61760 patch
Does the attached patch help?
https://bugs.winehq.org/show_bug.cgi?id=45370
--- Comment #8 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Henri Verbeet from comment #7)
Created attachment 61760 [details] patch
Does the attached patch help?
Yes, it compiles for me.
https://bugs.winehq.org/show_bug.cgi?id=45370
--- Comment #9 from Nathan version2013@protonmail.com --- (In reply to Henri Verbeet from comment #7) With a newly extracted wine source directory, applying this patch only, yes, I get 'Wine build complete'
Thank you.
https://bugs.winehq.org/show_bug.cgi?id=45370
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d771bd72965b64c407db2767f13 | |471d224e7b946 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- Fixed by: d771bd72965b64c407db2767f13471d224e7b946
https://bugs.winehq.org/show_bug.cgi?id=45370
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=45370
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.13.