For now (today) qt5 build fails with the following error message:
In file included from /var/tmp/portage/app-text/coolreader3-9999-r2/work/coolreader3-9999/cr3qt/src/bookmarklistdlg.h:4:0,
from /var/tmp/portage/app-text/coolreader3-9999-r2/work/coolreader3-9999/cr3qt/src/bookmarklistdlg.cpp:1:
/usr/include/qt5/QtCore/qglobal.h:1087:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
# error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
^
In file included from /var/tmp/portage/app-text/coolreader3-9999-r2/work/coolreader3-9999/cr3qt/src/aboutdlg.h:4:0,
from /var/tmp/portage/app-text/coolreader3-9999-r2/work/coolreader3-9999/cr3qt/src/aboutdlg.cpp:1:
/usr/include/qt5/QtCore/qglobal.h:1087:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
# error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
^
For now (today) qt5 build fails with the following error message:
Similiar build failure known for dev-db/tora. Suggested workaround:
And right solution:
Patch to fix this issue:
https://269110.bugs.gentoo.org/attachment.cgi?id=490970