Created attachment 579966 [details] emerge --info =dev-qt/qtwebengine-5.12.3::gentoo Find similar to https://bugreports.qt.io/browse/QTBUG-75265 That bug report states the file `../../3rdparty/chromium/chrome/android/profiles/afdo.prof' isn't included in the qtwebengine tarball
Created attachment 579968 [details] build log
emerge -qpv =dev-qt/qtwebengine-5.12.3::gentoo [ebuild U ] dev-qt/qtwebengine-5.12.3 [5.11.3] USE="alsa pulseaudio system-ffmpeg system-icu widgets -bindist -debug -designer -geolocation -jumbo-build* -pax_kernel -test"
This error is throwed either clang or gcc is used to build this package. However after applied https://bugreports.qt.io/secure/attachment/84314/84314_qtwebengine-QTBUG-75265-v5.12.3.patch building with gcc still complains about compiler options but compile with clang works fine for me.
Created attachment 595200 [details, diff] qtwebengine-5.12.3-missing-afdo.patch Patch (by me) tested to compile with dev-qt/qtwebengine-5.12.3, dev-qt/qtwebengine-5.12.4, dev-qt/qtwebengine-5.12.5 and dev-qt/qtwebengine-5.13.2 with sys-devel/clang (currently using sys-devel/clang-9.0.0).