Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618648 - dev-qt/qtwebengine-5.7.1-r2:5[system-icu] fails to build with ICU >=59
Summary: dev-qt/qtwebengine-5.7.1-r2:5[system-icu] fails to build with ICU >=59
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Qt Bug Alias
URL: https://bugreports.qt.io/browse/QTBUG...
Whiteboard:
Keywords:
: 622732 (view as bug list)
Depends on:
Blocks: icu-59
  Show dependency tree
 
Reported: 2017-05-16 11:42 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-02-02 13:53 UTC (History)
13 users (show)

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


Attachments
qtwebengine-5.7.1-r1.log (qtwebengine-5.7.1-r1.log,321.50 KB, text/plain)
2017-05-16 11:43 UTC, Arfrever Frehtes Taifersar Arahesis
Details
qtwebengine-5.7.1-icu-59.patch (qtwebengine-5.7.1-icu-59.patch,19.29 KB, patch)
2017-05-17 06:04 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
qtwebengine-5.7.1-icu-59.patch (qtwebengine-5.7.1-icu-59.patch,19.32 KB, patch)
2017-06-09 09:08 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
qtwebengine-5.9.0-icu-59.patch (qtwebengine-5.9.0-icu-59.patch,19.39 KB, patch)
2017-06-09 09:10 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
emerge-info.txt (emerge-info.txt,14.56 KB, text/plain)
2017-06-25 19:51 UTC, Toralf Förster
Details
dev-qt:qtwebengine-5.7.1-r1:20170625-192626.log (dev-qt:qtwebengine-5.7.1-r1:20170625-192626.log,274.92 KB, text/plain)
2017-06-25 19:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,85.88 KB, text/plain)
2017-06-25 19:51 UTC, Toralf Förster
Details
environment (environment,158.36 KB, text/plain)
2017-06-25 19:51 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.63 KB, application/x-bzip)
2017-06-25 19:51 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,19.27 KB, application/x-bzip)
2017-06-25 19:51 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,56.94 KB, application/x-bzip)
2017-06-25 19:51 UTC, Toralf Förster
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:42:04 UTC
dev-qt/qtwebengine-5.7.1-r1:5[system-icu] fails to build with ICU >=59.


