Yesterday I encountered a build failure of qtwebengine-6.3.1::qt while running build tests for pyside6. FAILED: obj/components/viz/service/gpu_service_dependencies/gpu_service_dependencies_jumbo_2.o /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/components/viz/service/gpu_service_dependencies/gpu_service_dependencies_jumbo_2.o.d -DVIZ_SERVICE_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_ENABLE_SKSL -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DLIBGAV1_MAX_BITDEPTH=10 -DLIBGAV1_THREADPOOL_USE_STD_MUTEX -DLIBGAV1_ENABLE_LOGGING=0 -DLIBGAV1_PUBLIC= -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DWEBRTC_USE_X11 -DWEBRTC_HAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DVK_NO_PROTOTYPES -DUSE_VULKAN_XCB -I. -Igen -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen -Igen -Igen -Igen -Igen -Igen -Igen -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/khronos -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/gpu -Igen/third_party/dawn/src/include -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/dawn/src/include -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/vulkan-deps/vulkan-headers/src/include -Igen -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/libyuv/include -Igen -Igen -Igen -Igen -Igen -Igen -Igen -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/jsoncpp/source/include -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -Igen/third_party/perfetto -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/skia -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/wuffs/src/release/c -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/vulkan/include -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/vulkan-deps/vulkan-headers/src/include -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/crashpad/crashpad -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/linux -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/non_win -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/ced/src -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/protobuf/src -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/mesa_headers -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/libwebm/source -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/leveldatabase -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/leveldatabase/src -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/leveldatabase/src/include -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/libgav1/src -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/libgav1/src/src -Igen/net/third_party/quiche/src -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/net/third_party/quiche/overrides -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/net/third_party/quiche/src/common/platform/default -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/net/third_party/quiche/src -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/webrtc_overrides -I../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/third_party/webrtc -Igen/third_party/webrtc -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-pragmas -Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow -Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length -funwind-tables -fPIC -pipe -pthread -m64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -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 -fno-omit-frame-pointer -g1 -fvisibility=hidden -O2 -fdata-sections -ffunction-sections -I/usr/include/nss -I/usr/include/nspr -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -c gen/components/viz/service/gpu_service_dependencies_jumbo_2.cc -o obj/components/viz/service/gpu_service_dependencies/gpu_service_dependencies_jumbo_2.o In file included from gen/components/viz/service/gpu_service_dependencies_jumbo_2.cc:11: ./../../../../../qtwebengine-everywhere-src-6.3.1/src/3rdparty/chromium/components/viz/service/display_embedder/output_presenter_x11.cc:8:10: fatal error: X11/xshmfence.h: No such file or directory 8 | #include <X11/xshmfence.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. Not sure, if it's related to USE=widgets given. Installing x11-libs/libxshmfence manually solves it. The issue happened in a multilib chroot testing enviroment. Reproducible: Always Portage 3.0.34 (python 3.10.5-final-0, default/linux/amd64/17.1/systemd, gcc-12.1.1, glibc-2.35-r8, 5.18.15-gentoo-0 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.18.15-gentoo-0-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.35 KiB Mem: 32822536 total, 15087832 free KiB Swap: 33554428 total, 33554428 free Head commit of repository qt: 56a8f3b5ba6103fd660d0a5057bf2b430d26d7d5 Head commit of repository gentoo-git: 461ec712011f69cd3546848d86944b06666fc949 Head commit of repository waebbl: bb55f99b04ef6f6f1e0eff28b702f922496eda1e Timestamp of repository gentoo: Sun, 31 Jul 2022 08:31:53 +0000 Head commit of repository gentoo: 71b7bd836ebad15dc4f7ffe909e9fddd82347b78 sh bash 5.1_p16 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16::gentoo dev-lang/perl: 5.36.0::gentoo dev-lang/python: 3.9.13::gentoo, 3.10.5::gentoo, 3.11.0_beta4-r2::gentoo dev-util/cmake: 3.23.0::gentoo dev-util/meson: 0.63.0::gentoo sys-apps/baselayout: 2.8-r2::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 251.3::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 12.1.1_p20220625::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.18-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r8::gentoo Repositories: qt location: /var/db/repos/qt sync-type: git sync-uri: https://github.com/gentoo-mirror/qt.git masters: gentoo priority: 60 gentoo-git location: /var/db/repos/gentoo-git sync-type: git sync-uri: https://github.com/waebbl/gentoo.git masters: gentoo priority: 99 waebbl location: /var/db/repos/waebbl sync-type: git sync-uri: https://github.com/waebbl/waebbl-gentoo.git masters: gentoo priority: 99 gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: 100 Installed sets: @tools ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--complete-graph --keep-going --fail-clean --usepkg --buildpkg --buildpkg-exclude='x11-drivers/nvidia-drivers virtual/* acct-group/* acct-user/* app-eselect/* dev-util/nvidia-cuda-toolkit' --autounmask=n --binpkg-respect-use=y --binpkg-changed-deps=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live buildsyspkg cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-elog split-log strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check" GENTOO_MIRRORS="https://ftp.fau.de/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/Gentoo/" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" 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/portage-ondisk" SHELL="/bin/bash" USE="X acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="dummy fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 796126 [details] qtwebengine-6.3.1:20220730-133718.log.xz build log compressed due to size restriction
The issue also happens in the version now in the ::gentoo tree, thus adjusting the bug accordingly.
Seems to happen with USE="-*" as well. I've had 'libxshmfence' installed due to mesa and other GPU related things, and had not seen any direct linkage (and still don't)... In any case, seems to have appeared as a requirement around Chromium 103 or so. Thanks for the report!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=8632c971a3853f5ee27364ac290d23ab9442693e commit 8632c971a3853f5ee27364ac290d23ab9442693e Author: Jimi Huotari <chiitoo@gentoo.org> AuthorDate: 2022-10-14 20:22:37 +0000 Commit: Jimi Huotari <chiitoo@gentoo.org> CommitDate: 2022-10-14 20:22:37 +0000 dev-qt/qtwebengine: add dependency on 'x11-libs/libxshmfence' Closes: https://bugs.gentoo.org/862525 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> dev-qt/qtwebengine/qtwebengine-6.4.0.ebuild | 1 + dev-qt/qtwebengine/qtwebengine-6.4.9999.ebuild | 1 + dev-qt/qtwebengine/qtwebengine-6.9999.ebuild | 1 + 3 files changed, 3 insertions(+)
Re-opening for ::gentoo.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b15ca2f28c0decd82dff7167b73a455ac1c7b1 commit c2b15ca2f28c0decd82dff7167b73a455ac1c7b1 Author: Jimi Huotari <chiitoo@gentoo.org> AuthorDate: 2022-10-14 15:30:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-02 05:09:45 +0000 dev-qt/*: add version 6.4.0 Bug: https://bugs.gentoo.org/838970 Bug: https://bugs.gentoo.org/863224 Bug: https://bugs.gentoo.org/875956 Closes: https://bugs.gentoo.org/862525 Closes: https://bugs.gentoo.org/863395 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/27812 Signed-off-by: Sam James <sam@gentoo.org> dev-qt/qt5compat/Manifest | 1 + dev-qt/qt5compat/qt5compat-6.4.0.ebuild | 18 ++ dev-qt/qtbase/Manifest | 1 + dev-qt/qtbase/qtbase-6.4.0.ebuild | 185 ++++++++++++++++ dev-qt/qtcharts/Manifest | 1 + dev-qt/qtcharts/qtcharts-6.4.0.ebuild | 18 ++ dev-qt/qtdeclarative/Manifest | 1 + dev-qt/qtdeclarative/qtdeclarative-6.4.0.ebuild | 30 +++ dev-qt/qtimageformats/Manifest | 1 + dev-qt/qtimageformats/qtimageformats-6.4.0.ebuild | 35 +++ dev-qt/qtmultimedia/Manifest | 1 + dev-qt/qtmultimedia/qtmultimedia-6.4.0.ebuild | 42 ++++ dev-qt/qtnetworkauth/Manifest | 1 + dev-qt/qtnetworkauth/qtnetworkauth-6.4.0.ebuild | 17 ++ dev-qt/qtpositioning/Manifest | 1 + dev-qt/qtpositioning/qtpositioning-6.4.0.ebuild | 19 ++ dev-qt/qtquick3d/Manifest | 1 + dev-qt/qtquick3d/qtquick3d-6.4.0.ebuild | 32 +++ dev-qt/qtquicktimeline/Manifest | 1 + .../qtquicktimeline/qtquicktimeline-6.4.0.ebuild | 18 ++ dev-qt/qtserialport/Manifest | 1 + dev-qt/qtserialport/qtserialport-6.4.0.ebuild | 18 ++ dev-qt/qtshadertools/Manifest | 1 + dev-qt/qtshadertools/qtshadertools-6.4.0.ebuild | 17 ++ dev-qt/qtsvg/Manifest | 1 + dev-qt/qtsvg/qtsvg-6.4.0.ebuild | 18 ++ dev-qt/qttools/Manifest | 1 + .../files/qttools-6.4.0-clang-15-build.patch | 73 ++++++ dev-qt/qttools/qttools-6.4.0.ebuild | 55 +++++ dev-qt/qtwayland/Manifest | 1 + dev-qt/qtwayland/qtwayland-6.4.0.ebuild | 22 ++ dev-qt/qtwebchannel/Manifest | 1 + dev-qt/qtwebchannel/qtwebchannel-6.4.0.ebuild | 19 ++ dev-qt/qtwebengine/Manifest | 1 + .../qtwebengine-6.4.0-no-websocket-intercept.patch | 38 ++++ dev-qt/qtwebengine/qtwebengine-6.4.0.ebuild | 245 +++++++++++++++++++++ dev-qt/qtwebsockets/Manifest | 1 + dev-qt/qtwebsockets/qtwebsockets-6.4.0.ebuild | 18 ++ 38 files changed, 955 insertions(+)