Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555056 - xfce-extra/xfce4-radio-plugin-0.5.1 build fails (request for patch)
Summary: xfce-extra/xfce4-radio-plugin-0.5.1 build fails (request for patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-16 08:57 UTC by RedEyedMan
Modified: 2015-07-19 18:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
xfce4-radio-plugin-fix-libm-underlinking.patch (xfce4-radio-plugin-fix-libm-underlinking.patch,492 bytes, patch)
2015-07-16 09:01 UTC, RedEyedMan
Details | Diff
xfce4-radio-plugin-0.5.1-r1.ebuild (file_555056.txt,900 bytes, text/plain)
2015-07-16 10:37 UTC, RedEyedMan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RedEyedMan 2015-07-16 08:57:52 UTC
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'
Comment 1 RedEyedMan 2015-07-16 09:01:22 UTC
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
Comment 2 RedEyedMan 2015-07-16 10:37:11 UTC
Created attachment 406914 [details]
xfce4-radio-plugin-0.5.1-r1.ebuild
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-07-19 18:21:08 UTC
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.