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

Bug 683264

Summary: gnome-extra/gnome-system-monitor-3.30.0 - ld: /usr/lib64/libgtkmm-3.0.so: undefined reference to `Gtk::Plug_Class::wrap_new(_GObject*)'
Product: Gentoo Linux Reporter: Dmitriy Baranov <reagentoo>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description Dmitriy Baranov 2019-04-13 22:29:35 UTC
Created attachment 572686 [details]
build.log

/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libgtkmm-3.0.so: undefined reference to `Gtk::Plug_Class::wrap_new(_GObject*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libgtkmm-3.0.so: undefined reference to `Gtk::Socket::get_type()'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libgtkmm-3.0.so: undefined reference to `Gtk::Plug::get_type()'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libgtkmm-3.0.so: undefined reference to `Gtk::Socket_Class::wrap_new(_GObject*)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Comment 1 Dmitriy Baranov 2019-04-13 22:30:04 UTC
Created attachment 572688 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-04-17 09:43:25 UTC
You need to re-emerge dev-cpp/gtkmm after you upgrade x11-libs/gtk+.
Comment 3 Dmitriy Baranov 2019-12-26 16:38:00 UTC
(In reply to Jeroen Roovers from comment #2)
> You need to re-emerge dev-cpp/gtkmm after you upgrade x11-libs/gtk+.

Does not help. This bug now is also actual for gnome-system-monitor-3.32.1.
Comment 4 Mart Raudsepp gentoo-dev 2019-12-26 16:48:53 UTC
So as per IRC chats and tests, this seems to be gnome-system-monitor not only depending on X stuff for the wnck stuff, but also unconditionally having some Gtk::Socket and Gtk::Plug_Class stuff, which are X11isms, so it needs gtkmm[X] unconditionally right now, with more details to be looked into.