emerging dev-cpp/gtkmm-3.12.2 without the X flag produce a shared library that have some undefined symbols ( like 'Gtk::Plug_Class::wrap_new(_GObject*)' ). gtkmm merge fine, but everything that use this library will not link due to unresolved symbols. enabling the X use flag will solve the issue. Reproducible: Always Steps to Reproduce: 1. USE="-X" emerge -1O '=dev-cpp/gtkmm-3.12.2' 2. emerge gnome-system-monitor Actual Results: gnome-system-monitor cannot be emerged becuase ld cannot link it against the libgtkmm library. i'm trying to running gnome on wayland, without X.
I would report this to upstream to try to know how do they prefer to handle this -> bugzilla.gnome.org
I wonder if dependencies that do require these symbols should just depend on gtkmm[X]. This is probably the best actual fix.
I fully agree -> the package requiring X support in gtkmm should get its deps fixed instead of we forcing X support in gtkmm (that could also harm people wanting to run wayland only setups in the future)