Build fails with an error. Reproducible: Always Steps to Reproduce: 1. emerge xfce-extra/xfce4-radio-plugin-0.5.1 Actual Results: Build fails as follows: .... make --quiet -j1 Making all in panel-plugin xfce4-radio.c: In function ‘_xpp_realize’: xfce4-radio.c:1714:1: warning: passing argument 1 of ‘gtk_widget_get_realized’ from incompatible pointer type [enabled by default] XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(radio_plugin_construct); ^ In file included from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35:0, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from xfce4-radio.h:23, from xfce4-radio.c:44: /usr/include/gtk-2.0/gtk/gtkwidget.h:981:23: note: expected ‘struct GtkWidget *’ but argument is of type ‘struct GtkPlug *’ gboolean gtk_widget_get_realized (GtkWidget *widget); ^ /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: xfce4_radio_plugin-v4l2.o: undefined reference to symbol 'round@@GLIBC_2.1' /lib/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:318: recipe for target 'xfce4-radio-plugin' failed make[2]: *** [xfce4-radio-plugin] Error 1 Makefile:289: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:227: recipe for target 'all' failed make: *** [all] Error 2 [31;01m*[0m ERROR: xfce-extra/xfce4-radio-plugin-0.5.1::gentoo failed (compile phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=xfce-extra/xfce4-radio-plugin-0.5.1::gentoo'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=xfce-extra/xfce4-radio-plugin-0.5.1::gentoo'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/portage/xfce-extra/xfce4-radio-plugin-0.5.1/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/portage/xfce-extra/xfce4-radio-plugin-0.5.1/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/portage/xfce-extra/xfce4-radio-plugin-0.5.1/work/xfce4-radio-plugin-0.5.1' [31;01m*[0m S: '/var/tmp/portage/portage/xfce-extra/xfce4-radio-plugin-0.5.1/work/xfce4-radio-plugin-0.5.1'
Created attachment 406902 [details, diff] xfce4-radio-plugin-fix-libm-underlinking.patch Patch from Xfce4 bugtracker https://bugzilla.xfce.org/show_bug.cgi?id=7983 Build fine with this patch
Created attachment 406914 [details] xfce4-radio-plugin-0.5.1-r1.ebuild
I've allowed myself to use the easier fix of appending -lm to LIBS :). +*xfce4-radio-plugin-0.5.1-r1 (19 Jul 2015) + + 19 Jul 2015; Michał Górny <mgorny@gentoo.org> + +xfce4-radio-plugin-0.5.1-r1.ebuild: + Add subslot operators to deps. Fix underlinking, bug #555056.