Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 660904

Summary: net-libs/gtk-vnc-0.7.2 implicitly depends on Wayland
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, leio, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marek Szuba archtester gentoo-dev 2018-07-11 13:08:19 UTC
Not long ago I decided to switch Wayland back off on my system, which I did by removing USE=wayland from make.conf and running emerge --newuse @world. However, a recent attempt to emerge net-misc/vinagre (which depends on net-libs/gtk-vnc) has failed with:

/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libgtk-vnc-2.0.so: undefined reference to `gdk_wayland_display_get_type'
collect2: error: ld returned 1 exit status

Reemerging net-libs/gtk-vnc on a Wayland-free system has made the problem go away.
Comment 1 Mart Raudsepp gentoo-dev 2018-07-11 13:15:32 UTC
That's just automagic stuff from gtk+[wayland]. Having to lock these is not nice to the common user who doesn't flip these things. It could use a subslot operator dep kind of thing, but for USE flags. "Rebuild this package if the USE flag toggle on package X changes", or something close to that.
Comment 2 Mart Raudsepp gentoo-dev 2018-07-11 13:17:06 UTC
Bug 624960 is the bigger bug about this. Not sure if to DUP against it or not. Should look into gtk-vnc, in case it has some other wayland specifics, which might be the case with such a library; then if it has a USE flag anyways, we can lock it with gtk+ somewhat maybe in this specific case..
Comment 3 Marek Szuba archtester gentoo-dev 2020-07-01 17:50:23 UTC
I did the same thing a couple of months ago and this time gtk-vnc lost its Wayland-related symbols without a manual rebuild.