Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660904 - net-libs/gtk-vnc-0.7.2 implicitly depends on Wayland
Summary: net-libs/gtk-vnc-0.7.2 implicitly depends on Wayland
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-11 13:08 UTC by Marek Szuba
Modified: 2020-07-01 17:50 UTC (History)
3 users (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 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.