Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921680 - dev-qt/qtwebengine-6.6.1: fatal error: QtWebEngineCore/private/qtwebenginecoreglobal_p.h: No such file or directory
Summary: dev-qt/qtwebengine-6.6.1: fatal error: QtWebEngineCore/private/qtwebenginecor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2024-01-09 19:32 UTC by Ken Rushia
Modified: 2024-01-10 12:11 UTC (History)
2 users (show)

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


Attachments
/var/tmp/portage/dev-qt/qtwebengine-6.6.1/temp/build.log (build.log.xz,635.39 KB, application/x-xz)
2024-01-09 19:40 UTC, Ken Rushia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Rushia 2024-01-09 19:32:39 UTC
This was reported by someone else with 6.6.0, but that bug was closed: https://bugs.gentoo.org/show_bug.cgi?id=915953

I've not tried to rebuild yet, but from reading that it smells like a race condition.

Jiggabyte /var/tmp/portage/dev-qt/qtwebengine-6.6.1 # find . -iname 'qtwebenginecoreglobal_p.h'
./work/qtwebengine-everywhere-src-6.6.1/src/core/api/qtwebenginecoreglobal_p.h


Reproducible: Didn't try

Steps to Reproduce:
The exact command I ran was:

emerge -va krita qgis xv digikam okteta okular gwenview yt-dlp pylint cool-retro-term app-portage/portpeek net-misc/gallery-dl app-portage/overlint dev-python/html2text media-gfx/ueberzug dev-util/android-tools calibre kpat
Actual Results:  
FAILED: obj/QtWebEngineCore/authentication_dialog_controller.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/QtWebEngineCore/authentication_dialog_controller.o.d -DCHROMIUM_VERSION=112.0.5615.213 -DUSE_UDEV -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DQT_NO_KEYWORDS -DQT_USE_QSTRINGBUILDER -DQTWEBENGINECORE_VERSION_STR=6.6.1 -DQTWEBENGINEPROCESS_NAME=QtWebEngineProcess -DBUILDING_CHROMIUM -DQ_FORWARD_DECLARE_OBJC_CLASS=QT_FORWARD_DECLARE_CLASS -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_DEPRECATED_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_WEBENGINECORE_LIB -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_QUICK_LIB -DQT_QML_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_OPENGL_LIB -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_AS_CONST -DQT_NO_QEXCHANGE -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_WEBCHANNEL_LIB -DLIBYUV_DISABLE_NEON -DVK_USE_PLATFORM_XCB_KHR -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_ENABLE_SKSL -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DV8_USE_EXTERNAL_STARTUP_DATA -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_X11 -DWEBRTC_USE_PIPEWIRE -DWEBRTC_USE_GIO -DLOGGING_INSIDE_WEBRTC -DLEVELDB_PLATFORM_CHROMIUM=1 -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DV8_COMPRESS_POINTERS -DV8_COMPRESS_POINTERS_IN_SHARED_CAGE -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_ENABLE_SANDBOX -DV8_DEPRECATION_WARNINGS -DCPPGC_CAGED_HEAP -DCPPGC_YOUNG_GENERATION -DCPPGC_POINTER_COMPRESSION -DCPPGC_SLIM_WRITE_BARRIER -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/skia/config -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/skia/include/core -Igen -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium -I/var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1_build/include -I/var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1_build/include/QtWebEngineCore -I/var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1/src/core/api -I/var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1_build/src/core/api -I/var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1_build/include/QtWebEngineCore/6.6.1 -I/var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1_build/include/QtWebEngineCore/6.6.1/QtWebEngineCore -I/var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1_build/src/core/api/WebEngineCore_autogen/include -I/var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1/src/core -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto -Igen/third_party/perfetto/build_config -I/usr/include/qt6/QtCore -I/usr/include/qt6 -I/usr/lib64/qt6/mkspecs/linux-g++ -I/usr/include/qt6/QtGui -I/usr/include -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtQuick -I/usr/include/qt6/QtQml -I/usr/include/qt6/QtQmlIntegration -I/usr/include/qt6/QtQmlModels -I/usr/include/qt6/QtOpenGL -I/usr/include/qt6/QtCore/6.6.1 -I/usr/include/qt6/QtCore/6.6.1/QtCore -I/usr/include/qt6/QtGui/6.6.1 -I/usr/include/qt6/QtGui/6.6.1/QtGui -I/usr/include/qt6/QtQuick/6.6.1 -I/usr/include/qt6/QtQuick/6.6.1/QtQuick -I/usr/include/qt6/QtQmlModels/6.6.1 -I/usr/include/qt6/QtQmlModels/6.6.1/QtQmlModels -I/usr/include/qt6/QtQml/6.6.1 -I/usr/include/qt6/QtQml/6.6.1/QtQml -I/usr/include/qt6/QtWebChannel -Igen/.moc -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/libyuv/include -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/jsoncpp/source/include -Igen/third_party/dawn/include -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/dawn/include -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/khronos -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/gpu -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/vulkan-deps/vulkan-headers/src/include -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/ipcz/include -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/ced/src -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/skia -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/wuffs/src/release/c -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/vulkan/include -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/net/third_party/quiche/overrides -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/net/third_party/quiche/src/quiche/common/platform/default -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/net/third_party/quiche/src -Igen/net/third_party/quiche/src -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/webrtc_overrides -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/webrtc -Igen/third_party/webrtc -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/libwebm/source -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/mesa_headers -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/leveldatabase -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/leveldatabase/src -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/leveldatabase/src/include -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/crashpad/crashpad -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/linux -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/non_win -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/third_party/libaom/source/libaom -I../../../../../qtwebengine-everywhere-src-6.6.1/src/3rdparty/chromium/v8/include -Igen/v8/include -march=native -O2 -mno-avx2 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-pragmas -Wno-address -Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow -Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -msse3 -fno-omit-frame-pointer -fvisibility=hidden -Wall -Wextra -fno-exceptions -Wno-unused-parameter -Wno-expansion-to-defined -Wno-packed-not-aligned -fPIC -I/usr/include/nss -I/usr/include/nspr -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -Wno-deprecated-copy -Wno-expansion-to-defined -std=gnu++20 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -std=c++20 -Wno-ignored-qualifiers -Wall -Wextra -fno-exceptions -Wno-unused-parameter -Wno-expansion-to-defined -Wno-packed-not-aligned -fPIC -Wsuggest-override -c /var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1/src/core/authentication_dialog_controller.cpp -o obj/QtWebEngineCore/authentication_dialog_controller.o
In file included from /var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1/src/core/authentication_dialog_controller.cpp:4:
/var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1/src/core/authentication_dialog_controller.h:18:10: fatal error: QtWebEngineCore/private/qtwebenginecoreglobal_p.h: No such file or directory
   18 | #include <QtWebEngineCore/private/qtwebenginecoreglobal_p.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Comment 1 Ken Rushia 2024-01-09 19:32:54 UTC
