Created attachment 887650 [details] qtwayland-6.6.2:20240314-160038.log.gz >>> Test phase: dev-qt/qtwayland-6.6.2-r1 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-qt/qtwayland-6.6.2-r1/work/qtwayland-everywhere-src-6.6.2" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-qt/qtwayland-6.6.2-r1/work/qtwayland-everywhere-src-6.6.2_build" ctest -j 32 --test-load 32 -E (tst_seatv4|tst_surface|tst_xdgdecorationv1) Test project /var/tmp/portage/dev-qt/qtwayland-6.6.2-r1/work/qtwayland-everywhere-src-6.6.2_build Start 1: tst_client Start 2: tst_clientextension Start 3: tst_wayland_cursor Start 4: tst_datadevicev1 Start 5: tst_client_fullscreenshellv1 Start 6: tst_client_iviapplication Start 7: tst_nooutput Start 8: tst_output Start 9: tst_primaryselectionv1 Start 10: tst_wl_reconnect Start 11: tst_seatv7 1/20 Test #2: tst_clientextension ..............***Failed 0.33 sec Start 12: tst_seat Start 13: tst_tabletv2 Start 14: tst_wlconnect Start 15: tst_xdgoutput Start 16: tst_xdgshell Start 17: tst_scaling Start 18: tst_multithreaded Start 19: tst_inputcontext Start 20: tst_compositor 2/20 Test #14: tst_wlconnect .................... Passed 0.03 sec 3/20 Test #3: tst_wayland_cursor ............... Passed 0.44 sec 4/20 Test #7: tst_nooutput ..................... Passed 0.50 sec 5/20 Test #18: tst_multithreaded ................ Passed 0.24 sec 6/20 Test #5: tst_client_fullscreenshellv1 ..... Passed 0.59 sec 7/20 Test #6: tst_client_iviapplication ........ Passed 0.79 sec 8/20 Test #11: tst_seatv7 ....................... Passed 0.78 sec 9/20 Test #17: tst_scaling ...................... Passed 0.78 sec 10/20 Test #15: tst_xdgoutput .................... Passed 1.08 sec 11/20 Test #10: tst_wl_reconnect ................. Passed 1.45 sec 12/20 Test #9: tst_primaryselectionv1 ........... Passed 1.51 sec 13/20 Test #8: tst_output ....................... Passed 1.95 sec 14/20 Test #4: tst_datadevicev1 ................. Passed 2.17 sec 15/20 Test #1: tst_client ....................... Passed 2.71 sec 16/20 Test #13: tst_tabletv2 ..................... Passed 3.55 sec 17/20 Test #16: tst_xdgshell ..................... Passed 3.59 sec 18/20 Test #12: tst_seat ......................... Passed 4.86 sec 19/20 Test #19: tst_inputcontext ................. Passed 13.02 sec 20/20 Test #20: tst_compositor ................... Passed 15.40 sec 95% tests passed, 1 tests failed out of 20 Label Time Summary: tests/auto/client/client/tst_client = 2.71 sec*proc (1 test) tests/auto/client/clientextension/tst_clientextension = 0.33 sec*proc (1 test) tests/auto/client/cursor/tst_wayland_cursor = 0.44 sec*proc (1 test) tests/auto/client/datadevicev1/tst_datadevicev1 = 2.17 sec*proc (1 test) tests/auto/client/fullscreenshellv1/tst_client_fullscreenshellv1 = 0.59 sec*proc (1 test) tests/auto/client/inputcontext/tst_inputcontext = 13.02 sec*proc (1 test) tests/auto/client/iviapplication/tst_client_iviapplication = 0.79 sec*proc (1 test) tests/auto/client/multithreaded/tst_multithreaded = 0.24 sec*proc (1 test) tests/auto/client/nooutput/tst_nooutput = 0.50 sec*proc (1 test) tests/auto/client/output/tst_output = 1.95 sec*proc (1 test) tests/auto/client/primaryselectionv1/tst_primaryselectionv1 = 1.51 sec*proc (1 test) tests/auto/client/reconnect/tst_wl_reconnect = 1.45 sec*proc (1 test) tests/auto/client/scaling/tst_scaling = 0.78 sec*proc (1 test) tests/auto/client/seat/tst_seat = 4.86 sec*proc (1 test) tests/auto/client/seatv7/tst_seatv7 = 0.78 sec*proc (1 test) tests/auto/client/tabletv2/tst_tabletv2 = 3.55 sec*proc (1 test) tests/auto/client/wl_connect/tst_wlconnect = 0.03 sec*proc (1 test) tests/auto/client/xdgoutput/tst_xdgoutput = 1.08 sec*proc (1 test) tests/auto/client/xdgshell/tst_xdgshell = 3.59 sec*proc (1 test) tests/auto/compositor/compositor/tst_compositor = 15.40 sec*proc (1 test) Total Test time (real) = 15.76 sec The following tests FAILED: 2 - tst_clientextension (Failed) Errors while running CTest Output from these tests are in: /var/tmp/portage/dev-qt/qtwayland-6.6.2-r1/work/qtwayland-everywhere-src-6.6.2_build/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. * ERROR: dev-qt/qtwayland-6.6.2-r1::gentoo failed (test phase) Relevant part of LastTest.log says: ---------------------------------------------------------- 2/20 Testing: tst_clientextension 2/20 Test: tst_clientextension Command: "/usr/bin/cmake" "-P" "/var/tmp/portage/dev-qt/qtwayland-6.6.2-r1/work/qtwayland-everywhere-src-6.6.2_build/tests/auto/client/clientextension/tst_clientextensionWrapperRelWithDebInfo.cmake" Directory: /var/tmp/portage/dev-qt/qtwayland-6.6.2-r1/work/qtwayland-everywhere-src-6.6.2_build/tests/auto/client/clientextension "tst_clientextension" start time: Mar 14 17:02 CET Output: ---------------------------------------------------------- qt.qpa.wayland: Creating a fake screen in order for Qt not to crash qt.qpa.wayland: Failed to initialize EGL display 3001 Warning: fallback to QtQuick software backend. qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using "xdg-shell" if supported by the compositor by setting the environment variable QT_WAYLAND_SHELL_INTEGRATION qt.qpa.wayland: Loading shell integration failed. qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell", "qt-shell") CMake Error at tst_clientextensionWrapperRelWithDebInfo.cmake:18 (message): /var/tmp/portage/dev-qt/qtwayland-6.6.2-r1/work/qtwayland-everywhere-src-6.6.2_build/tests/auto/client/clientextension/tst_clientextension execution failed with exit code Segmentation fault. <end of output> Test time = 0.33 sec ---------------------------------------------------------- Test Failed. "tst_clientextension" end time: Mar 14 17:02 CET "tst_clientextension" time elapsed: 00:00:00 ---------------------------------------------------------- # sudo emerge --info =dev-qt/qtwayland-6.6.2-r1 Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-13, glibc-2.38-r10, 6.6.21-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.6.21-gentoo-x86_64-AMD_Ryzen_9_7950X3D_16-Core_Processor-with-glibc2.38 KiB Mem: 131010028 total, 58901044 free KiB Swap: 134217724 total, 134216956 free Timestamp of repository gentoo: Thu, 14 Mar 2024 14:45:00 +0000 Head commit of repository gentoo: b8af762b4e38e1560381033189414ee8482bbd05 Timestamp of repository qt: Tue, 12 Mar 2024 00:48:32 +0000 Head commit of repository qt: fd106fe2974a7abd6cd7f6e41315704e57155f0e sh dash 0.5.12 ld GNU ld (Gentoo 2.41 p5) 2.41.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.9.1 [disabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-build/autoconf: 2.71-r6::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.27.9::gentoo dev-build/libtool: 2.4.7-r2::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.3.1-r1::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2-r2::gentoo dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo dev-lang/rust: 1.74.1::gentoo dev-util/ccache: 4.9.1::gentoo sys-apps/baselayout: 2.14-r2::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 255.3-r1::gentoo sys-devel/binutils: 2.41-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo sys-devel/gcc: 13.2.1_p20240113-r1::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 17.0.6::gentoo sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r10::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: qt location: /var/db/repos/qt sync-type: git sync-uri: https://github.com/gentoo-mirror/qt.git masters: gentoo volatile: False x-portage location: /usr/local/portage masters: gentoo priority: 0 volatile: True Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" AR="/usr/bin/gcc-ar" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver4 -mshstk -flto=16 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /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" CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver4 -mshstk -flto=16 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y" 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="-O2 -pipe -frecord-gcc-switches -march=znver4 -mshstk -flto=16 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver4 -mshstk -flto=16 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" GENTOO_MIRRORS="https://gentoo.mirror.garr.it/ https://mirror.netcologne.de/gentoo/ https://mirrors.evoluso.com/gentoo/ https://gentoo.mirrors.ovh.net/gentoo-distfiles/" LANG="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common" LEX="flex" MAKEOPTS="-j32 -l32" NM="/usr/bin/gcc-nm" 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" RANLIB="/usr/bin/gcc-ranlib" SHELL="/bin/bash" USE="X a52 aac aalib acl acpi activities adns alsa amd64 ao audiofile avif bash-completion bluetooth branding brotli bzip2 cairo caps cdda cddb cdparanoia cdr cli colord crypt css cups curl dbus declarative dga djvu dri dts dvd dvdr encode exif expat fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp gles2 gmp gnutls gphoto2 gpm graphviz gstreamer gtk gui guile handbook heif iconv icu idn imagemagick imlib introspection ipv6 java javascript jbig jemalloc jpeg jpeg2k jpegxl kde kf6compat kwallet lame lapack lcms libass libnotify libsamplerate libtirpc lm-sensors lto lua lz4 lzma lzo mad magic man mhash mmap mng mp3 mp4 mpeg multilib musicbrainz ncurses nls offensive ogg openal opencl opengl openmp opus pam pango pcre pdf pipewire plasma png policykit postscript ppds pulseaudio qml qt5 qt6 rdesktop readline recode samba screencast sctp sdl seccomp sndfile sockets sound speex spell sqlite ssl startup-notification svg symlink syslog systemd sysvipc taglib telemetry test test-rust theora threads tidy tiff truetype udev udisks unicode upower usb v4l vaapi vala verify-sig vim-syntax vnc vorbis vulkan wavpack wayland webp widgets win32codecs wmf wxwidgets x264 xattr xcb xft xinerama xml xpm xscreensaver xv xvid yahoo zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel virmidi" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="gnutls" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU" 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="amdgpu radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, 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, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= dev-qt/qtwayland-6.6.2-r1::gentoo was built with the following: USE="compositor qml vulkan -accessibility -test" ABI_X86="(64)" CFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver4 -Werror=odr -Werror=strict-aliasing" CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver4 -Werror=odr -Werror=strict-aliasing" FEATURES="pid-sandbox binpkg-dostrip usersandbox assume-digests unmerge-logs buildpkg-live config-protect-if-modified merge-sync ipc-sandbox fixlafiles protect-owned split-elog unmerge-orphans network-sandbox userpriv sign pkgdir-index-trusted news unknown-features-warn split-log distlocks binpkg-multi-instance binpkg-logs compress-build-logs userfetch sfperms binpkg-docompress xattr qa-unresolved-soname-deps ebuild-locks strict multilib-strict parallel-fetch preserve-libs sandbox usersync" LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" # sudo emerge -1pqv =dev-qt/qtwayland-6.6.2-r1 [ebuild R ] dev-qt/qtwayland-6.6.2-r1 USE="compositor qml test* vulkan -accessibility"
Can't reproduce, I thought it'd be related to running it while wayland is running but it still passes anyway. May be due to something wayland-related you have set in your environment that it picks up.
Note that -r1 has 0 changes over 6.6.2-r0 (it was just to trigger a rebuild without going in-depth). So if 6.6.2 used to pass for you, then something else must've changed.
In my own logs, the failed initialization doesn't happen: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash qt.qpa.wayland: Failed to initialize EGL display 3001 Warning: fallback to QtQuick software backend. qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using "xdg-shell" if supported by the compositor by setting the environment variable QT_WAYLAND_SHELL_INTEGRATION qt.qpa.wayland: Loading shell integration failed. I instead just get: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash ********* Start testing of tst_clientextension ********* Config: Using QtTest library 6.6.2, Qt 6.6.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.1 20240210), gentoo 2.15 PASS : tst_clientextension::initTestCase() ...
Hi, I'm having the exact same bug. I enabled test recently so I don't know if it worked with the previous version. Here is emerge --info Portage 3.0.61 (python 3.12.2-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-13, glibc-2.38-r10, 6.6.16-gentoo-dist x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.6.16-gentoo-dist-x86_64-AMD_Ryzen_7_7840U_w-_Radeon_780M_Graphics-with-glibc2.38 KiB Mem: 32026728 total, 8691064 free KiB Swap: 33538044 total, 17967356 free Timestamp of repository gentoo: Thu, 14 Mar 2024 10:00:00 +0000 Head commit of repository gentoo: 66c1dc4e3cbd111c3d0e753fc9f27f41a7475fec Timestamp of repository guru: Tue, 12 Mar 2024 15:03:33 +0000 Head commit of repository guru: 05abdcd720bc767a152082750d9c7a044d638059 Timestamp of repository kde: Wed, 13 Mar 2024 21:18:24 +0000 Head commit of repository kde: 3c88e82866393ecc6f1e4600be922273deb5e1a8 Timestamp of repository qt: Tue, 12 Mar 2024 00:48:32 +0000 Head commit of repository qt: fd106fe2974a7abd6cd7f6e41315704e57155f0e Timestamp of repository steam-overlay: Tue, 12 Mar 2024 00:48:33 +0000 Head commit of repository steam-overlay: 6c0a2880ac549c39b045b6c3498a81bcceb09363 sh dash 0.5.12 ld GNU ld (Gentoo 2.41 p5) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.27.9::gentoo dev-build/libtool: 2.4.7-r2::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.3.1-r1::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2-r2::gentoo dev-lang/python: 3.10.13_p3::gentoo, 3.11.8_p1::gentoo, 3.12.2_p1::gentoo dev-lang/rust: 1.74.1::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 255.3-r1::gentoo sys-devel/binutils: 2.41-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 16.0.6::gentoo, 17.0.6::gentoo sys-devel/gcc: 11.4.1_p20240111::gentoo, 13.2.1_p20240113-r1::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 16.0.6::gentoo, 17.0.6::gentoo sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r10::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-extra-opts: sync-rsync-verify-max-age: 3 sync-rsync-verify-jobs: 1 guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False kde location: /var/db/repos/kde sync-type: git sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo volatile: False qt location: /var/db/repos/qt sync-type: git sync-uri: https://github.com/gentoo-mirror/qt.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://mirrors.ircam.fr/pub/gentoo-distfiles/releases/amd64/binpackages/17.1/x86-64 Installed sets: @qt5-addons, @qt5-essentials, @qt5-tools ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE @FSF-APPROVED-OTHER CC-BY-NC-4.0 CC-BY-NC-ND-2.0 CC-BY-NC-ND-2.5 CC-BY-NC-ND-3.0 CC-BY-NC-ND-4.0 CC-BY-NC-SA-1.0 CC-BY-NC-SA-2.5 CC-BY-NC-SA-3.0 CC-BY-NC-SA-4.0" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -ggdb" DISTDIR="/var/cache/distfiles" 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 -pipe -ggdb" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg candy compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe -ggdb" GENTOO_MIRRORS="https://mirrors.ircam.fr/pub/gentoo-distfiles/ https://ftp.halifax.rwth-aachen.de/gentoo/ https://mirrors.evoluso.com/gentoo/ https://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ https://mirror.netcologne.de/gentoo/ https://ftp.fau.de/gentoo https://mirror.bytemark.co.uk/gentoo/ https://mirrors.dotsrc.org/gentoo/ https://mirror1.sox.rs/gentoo/" LANG="fr_FR.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j15 -l13" 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="/tmp/" SHELL="/bin/bash" USE="X a52 aac acl acpi activities alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cdr cet cli crypt cups curl dbus declarative designer dist-kernel doc dri dts dvd dvdr emacs encode examples exif flac fortran gdbm gif gpm gtk gtk-doc gui handbook iconv icu imagemagick imap ipv6 jpeg jpeg2k jpegxl kde kf6compat kwallet latex lcms libcaca libnotify libtirpc llvm-libunwind lzip lzma lzo mad magic man mng modules-sign mp3 mp4 mpeg mpi mtp multilib ncurses networkmanager nls ocaml ocamlopt odbc ogg opencl opengl openmp pam pango pcre pdf php pipewire plasma png policykit posix postscript ppds pulseaudio python qml qt5 readline rss scanner screencast sdl seccomp secureboot semantic-desktop smp sound spell ssl startup-notification svg systemd tcl test test-rust threads tiff tk truetype udev udisks uefi unicode upower usb vaapi vcd vdpau verify-sig video vorbis vulkan wayland webp widgets wifi wxwidgets x264 xattr xcb xft xml xv xvid zeroconf zip zlib zsh-completion zstd" ABI_X86="64 32" 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="mmx mmxext sse sse2 aes avx avx2 avx512bw avx512cd avx512dq avx512f avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr en en-GB es eo" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="x86 AMDGPU WebAssembly" 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 python3_12" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi RADV" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, 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
I checked and the test failed with dev-qt/qtwayland-6.6.2
Created attachment 887651 [details] emerge log for qtwayland-6.6.2-r1 my emerge log for the current version
Created attachment 887652 [details] emerge log for qtwayland-6.6.2
Are you both using Plasma 6 by any chances? I tried running the test under plasma 5 in case it'd be interfering with something (it was fine) but not 6.
(In reply to Ionen Wolkens from comment #8) > Are you both using Plasma 6 by any chances? I tried running the test under > plasma 5 in case it'd be interfering with something (it was fine) but not 6. If so, it'd be nice if could figure out what it's setting (likely an env var) that's interfering, then could unset it from the ebuild. The obvious culprit would be if it's setting QT_WAYLAND_SHELL_INTEGRATION, but it could be something else. I don't have plasma 6 around at the moment and would rather not unmask+build it just to figure out this 1 test if possible.
(In reply to Ionen Wolkens from comment #8) > Are you both using Plasma 6 by any chances? I tried running the test under > plasma 5 in case it'd be interfering with something (it was fine) but not 6. I am.
Me too.
Created attachment 887729 [details] My env variable
Hm, didn't mean to but wonder if I used `su -` by reflex when I tested last time? (which resets the env, ideally su - or sudo -i is actually how should run emerge to avoid this). I can reproduce now albeit under gnome wayland (haven't retried plasma 5, or tried 6), but it passes fine if I use `su -`. Still need to figure out which variable exactly is causing this (doesn't seem to be the obvious culprits like WAYLAND_DISPLAY, QT_*, or XDG_*), but given I can reproduce now I can experiment myself. (In reply to REVOL V. from comment #12) > Created attachment 887729 [details] > My env variable And thanks, new things like QT_WAYLAND_RECONNECT=1 seem harmless at least.
(In reply to Ionen Wolkens from comment #13) > Still need to figure out which variable exactly is causing this (doesn't > seem to be the obvious culprits like WAYLAND_DISPLAY, QT_*, or XDG_*), but > given I can reproduce now I can experiment myself. I was a bit stumped given individual variables did not help, there's more than one that need to be unset to stop it from detecting the session entirely (e.g. I thought XDG_CURRENT_DESKTOP did nothing but that's because it fell back to using DESKTOP_SESSION, and then if I only unset DESKTOP, XDG was used..). Seems to be all the variables checked in qtbase's src/gui/platform/unix/qgenericunixservices.cpp: DESKTOP_SESSION GNOME_DESKTOP_SESSION_ID KDE_FULL_SESSION XDG_CURRENT_DESKTOP Guess I'll unset these from the ebuild, there could still be other variables that affect this though (still haven't tried Plasma 6 to be sure, but that at least fix it under gnome). Assume the session type is making it uses some different features that fails under sandbox or something like that and isn't a real problem. Alternatively, could consider skipping this test entirely if it's going to be flaky like this but will just unset for now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=439235378939f21bc640f88dadef4f2da170898c commit 439235378939f21bc640f88dadef4f2da170898c Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-03-16 10:41:32 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-03-16 10:42:18 +0000 dev-qt/qtwayland: unset session variables for tests (qt6) Closes: https://bugs.gentoo.org/927030 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-qt/qtwayland/qtwayland-6.6.2-r1.ebuild | 8 ++++++++ dev-qt/qtwayland/qtwayland-6.6.9999.ebuild | 8 ++++++++ dev-qt/qtwayland/qtwayland-6.7.0_rc-r1.ebuild | 8 ++++++++ dev-qt/qtwayland/qtwayland-6.7.9999.ebuild | 8 ++++++++ dev-qt/qtwayland/qtwayland-6.9999.ebuild | 8 ++++++++ 5 files changed, 40 insertions(+)