Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941754 - sys-apps/xdg-desktop-portal-gtk: "undefined symbol: gdk_wayland_window_set_transient_for_exported" when using binpkg
Summary: sys-apps/xdg-desktop-portal-gtk: "undefined symbol: gdk_wayland_window_set_tr...
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-10-18 09:06 UTC by opensauce04
Modified: 2024-10-18 09:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description opensauce04 2024-10-18 09:06:17 UTC
When emerging the `xdg-desktop-portal-gtk` binpkg with the wayland USE flag disabled globally, the following error is encountered when attempting to execute the installed binary:

/usr/libexec/xdg-desktop-portal-gtk: symbol lookup error: /usr/libexec/xdg-desktop-portal-gtk: undefined symbol: gdk_wayland_window_set_transient_for_exported

If you compile the package within the same environment instead of using the binpkg, no such error occurs and the compiled binary runs as expected, so this appears to be an issue specific to the binpkg.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-18 09:07:28 UTC
The ebuild has "x11-libs/gtk+:3[wayland?,X?]" without passing wayland or X into the build system, I assume as a workaround for the general gtk automagic wayland/x issue.

Anyway, fortunately, we have a way to fix that now without resorting to = deps as we have the macro hack.