# emerge --info
Portage 3.0.59 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.38-r9, 5.15.16-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.15.16-gentoo-dist-x86_64-AMD_FX-tm-8320_Eight-Core_Processor-with-glibc2.38
KiB Mem:    19444468 total,   7309780 free
KiB Swap:   32766972 total,  32579780 free
Timestamp of repository gentoo: Sun, 07 Jan 2024 20:30:01 +0000
Head commit of repository gentoo: 14a5ea83dc1d79ca035dd60c2f4e0aad67075016
Timestamp of repository viperML-overlay: Wed, 10 May 2023 18:19:06 +0000
Head commit of repository viperML-overlay: 2cdb8dcc3574519bf6daefa0cf3c9b15864b9cf5

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust-bin:         1.71.1::gentoo
dev-util/cmake:            3.27.9::gentoo
dev-util/meson:            1.3.0-r2::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

viperML-overlay
    location: /var/db/repos/viperML-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/viperML-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://mirrors.mit.edu/gentoo-distfiles/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -ggdb -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs --load-average=8 --getbinpkg"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -ggdb -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-request-signature buildpkg buildpkg-live compressdebug config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -ggdb -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="-j 5 -l 4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="7zip X a52 aac acl acpi activities alsa amd64 audiofile bluetooth branding bzip2 cairo cdda cdr cli colorpicker crypt css cups curl dbus declarative dri dssi dts dv dvd dvdr elogind encode exif fbcon ffmpeg fftw fits flac fontconfig fortran ftp gdbm gif gimp gopher gpm graphviz gstreamer gtk gui iconv icu imagemagick ipv6 jack jpeg kde kdesu kwallet ladspa lastfm lcms libnotify libtirpc lm-sensors lv2 mad man mng moodbar mp3 mp4 mpeg multilib musepack ncurses nfs nls nptl ogg old-kernel opengl openmp opus pam pango pcre pdf phonon pipewire plasma png policykit postgres ppds qml qt5 rar raw readline rubberband samba scanner screencast sdl seccomp sound sox spell split-usr sqlite ssl startup-notification svg test-rust theora tiff truetype udev udisks unicode upower usb vamp vlc vorbis vst vulkan wavpack wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="radeon radeonsi r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Ken Rushia 2024-01-09 19:40:35 UTC
