Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950096 - gui-libs/gtk-4.16.12 gdkvulkancontext-x11.c:(.text+0x193): undefined reference to `vkCreateXlibSurfaceKHR'
Summary: gui-libs/gtk-4.16.12 gdkvulkancontext-x11.c:(.text+0x193): undefined referenc...
Status: RESOLVED FIXED
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:
: 950097 (view as bug list)
Depends on:
Blocks: 949425
  Show dependency tree
 
Reported: 2025-02-22 08:50 UTC by Johannes Huber
Modified: 2025-02-22 15:32 UTC (History)
3 users (show)

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


Attachments
build.log (gtk-4.16.12:20250222-082136.log.gz,52.29 KB, application/gzip)
2025-02-22 08:50 UTC, Johannes Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Huber 2025-02-22 08:50:31 UTC
Created attachment 919658 [details]
build.log

Important part in the build log:
> gdkvulkancontext-x11.c:(.text+0x193): undefined reference to `vkCreateXlibSurfaceKHR'


❯ emerge --info
Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-14, glibc-2.41, 6.13.3-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.13.3-gentoo-dist-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.41
KiB Mem:    65732560 total,  21539324 free
KiB Swap:   31456252 total,  31456252 free
Head commit of repository gentoo: e0bb633f3d64008fdc1984d0183be9e50664f50e

Head commit of repository guru: 181d17433280ce62a191f704d652dadd2ee70944

Head commit of repository librewolf: 254d9a6a8cc97448461edd81079162087c6ced53

Timestamp of repository steam-overlay: Fri, 21 Feb 2025 11:18:26 +0000
Head commit of repository steam-overlay: 9be12cf63dfc9317b36e893c96d913f931817b86

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
ccache version 4.10.2 [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.11.11_p2::gentoo, 3.12.9::gentoo, 3.13.2::gentoo, 3.13.2-r100::gentoo
dev-lang/rust:             1.82.0-r102::gentoo, 1.84.0-r1::gentoo, 1.84.1-r1::gentoo, 1.85.0::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
llvm-core/clang:           18.1.8-r6::gentoo, 19.1.7::gentoo
llvm-core/lld:             18.1.8::gentoo, 19.1.7::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.43::gentoo
sys-apps/systemd:          257.2::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.13::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000
    volatile: True

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: git@github.com:johu/guru.git
    masters: gentoo
    volatile: True

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://codeberg.org/librewolf/gentoo.git
    masters: gentoo
    volatile: True

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

johu
    location: /var/db/repos/local-crossdev
    masters: gentoo
    priority: 10
    volatile: True

Installed sets: @dev, @embedded, @gentoo, @hyprland, @kdeapps
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
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="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 2 --backtrack=100 --keep-going --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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sign split-log splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j16"
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="/usr/bin/zsh"
USE="a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet colord crypt cryptsetup dbus device-mapper dist-kernel dracut dri dts dvd dvdr eds eglfs encode exif flac flatpak gdbm geoclue gif git gpg gpm grub gstreamer gtk3 gui iconv icu introspection ipv6 jpeg keyring kf6compat lcms libnotify libtirpc lvm mad man mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nfs nls nvenc nvidia ogg opengl openmp pam pango pcre pdf pipewire plymouth png policykit ppds pulseaudio qml qt6 readline screencast sdl seccomp share sound spell ssl startup-notification svg sysprof systemd test-rust tiff truetype udev udisks unicode upower usb v4l vala vim-syntax vorbis vulkan wayland wifi wireguard wxwidgets x264 xattr xcb xft xml xv xvid xvmc zeroconf zlib zsh-completion" ABI_X86="64" ADA_TARGET="gcc_14" 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 f16c fma3 pclmul popcnt sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" 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" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia" 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, 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
Comment 1 Ionen Wolkens gentoo-dev 2025-02-22 08:53:58 UTC
Output of `emerge -pvq media-libs/vulkan-loader`? I assume X is disabled.
Comment 2 Ionen Wolkens gentoo-dev 2025-02-22 08:55:58 UTC
(In reply to Ionen Wolkens from comment #1)
> Output of `emerge -pvq media-libs/vulkan-loader`? I assume X is disabled.
The ebuild likely need to check for wayland too, aka vulkan-loader[X?,wayland?] but I haven't checked (I needed to do have this on mpv too though).
Comment 3 Johannes Huber 2025-02-22 09:19:51 UTC
Yes I have disabled X globally.

❯ emerge -pqv media-libs/vulkan-loader
[ebuild   R   ] media-libs/vulkan-loader-1.4.304.0  USE="wayland -X -layers" ABI_X86="32 (64) (-x32)"
Comment 4 Ionen Wolkens gentoo-dev 2025-02-22 09:24:25 UTC
*** Bug 950097 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2025-02-22 09:39:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f67d2a92a865b44dff71e0cc7c6432d95f61e42

commit 1f67d2a92a865b44dff71e0cc7c6432d95f61e42
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-02-22 09:34:14 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-02-22 09:38:58 +0000

    gui-libs/gtk: depend on vulkan-loader[wayland?,X?]
    
    Not revbumping old given vulkan is masked for it and it'll be
    a worthless rebuild for most, but updating anyway.
    
    Closes: https://bugs.gentoo.org/950096
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 gui-libs/gtk/gtk-4.14.4-r1.ebuild                          | 4 ++--
 gui-libs/gtk/{gtk-4.16.12.ebuild => gtk-4.16.12-r1.ebuild} | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)