Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 815430 - dev-qt/qtwebengine-5.15.2_p20210824-r1: Build fails due to ambiguous function call
Summary: dev-qt/qtwebengine-5.15.2_p20210824-r1: Build fails due to ambiguous function...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-30 09:27 UTC by Stefan Huber
Modified: 2024-03-25 09:30 UTC (History)
3 users (show)

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


Attachments
build log (build.log.gz,221.50 KB, application/gzip)
2021-09-30 09:29 UTC, Stefan Huber
Details
emerge info (emerge-info.txt,6.58 KB, text/plain)
2021-09-30 09:29 UTC, Stefan Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Huber 2021-09-30 09:27:31 UTC
qtwebengine-5.15.2_p20210824-r1 fails to build with the following compiler error:

In file included from gen/v8/v8_compiler_jumbo_1.cc:100:                                                                                                                                                                             
./../../../../qtwebengine-5.15.2_p20210824/src/3rdparty/chromium/v8/src/compiler/simd-scalar-lowering.cc: In function ‘int v8::internal::compiler::GetReturnCountAfterLoweringSimd128(const v8::internal::compiler::CallDescriptor*)’
:                                                                                                                                                                                                                                    
./../../../../qtwebengine-5.15.2_p20210824/src/3rdparty/chromium/v8/src/compiler/simd-scalar-lowering.cc:476:72: error: call of overloaded ‘GetReturnIndexAfterLowering(const v8::internal::compiler::CallDescriptor*&, int)’ is ambiguous                                                    
  476 |       call_descriptor, static_cast<int>(call_descriptor->ReturnCount()));                                                                                                                                                    
      |                                                                        ^                                                                                                                                                     
./../../../../qtwebengine-5.15.2_p20210824/src/3rdparty/chromium/v8/src/compiler/simd-scalar-lowering.cc:461:5: note: candidate: ‘int v8::internal::compiler::GetReturnIndexAfterLowering(const v8::internal::compiler::CallDescripto
r*, int)’                                                
  461 | int GetReturnIndexAfterLowering(const CallDescriptor* call_descriptor,                                                                                                                                                       
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                           
In file included from gen/v8/v8_compiler_jumbo_1.cc:51:                                                           
./../../../../qtwebengine-5.15.2_p20210824/src/3rdparty/chromium/v8/src/compiler/int64-lowering.cc:83:5: note: candidate: ‘int v8::internal::compiler::{anonymous}::GetReturnIndexAfterLowering(const v8::internal::compiler::CallDes
criptor*, int)’                                          
   83 | int GetReturnIndexAfterLowering(const CallDescriptor* call_descriptor,                                                                                                                                                       
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                           


It fails with or without the jumbo-build use flag. IMHO this is interesting, because the source file at which it fails is named v8_compiler_jumbo_1.cc.

Reproducible: Always
Comment 1 Conrad Kostecki gentoo-dev 2021-09-30 09:29:02 UTC
Please attach full build.log
Comment 2 Stefan Huber 2021-09-30 09:29:38 UTC
Created attachment 742167 [details]
build log
Comment 3 Stefan Huber 2021-09-30 09:29:52 UTC
Created attachment 742170 [details]
emerge info
Comment 4 Stefan Huber 2024-03-24 12:33:11 UTC
I think this bug can be closed now as the package does not exist anymore.
Comment 5 Andreas Sturmlechner gentoo-dev 2024-03-24 19:35:00 UTC
What do you mean? The package is still there, even if the version is gone:

$ eshowkw qtwebengine
Keywords for dev-qt/qtwebengine:
                  |                               |   u            |  
                  | a   a     p s     l r   a     |   n            |  
                  | m   r h   p p   i o i s l m m | e u s          | r
                  | d a m p p c a x a o s 3 p 6 i | a s l          | e
                  | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o          | p
                  | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t          | o
------------------+-------------------------------+----------------+-------
5.15.12_p20240122 | + ~ + o o ~ o ~ o o o o o o o | 8 o 5/5.15     | gentoo
5.15.13_p20240322 | ~ o ~ o o o o ~ o o o o o o o | 8 o            | gentoo

Are you saying none of the currently available versions exhibit that error anymore?
Comment 6 Stefan Huber 2024-03-24 20:38:25 UTC
Hm. At least I can confirm the following:

In a backup from 2023-09-28 I have:

$ cat /mnt/misc/var/db/pkg/dev-qt/qtwebengine-5.15.10_p20230815/USE                                                                                                                                                            
abi_x86_64 alsa amd64 elibc_glibc jumbo-build kernel_linux pulseaudio screencast system-icu widgets

In a backup from 2022-12-30 I have:

$ cat /mnt/misc/var/db/pkg/dev-qt/qtwebengine-5.15.7_p20221122/USE                                                                                                                                                             
abi_x86_64 alsa amd64 elibc_glibc jumbo-build kernel_linux pulseaudio screencast system-ffmpeg system-icu userland_GNU widgets

In a backup from 2021-12-31 I have:

$ cat /mnt/misc/var/db/pkg/dev-qt/qtwebengine-5.15.2_p20211216/USE                                                                                                                                                             
abi_x86_64 alsa amd64 elibc_glibc jumbo-build kernel_linux pulseaudio system-ffmpeg system-icu userland_GNU widgets
Comment 7 Andreas Sturmlechner gentoo-dev 2024-03-25 09:30:13 UTC
Let's call it fixed then.