"ld --as-needed used to compile it and its dependencies dropped the libm link which these plugins directly needed but only linked indirectly. The fix is to simply link them explicitly. Additionally conv-mjpeg is missing a link against libjpeg." Above excerpt taken from https://bugs.launchpad.net/ubuntu/+source/xawtv/+bug/821916 -------------------------------------------------------------------------------- --- /usr/portage/media-tv/xawtv/xawtv-3.95-r2.ebuild +++ /usr/local/portage/media-tv/xawtv/xawtv-3.95-r2.ebuild @@ -84,6 +84,8 @@ # It tries to include FSlib.h directly, but this seems to have moved. use X && has_version x11-libs/libFS && append-flags -I/usr/include/X11/fonts + append-ldflags $(no-as-needed) + econf \ $(use_with X x) \ $(use_enable xext xfree-ext) \ -------------------------------------------------------------------------------- Without the above additions (which are only temporary), we get this while trying to use the streamer binary: dlopen: /usr/lib64/xawtv/flt-disor.so: undefined symbol: tan dlopen: /usr/lib64/xawtv/flt-gamma.so: undefined symbol: pow Please link the needed libraries explicitly in the build process in order to fix this efficiently.
Created attachment 310431 [details, diff] xawtv-3.95-as-needed.patch origin: http://bazaar.launchpad.net/~jtaylor/ubuntu/oneiric/xawtv/fix-821916/revision/25/debian/patches/104_fix_plugin_links.dpatch
Created attachment 310433 [details] xawtv-3.95-r2.ebuild.diff
*** Bug 436708 has been marked as a duplicate of this bug. ***
As I wrote in bug #436708: >> This bug was fixed upstream. We should probably pull a new version into >> portage. > JWZ already reported it a while ago: > https://bugs.gentoo.org/show_bug.cgi?id=456100
Created attachment 367744 [details] ebuild for latest version As a starting-off point, here's an ebuild for the latest xawtv on the 3x branch. This drops the patches for the previous version. Interested parties should check that that is warranted before this can be merged into the main tree.
Created attachment 367746 [details] xawtv-3.103.ebuild
You could make this bug depend on https://bugs.gentoo.org/show_bug.cgi?id=358013 (media-tv/xawtv-3.103 version bump) There is an EAPI=5 ebuild.