Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939714 - gui-libs/gtk-4.14.4-r1 23 tests failed : MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory
Summary: gui-libs/gtk-4.14.4-r1 23 tests failed : MESA-LOADER: failed to open zink: /u...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-15 15:00 UTC by Arniii
Modified: 2024-09-27 04:01 UTC (History)
1 user (show)

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


Attachments
testlog-x11.txt.gz (testlog-x11.txt.gz,363.39 KB, application/x-gzip)
2024-09-27 04:01 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-09-15 15:00:18 UTC
Since it's not possible to load archive more than 1 MiB , the archive can be downloaded like this:
```
wget https://paste.gentoo.zip/wanQ0M4c -O gui-libs_gtk-4.14.4-r1_tests_fail.tar.lz
```
or download in this way:
https://drive.google.com/file/d/1AiOotElKwsHK0jGFaddm5VYqw4SAOon5/view?usp=drive_link

In the `lzip -9`-tarball:
how_it_was_called.txt emerge_--info.txt /var/tmp/portage/gui-libs/gtk-4.14.4-r1/{build-info/,files/,temp/,work/**{.txt,.log}} /var/lib/portage/ /etc/portage/ /var/log/portage/elog/gui-libs/gtk-4.14.4-r1:20240915-140653.log


from build.log:
```
Summary of Failures:

   9/4300 gtk:gdk / memorytexture                                                                                                                                         ERROR              0.87s   killed by signal 11 SIGSEGV
 534/4300 gtk:gsk+gsk-compare+gsk-gl+gsk-compare-gl+gsk-compare-clipped-gl / compare gl glyph-hinting-none clipped                                                        FAIL               0.57s   exit status 1
 536/4300 gtk:gsk+gsk-compare+gsk-gl+gsk-compare-gl+gsk-compare-flipped-gl / compare gl glyph-hinting-none flipped                                                        FAIL               0.55s   exit status 1
 537/4300 gtk:gsk+gsk-compare+gsk-gl+gsk-compare-gl+gsk-compare-colorflipped-gl / compare gl glyph-hinting-none colorflipped                                              FAIL               0.62s   exit status 1
 539/4300 gtk:gsk+gsk-compare+gsk-gl+gsk-compare-gl+gsk-compare-plain-gl / compare gl glyph-hinting-none plain                                                            FAIL               0.54s   exit status 1
 542/4300 gtk:gsk+gsk-compare+gsk-gl+gsk-compare-gl+gsk-compare-masked-gl / compare gl glyph-hinting-none masked                                                          FAIL               0.68s   exit status 1
 545/4300 gtk:gsk+gsk-compare+gsk-gl+gsk-compare-gl+gsk-compare-repeated-gl / compare gl glyph-hinting-none repeated                                                      FAIL               0.73s   exit status 1
 548/4300 gtk:gsk+gsk-compare+gsk-gl+gsk-compare-gl+gsk-compare-rotated-gl / compare gl glyph-hinting-none rotated                                                        FAIL               0.73s   exit status 1
1687/4300 gtk:gsk+gsk-compare+gsk-cairo+gsk-compare-cairo+gsk-compare-colorflipped-cairo / compare cairo glyph-hinting-none colorflipped                                  FAIL               0.49s   exit status 1
1688/4300 gtk:gsk+gsk-compare+gsk-cairo+gsk-compare-cairo+gsk-compare-flipped-cairo / compare cairo glyph-hinting-none flipped                                            FAIL               0.47s   exit status 1
1689/4300 gtk:gsk+gsk-compare+gsk-cairo+gsk-compare-cairo+gsk-compare-masked-cairo / compare cairo glyph-hinting-none masked                                              FAIL               0.46s   exit status 1
1691/4300 gtk:gsk+gsk-compare+gsk-cairo+gsk-compare-cairo+gsk-compare-plain-cairo / compare cairo glyph-hinting-none plain                                                FAIL               0.52s   exit status 1
1692/4300 gtk:gsk+gsk-compare+gsk-cairo+gsk-compare-cairo+gsk-compare-repeated-cairo / compare cairo glyph-hinting-none repeated                                          FAIL               0.49s   exit status 1
1696/4300 gtk:gsk+gsk-compare+gsk-cairo+gsk-compare-cairo+gsk-compare-rotated-cairo / compare cairo glyph-hinting-none rotated                                            FAIL               0.53s   exit status 1
2866/4300 gtk:gsk+gsk-compare+gsk-ngl+gsk-compare-ngl+gsk-compare-plain-ngl / compare ngl glyph-hinting-none plain                                                        FAIL               0.50s   exit status 1
2868/4300 gtk:gsk+gsk-compare+gsk-ngl+gsk-compare-ngl+gsk-compare-colorflipped-ngl / compare ngl glyph-hinting-none colorflipped                                          FAIL               0.61s   exit status 1
2869/4300 gtk:gsk+gsk-compare+gsk-ngl+gsk-compare-ngl+gsk-compare-flipped-ngl / compare ngl glyph-hinting-none flipped                                                    FAIL               0.59s   exit status 1
2871/4300 gtk:gsk+gsk-compare+gsk-ngl+gsk-compare-ngl+gsk-compare-repeated-ngl / compare ngl glyph-hinting-none repeated                                                  FAIL               0.61s   exit status 1
2872/4300 gtk:gsk+gsk-compare+gsk-ngl+gsk-compare-ngl+gsk-compare-rotated-ngl / compare ngl glyph-hinting-none rotated                                                    FAIL               0.53s   exit status 1
2875/4300 gtk:gsk+gsk-compare+gsk-ngl+gsk-compare-ngl+gsk-compare-masked-ngl / compare ngl glyph-hinting-none masked                                                      FAIL               0.68s   exit status 1
3710/4300 gtk:gsk+gsk-nodeparser / parser text-font-errors.node                                                                                                           FAIL               0.49s   exit status 1
3733/4300 gtk:gsk / scaling                                                                                                                                               ERROR              0.46s   killed by signal 11 SIGSEGV
3817/4300 gtk:gtk / templates                                                                                                                                             ERROR              3.92s   killed by signal 5 SIGTRAP

Ok:                 4264
Expected Fail:      0
Fail:               23
Unexpected Pass:    0
Skipped:            13
Timeout:            0
```

Also from build.log:
```
>>> GSK_RENDERER=ngl GTK_A11Y=test GSETTINGS_SCHEMA_DIR=/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/gtk MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 G_TEST_SRCDIR=/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk GTK_CSD=1 GIO_USE_VFS=local G_TEST_BUILDDIR=/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk LD_LIBRARY_PATH=/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/gtk GDK_BACKEND=x11 TEST_OUTPUT_SUBDIR=x11 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=164 G_ENABLE_DIAGNOSTIC=0 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 GDK_DEBUG=default-settings MESON_TEST_ITERATION=1 GIO_USE_VOLUME_MONITOR=unix TEST_FONT_DIR=/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk/fonts GSETTINGS_BACKEND=memory /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk/compare-render --plain --output /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk/compare/ngl /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk/compare/glyph-hinting-none.node /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk/compare/glyph-hinting-none.png
 ✀
stdout:
TAP version 13
# random seed: R02S9fbcfcdf2fa686faa921203b16f9c4f2
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
# Node file: '/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk/compare/glyph-hinting-none.node'
# PNG file: '/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk/compare/glyph-hinting-none.png'
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
# Storing test result image at /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk/compare/ngl/x11/glyph-hinting-none.out.png
# Storing test result image at /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk/compare/ngl/x11/glyph-hinting-none.diff.png
stderr:
libEGL warning: MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)
```
Comment 1 Jonathan Lovelace 2024-09-27 04:01:38 UTC
Created attachment 903927 [details]
testlog-x11.txt.gz

When I rebuilt media-libs/mesa with VIDEO_CARDS="zink" USE="vulkan", what seem to be the same tests still fail for me, but differently. Here's one illustrative example from the attached testlog:

================================== 541/4300 ==================================
test:         gtk:gsk+gsk-compare+gsk-gl+gsk-compare-gl+gsk-compare-colorflipped-gl / compare gl glyph-hinting-none colorflipped
start time:   13:52:27
duration:     0.56s
result:       exit status 1
command:      GTK_A11Y=test GDK_BACKEND=x11 GSETTINGS_SCHEMA_DIR=/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/gtk G_ENABLE_DIAGNOSTIC=0 GDK_DEBUG=default-settings GTK_CSD=1 GSK_RENDERER=gl TEST_FONT_DIR=/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk/fonts TEST_OUTPUT_SUBDIR=x11 MALLOC_PERTURB_=11 GIO_USE_VFS=local G_TEST_SRCDIR=/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 LD_LIBRARY_PATH=/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/gtk GIO_USE_VOLUME_MONITOR=unix GSETTINGS_BACKEND=memory G_TEST_BUILDDIR=/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk/compare-render --colorflip --output /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk/compare/gl /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk/compare/glyph-hinting-none.node /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk/compare/glyph-hinting-none.png
----------------------------------- stdout -----------------------------------
TAP version 13
# random seed: R02S09b321df51b930423eb931c22a36950c
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
# Node file: '/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk/compare/glyph-hinting-none.node'
# PNG file: '/var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4/testsuite/gsk/compare/glyph-hinting-none.png'
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
# Storing modified nodes at /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk/compare/gl/x11/glyph-hinting-none-colorflipped.node
# Storing test result image at /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk/compare/gl/x11/glyph-hinting-none-colorflipped.out.png
# Storing test result image at /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk/compare/gl/x11/glyph-hinting-none-colorflipped.ref.png
# Storing test result image at /var/tmp/portage/gui-libs/gtk-4.14.4-r1/work/gtk-4.14.4-build/testsuite/gsk/compare/gl/x11/glyph-hinting-none-colorflipped.diff.png
----------------------------------- stderr -----------------------------------
MESA: error: ZINK: vkEnumeratePhysicalDevices failed (VK_ERROR_INITIALIZATION_FAILED)
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
==============================================================================