https://bugs.winehq.org/show_bug.cgi?id=46296
Bug ID: 46296 Summary: Wine 4.0-rc1 does not compile with freetype 2.3.7 or 2.4.4 Product: Wine Version: 4.0-rc1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: Zenitur@yandex.ru Distribution: ---
Created attachment 63020 --> https://bugs.winehq.org/attachment.cgi?id=63020 build log
There is a build error on openSUSE 11.4 and GCC 4.5 compiler:
freetype.c: In function 'get_fontconfig_family': freetype.c:5230:34: error: 'FC_NAMELANG' undeclared (first use in this function) freetype.c:5230:34: note: each undeclared identifier is reported only once for each function it appears in freetype.c:5232:34: error: 'FC_PRGNAME' undeclared (first use in this function)
Also I attach the same error with SLES 11 SP4 and GCC 4.8. The last version that successfully compiling is 3.21
https://bugs.winehq.org/show_bug.cgi?id=46296
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Based off https://en.opensuse.org/Archive:Portal:11.4
"The support for openSUSE 11.4 has ended on November 5th 2012 after over 19 months of lifetime. Project Evergreen support for openSUSE 11.4 ended in July 2015 "
There was a change in wine 4.0 rc1, which caused
11ab9ff7b3c43bb41c0325fe9417b1d7f44ad516 gdi32: Try Fontconfig substitutions when the font face is missing.
Debian Wheezy also suffers from this issue.
Since the failing OS versions are no longer supported, I guess that it makes this invalid.
https://bugs.winehq.org/show_bug.cgi?id=46296
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Zhenya from comment #0)
Created attachment 63020 [details] build log
There is a build error on openSUSE 11.4 and GCC 4.5 compiler:
freetype.c: In function 'get_fontconfig_family': freetype.c:5230:34: error: 'FC_NAMELANG' undeclared (first use in this function) freetype.c:5230:34: note: each undeclared identifier is reported only once for each function it appears in freetype.c:5232:34: error: 'FC_PRGNAME' undeclared (first use in this function)
Also I attach the same error with SLES 11 SP4 and GCC 4.8. The last version that successfully compiling is 3.21
It's about fontconfig, not freetype.
https://bugs.winehq.org/show_bug.cgi?id=46296
--- Comment #3 from Zhenya Zenitur@yandex.ru --- SLES 11 SP4 is still supported
https://bugs.winehq.org/show_bug.cgi?id=46296
--- Comment #4 from Zhenya Zenitur@yandex.ru --- Fontconfig versions are 2.6.0 and 2.8.0
https://bugs.winehq.org/show_bug.cgi?id=46296
Zhenya Zenitur@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine 4.0-rc1 does not |Wine 4.0-rc1 does not |compile with freetype 2.3.7 |compile with fontconfig |or 2.4.4 |2.6.0 or 2.8.0
https://bugs.winehq.org/show_bug.cgi?id=46296
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #5 from Rosanne DiMesio dimesio@earthlink.net --- CentOS, RHEL, and Scientific Linux 6 are all still under support and the build fails on them with the same error.
https://bugs.winehq.org/show_bug.cgi?id=46296
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |11ab9ff7b3c43bb41c0325fe941 | |7b1d7f44ad516 CC| |sagawa.aki+winebugs@gmail.c | |om Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=46296
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net
https://bugs.winehq.org/show_bug.cgi?id=46296
--- Comment #6 from Sagawa sagawa.aki+winebugs@gmail.com --- I sent a patch, https://source.winehq.org/patches/data/155956
Thanks for reporting. I am sorry about recent regressions caused by my work.
https://bugs.winehq.org/show_bug.cgi?id=46296
--- Comment #7 from Gijs Vermeulen gijsvrm@gmail.com --- Should be fixed by: https://source.winehq.org/git/wine.git/commit/54e3bf12cdca3826fdc7fa84c35835...
https://bugs.winehq.org/show_bug.cgi?id=46296
--- Comment #8 from Zhenya Zenitur@yandex.ru --- Akihiro Sagawa, you're doing good things. The problem is in people like me, that' re using long-term support Linux'es on desktops. We're increasing enthropy and making developenment harder
Thank you for a fixes!
https://bugs.winehq.org/show_bug.cgi?id=46296
--- Comment #9 from Zhenya Zenitur@yandex.ru --- Confirm, it's building now. P.S. Can you help me to re-enable Fontconfig support for Qt5? In the version 5.2 it was worked for CentOS 5 and Fontconfig 2.4, but in the version 5.3 I have got:
fontdatabases/fontconfig/qfontconfigdatabase.cpp: In function ‘int weightFromFcWeight(int)’: fontdatabases/fontconfig/qfontconfigdatabase.cpp:85:26: error: ‘FC_WEIGHT_ULTRABLACK’ was not declared in this scope else if (fcweight <= FC_WEIGHT_ULTRABLACK) ^
The solution is set -no-fontconfig in configure. Developers said "update in to 2.5 or newer" there: https://www.mail-archive.com/interest@qt-project.org/msg13264.html Maybe I can add some %ifndef instead of doing that?
https://bugs.winehq.org/show_bug.cgi?id=46296
--- Comment #10 from Zhenya Zenitur@yandex.ru --- Stop helping me with my offtopic question. I'd found the solution: https://kate-editor.org/2014/12/22/qt-5-4-on-red-hat-enterprise-5/#comment-2...
So I just confirmind that it works
https://bugs.winehq.org/show_bug.cgi?id=46296
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |54e3bf12cdca3826fdc7fa84c35 | |835de7e0d3106 Resolution|--- |FIXED
--- Comment #11 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Zhenya from comment #10)
Stop helping me with my offtopic question. I'd found the solution: https://kate-editor.org/2014/12/22/qt-5-4-on-red-hat-enterprise-5/#comment- 2000
So I just confirmind that it works
Marking FIXED, thanks for reporting back.
https://bugs.winehq.org/show_bug.cgi?id=46296
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.0-rc4.