Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 618640

Summary: dev-qt/qtwebkit-4.8.7:4[icu] fails to build with ICU >=59
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED CANTFIX    
Severity: normal CC: dschridde+gentoobugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618636    
Attachments: qtwebkit-4.8.7.log

Description Arfrever Frehtes Taifersar Arahesis 2017-05-16 11:16:00 UTC
dev-qt/qtwebkit-4.8.7:4[icu] fails to build with ICU >=59.


ICU auto-detection... ()
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -fno-ident -frecord-gcc-switches -pipe -Wall -std=gnu++98 -Wall -W  -I/var/tmp/portage/dev-qt/qtwebkit-4.8.7/work/qt-everywhere-opensource-src-4.8.7/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtwebkit-4.8.7/work/qt-everywhere-opensource-src-4.8.7/config.tests/unix/icu -I/var/tmp/portage/dev-qt/qtwebkit-4.8.7/work/qt-everywhere-opensource-src-4.8.7/config.tests/unix/icu -I. -o icu.o /var/tmp/portage/dev-qt/qtwebkit-4.8.7/work/qt-everywhere-opensource-src-4.8.7/config.tests/unix/icu/icu.cpp
In file included from /usr/include/unicode/utypes.h:38:0,
                 from /var/tmp/portage/dev-qt/qtwebkit-4.8.7/work/qt-everywhere-opensource-src-4.8.7/config.tests/unix/icu/icu.cpp:42:
/usr/include/unicode/umachine.h:347:13: error: ‘char16_t’ does not name a type
     typedef char16_t UChar;
             ^~~~~~~~
In file included from /usr/include/unicode/utypes.h:39:0,
                 from /var/tmp/portage/dev-qt/qtwebkit-4.8.7/work/qt-everywhere-opensource-src-4.8.7/config.tests/unix/icu/icu.cpp:42:
/usr/include/unicode/uversion.h:167:55: error: ‘UChar’ does not name a type
 u_versionFromUString(UVersionInfo versionArray, const UChar *versionString);
                                                       ^~~~~
...
Comment 1 Arfrever Frehtes Taifersar Arahesis 2017-05-16 11:18:25 UTC
Created attachment 472772 [details]
qtwebkit-4.8.7.log
Comment 2 Arfrever Frehtes Taifersar Arahesis 2017-05-16 11:25:16 UTC
This ebuild currently forcefully uses compilation in C++ 1998 mode due to qt4-build-multilib.eclass having:
append-cxxflags -std=gnu++98

Switching to C++ >=2011 mode would avoid errors in src_configure() phase, but there are later errors in src_compile() phase. Majority of required work would be to make this ebuild build at all in C++ >=2011 mode and is not ICU-specific.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2017-05-17 18:51:11 UTC
dev-qt/qtwebkit:4[icu] seems to have no reverse dependencies, so this flag could be masked for dev-qt/qtwebkit:4.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-06-11 19:03:50 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #3)
> dev-qt/qtwebkit:4[icu] seems to have no reverse dependencies, so this flag
> could be masked for dev-qt/qtwebkit:4.

It's now masked in the 17.0 profiles, which is where ICU 59 will be unmasked.

So I consider this bug "done". Reopen if you disagree.