[1139/11505] CXX obj/src/3rdparty/chromium/third_party/sfntly/src/cpp/src/sample/chromium/sfntly.subsetter_impl.o
FAILED: obj/src/3rdparty/chromium/third_party/sfntly/src/cpp/src/sample/chromium/sfntly.subsetter_impl.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/src/3rdparty/chromium/third_party/sfntly/src/cpp/src/sample/chromium/sfntly.subsetter_impl.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DSFNTLY_NO_EXCEPTION -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 '-DQTWEBENGINEPROCESS_NAME="QtWebEngineProcess"' -Igen/shim_headers/icuuc/target -Igen -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/sfntly/src/cpp/src -fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing -Wall -Wno-extra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -O2 -fno-ident -frecord-gcc-switches -pipe -Wall -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -fno-delete-null-pointer-checks -std=gnu++11 -Wno-narrowing  -c /var/tmp/portage/dev-qt/qtwebengine-5.7.1-r1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/sfntly/src/cpp/src/sample/chromium/subsetter_impl.cc -o obj/src/3rdparty/chromium/third_party/sfntly/src/cpp/src/sample/chromium/sfntly.subsetter_impl.o
/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/sfntly/src/cpp/src/sample/chromium/subsetter_impl.cc:51:38: error: ‘UnicodeString’ has not been declared
 void ConstructName(UChar* name_part, UnicodeString* name, int32_t name_id) {
                                      ^~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/sfntly/src/cpp/src/sample/chromium/subsetter_impl.cc: In function ‘void {anonymous}::ConstructName(UChar*, int*, int32_t)’:
/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r1/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/sfntly/src/cpp/src/sample/chromium/subsetter_impl.cc:54:15: error: invalid conversion from ‘UChar* {aka char16_t*}’ to ‘int’ [-fpermissive]
       *name = name_part;
               ^~~~~~~~~
...
Comment 1 Arfrever Frehtes Taifersar Arahesis 2017-05-16 11:43:44 UTC
Created attachment 472782 [details]
qtwebengine-5.7.1-r1.log
Comment 2 Arfrever Frehtes Taifersar Arahesis 2017-05-17 06:04:55 UTC
Created attachment 472884 [details, diff]
qtwebengine-5.7.1-icu-59.patch

This patch is incompatible with versions of ICU not using char16_t as UChar, so it should be applied conditionally.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2017-06-09 09:08:57 UTC
Created attachment 475690 [details, diff]
qtwebengine-5.7.1-icu-59.patch
Comment 4 Arfrever Frehtes Taifersar Arahesis 2017-06-09 09:10:31 UTC
Created attachment 475692 [details, diff]
qtwebengine-5.9.0-icu-59.patch
Comment 6 Toralf Förster gentoo-dev 2017-06-25 19:51:28 UTC
dup ?
Comment 7 Toralf Förster gentoo-dev 2017-06-25 19:51:32 UTC
Created attachment 477998 [details]
emerge-info.txt
Comment 8 Toralf Förster gentoo-dev 2017-06-25 19:51:35 UTC
Created attachment 478000 [details]
dev-qt:qtwebengine-5.7.1-r1:20170625-192626.log
Comment 9 Toralf Förster gentoo-dev 2017-06-25 19:51:38 UTC
Created attachment 478002 [details]
emerge-history.txt
Comment 10 Toralf Förster gentoo-dev 2017-06-25 19:51:42 UTC
Created attachment 478004 [details]
environment
Comment 11 Toralf Förster gentoo-dev 2017-06-25 19:51:45 UTC
Created attachment 478006 [details]
etc.portage.tbz2
Comment 12 Toralf Förster gentoo-dev 2017-06-25 19:51:48 UTC
Created attachment 478008 [details]
logs.tbz2
Comment 13 Toralf Förster gentoo-dev 2017-06-25 19:51:51 UTC
Created attachment 478010 [details]
temp.tbz2
Comment 14 Arfrever Frehtes Taifersar Arahesis 2017-07-22 19:11:57 UTC
*** Bug 622732 has been marked as a duplicate of this bug. ***
Comment 15 Arfrever Frehtes Taifersar Arahesis 2017-12-01 23:39:34 UTC
Since the already fixed >=dev-qt/qtwebengine-5.9.1 is in the tree, I suggest that =dev-qt/qtwebengine-5.7* be changed to have the following dependency:
  system-icu? ( <dev-libs/icu-59:= )
Comment 16 François Bissey 2017-12-02 03:26:03 UTC
But this is annoying since chromium (stable) require >=icu-59 to build with "system-icu".
Comment 17 Nowa Ammerlaan gentoo-dev 2017-12-04 18:41:45 UTC
Well this is annoying too, because now qtwebengine with system-icu fails to compile. 
If you want chromium-xx/firefox-57/thunderbird-yy/seamonkey-zz with system-icu, you either need to upgrade to qtwebengine-5.9.3 with system-icu, or just use -system-icu on qtwebengine-5.7.1. 
Either way emerge should not allow qtwebengine with system-icu when there's an incompatible version of icu installed. Because that will just fail anyway, and leave the user to wonder why. (and probably waste some time trying to determine why until he finds this bug report)
Comment 18 Larry the Git Cow gentoo-dev 2018-01-31 00:46:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3f06fdd6dc71c5f125f9da80c5f4fcd7e53839f

commit c3f06fdd6dc71c5f125f9da80c5f4fcd7e53839f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-01-30 23:30:39 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-01-31 00:45:46 +0000

    dev-qt/qtwebengine: 5.7.1-r2: Switch off USE=system-icu, fix dep
    
    Fix build and ease dependency resolution with a future stable icu-60.2.
    
    Bug: https://bugs.gentoo.org/618648
    Package-Manager: Portage-2.3.21, Repoman-2.3.6

 dev-qt/qtwebengine/qtwebengine-5.7.1-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)}
Comment 19 Andreas Sturmlechner gentoo-dev 2018-01-31 00:49:15 UTC
Workaround applied to 5.7.1-r2, thanks.
Comment 20 Mircea Sava 2018-02-01 21:37:09 UTC
Well, I never experienced this problem and now the build fails with USE=-system-icu. I'll file a bug later
Comment 21 Mircea Sava 2018-02-02 13:53:46 UTC
Please disregard my previous comment.