app-text/calibre-3.15.0 fails build phase with qt 5.11 with error: In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43:0, from /usr/include/qt5/QtGui/5.11.1/QtGui/qpa/qplatformfontdatabase.h:52, from /var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/src/calibre/headless/fontconfig_database.h:9, from /var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/src/calibre/headless/fontconfig_database.cpp:40: /var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/src/calibre/headless/fontconfig_database.cpp:296:1: error: static assertion failed: sizeof sp ecialLanguages / sizeof *specialLanguages == QChar::ScriptCount Q_STATIC_ASSERT(sizeof specialLanguages / sizeof *specialLanguages == QChar::ScriptCount); ^ make: *** [Makefile:713: fontconfig_database.o] Error 1 Reproducible: Always
Created attachment 538298 [details, diff] calibre-3.15.0_qt-5.11.patch Patch to resolve problem. Reference https://www.linux.org.ru/forum/general/14325983
I can confirm the problem and that the patch solves it nicely. Thanks!
*** Bug 660420 has been marked as a duplicate of this bug. ***
*** Bug 660464 has been marked as a duplicate of this bug. ***