Created attachment 881792 [details]
/var/tmp/portage/dev-qt/qtwebengine-6.6.1/temp/build.log

xzcat it
Comment 3 Ionen Wolkens gentoo-dev 2024-01-09 20:10:52 UTC
I've seen like 3 or 4 users run into this so far (somewhat rare), does sound like a race condition but no idea. This header seems to be handled the same as the rest and ultimately should be found at:

    /var/tmp/portage/dev-qt/qtwebengine-6.6.1/work/qtwebengine-everywhere-src-6.6.1_build/include/QtWebEngineCore/6.6.1/QtWebEngineCore/private/qtwebenginecoreglobal_p.h

(it's a placeholder to find the header even if not installed, it #include the real header)

I did see one user claim they hit the error with MAKEOPTS=-j1 which could indicate something else happened, but I never seen the full build.log to confirm that. It eventually worked again when they tried again and moved on.

Back in bug #915953 that you noted I thought pdfium was suspicious but other cases (here included) were not enabling it, so can rule that out.

Never been able to reproduce myself so far.
Comment 4 Ionen Wolkens gentoo-dev 2024-01-09 20:21:14 UTC
There's been similar sounding bugs upstream, but didn't really go anywhere -- e.g. for a few:

https://bugreports.qt.io/browse/QTBUG-101023
https://bugreports.qt.io/browse/QTBUG-107169 (duplicate of an unrelated sounding bug?)
https://bugreports.qt.io/browse/QTBUG-94343 (this one apparently didn't pass the -I but should be fixed?)
Comment 5 Ionen Wolkens gentoo-dev 2024-01-09 20:28:04 UTC
Anyhow, do suspect it will work if try again. May want to changeup the -jX value to reduce odds of hitting the same pattern.

Fixes welcome or asking upstream if anyone want to pursue this further.
Comment 6 Larry the Git Cow gentoo-dev 2024-01-10 09:15:07 UTC
The bug has been closed via the following commit(s):

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

commit 2e0505f87184b97e3eeb1621171beda057b5ba9c
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-01-10 08:35:38 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-01-10 09:08:21 +0000

    dev-qt/qtwebengine: tentatively work around race condition (qt6)
    
    Unknown if this really helps, depend on if the file was missing
    or if it was just failing to find where it is with bad include
    search -- but given it is generated good odds it is the former.
    
    Have not actually reproduced myself and it is possible another
    target also needs to be run, could potentially fail differently
    if that does not resolve it (forcing -j1 is of course out of the
    question for this package).
    
    Needs a proper investigation/fix, but given this tend to fail
    very late in the build it is not obvious and ccache likely makes
    it harder to fail. Does not help that these rules are created
    through several Qt cmake wrapper functions (the sync headers
    bits come from qtbase cmake files, not from here).
    
    May tentatively try to remove in a somewhat-distant future to see
    if it is still an issue, and/or when related-sounding fixes occurred
    in qtbase or qtwebengine.
    
    Closes: https://bugs.gentoo.org/915953
    Closes: https://bugs.gentoo.org/921680
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtwebengine/qtwebengine-6.6.1.ebuild    | 7 +++++++
 dev-qt/qtwebengine/qtwebengine-6.6.9999.ebuild | 7 +++++++
 dev-qt/qtwebengine/qtwebengine-6.7.9999.ebuild | 7 +++++++
 dev-qt/qtwebengine/qtwebengine-6.9999.ebuild   | 7 +++++++
 4 files changed, 28 insertions(+)