Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618640 - dev-qt/qtwebkit-4.8.7:4[icu] fails to build with ICU >=59
Summary: dev-qt/qtwebkit-4.8.7:4[icu] fails to build with ICU >=59
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: icu-59
  Show dependency tree
 
Reported: 2017-05-16 11:16 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2017-10-22 12:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qtwebkit-4.8.7.log (qtwebkit-4.8.7.log,387.12 KB, text/plain)
2017-05-16 11:18 UTC, Arfrever Frehtes Taifersar Arahesis
Details

Note You need to log in before you can comment on or make changes to this bug.
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.