Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] qtwebengine-5.15.8_p20230313 emerge fails - no V8?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2027

PostPosted: Tue Apr 18, 2023 9:28 am    Post subject: [SOLVED] qtwebengine-5.15.8_p20230313 emerge fails - no V8? Reply with quote

I get the following message in build.log:
Code:
FAILED: obj/v8/v8_base_without_compiler/js-display-names.o

I can quite believe qtwebengine needs a V8! Any thoughts, or should I just file a bug.
I have loads of memory etc. build options:
Code:
USE="alsa jumbo-build pulseaudio system-icu widgets -bindist -debug -designer -geolocation -kerberos -screencast -test (-system-ffmpeg%*)"

Ill try without jumbo-build and report back (much) later...
...
Not so much later. Same error. Ditto if I try "+system-ffmpeg".
Some more lines about the error message, from build.log:
Code:
In file included from /usr/include/unicode/timezone.h:45,
                 from /usr/include/unicode/calendar.h:42,
                 from /usr/include/unicode/dtfmtsym.h:29,
                 from ../../../../qtwebengine-5.15.8_p20230313/src/3rdparty/chromium/v8/src/objects/js-display-names.cc:21:
/usr/include/unicode/ures.h: In function ‘icu::UnicodeString icu::ures_getUnicodeString(const UResourceBundle*, UErrorCode*)’:
/usr/include/unicode/ures.h:815:39: error: invalid conversion from ‘const UChar*’ {aka ‘const short unsigned int*’} to ‘const char16_t*’ [-fpermissive]
  815 |     const char16_t *r = ures_getString(resB, &len, status);
      |                         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
      |                                       |
      |                                       const UChar* {aka const short unsigned int*}
/usr/include/unicode/ures.h: In function ‘icu::UnicodeString icu::ures_getNextUnicodeString(UResourceBundle*, const char**, UErrorCode*)’:
/usr/include/unicode/ures.h:840:43: error: invalid conversion from ‘const UChar*’ {aka ‘const short unsigned int*’} to ‘const char16_t*’ [-fpermissive]
  840 |     const char16_t* r = ures_getNextString(resB, &len, key, status);
      |                         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                           |
      |                                           const UChar* {aka const short unsigned int*}
/usr/include/unicode/ures.h: In function ‘icu::UnicodeString icu::ures_getUnicodeStringByIndex(const UResourceBundle*, int32_t, UErrorCode*)’:
/usr/include/unicode/ures.h:862:46: error: invalid conversion from ‘const UChar*’ {aka ‘const short unsigned int*’} to ‘const char16_t*’ [-fpermissive]
  862 |     const char16_t* r = ures_getStringByIndex(resB, indexS, &len, status);
      |                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                              |
      |                                              const UChar* {aka const short unsigned int*}
/usr/include/unicode/ures.h: In function ‘icu::UnicodeString icu::ures_getUnicodeStringByKey(const UResourceBundle*, const char*, UErrorCode*)’:
/usr/include/unicode/ures.h:885:44: error: invalid conversion from ‘const UChar*’ {aka ‘const short unsigned int*’} to ‘const char16_t*’ [-fpermissive]
  885 |     const char16_t* r = ures_getStringByKey(resB, key, &len, status);
      |                         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                            |
      |                                            const UChar* {aka const short unsigned int*}

_________________
Greybeard


Last edited by Goverp on Wed Apr 19, 2023 3:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
sebekk23
n00b
n00b


Joined: 29 Mar 2015
Posts: 62

PostPosted: Wed Apr 19, 2023 5:44 am    Post subject: Reply with quote

same error here.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31019
Location: here

PostPosted: Wed Apr 19, 2023 6:03 am    Post subject: Reply with quote

Try to disable system-icu use flag.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8965

PostPosted: Wed Apr 19, 2023 7:04 am    Post subject: Reply with quote

No problem here, if you have icu-73.1, then upgrade to icu-73.1-r1.
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 367

PostPosted: Wed Apr 19, 2023 10:43 am    Post subject: Reply with quote

asturm wrote:
No problem here, if you have icu-73.1, then upgrade to icu-73.1-r1.


Yes recompiling

Code:
dev-libs/icu
      Latest version available: 73.1-r1
      Latest version installed: 73.1-r1
      Size of files: 25.892 KiB
      Homepage:      https://icu.unicode.org/
      Description:   International Components for Unicode
      License:       BSD



and after that qtwebengine with enabled system-icu use flag works for me as well
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2027

PostPosted: Wed Apr 19, 2023 3:34 pm    Post subject: Reply with quote

After emerge --sync today, I picked up the new icu version, and qtwebengine merged OK.
_________________
Greybeard
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1718

PostPosted: Tue Apr 25, 2023 3:05 am    Post subject: Reply with quote

For the record, this was bug 904381.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum