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

Bug 518604

Summary: media-video/ffmpeg-2.3 USE="pulseaudio -alsa -jack -v4l" - libavdevice/libavdevice.so: undefined reference to `ff_timefilter_destroy'
Product: Gentoo Linux Reporter: Ben Kohler <bkohler>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler, michael, ulenrich
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
ffmpeg-2.3-pulseaudio-timefilter-linking.patch

Description Ben Kohler gentoo-dev 2014-07-30 20:04:45 UTC
Created attachment 381912 [details]
build.log.xz

In libavdevice, some timefilter code is used if you enable alsa, jack, v4l2, or pulseaudio.  However, it's only linked in if you enable at least one of the first 3, so you get some unresolved symbols @ link time if you set USE="pulseaudio -alsa -jack -v4l"
Comment 1 Ben Kohler gentoo-dev 2014-07-30 20:06:52 UTC
Created attachment 381914 [details, diff]
ffmpeg-2.3-pulseaudio-timefilter-linking.patch

I believe this should fix the linking issue.
Comment 2 Ulenrich 2014-08-02 13:20:28 UTC
@Ben, thank you very much for the patch!

Applying this patch I managed to compile
media-video/ffmpeg-2.3.1
having none of alsa, jack or v4l2 USE flags

! confirming
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-21 20:11:42 UTC
*** Bug 526346 has been marked as a duplicate of this bug. ***
Comment 4 Ulenrich 2014-11-09 14:22:15 UTC
media-vido/ffmpeg-2.3.4.ebuild
has been removed as old. 
I don't know why. Instead upstream released
media-vido/ffmpeg-2.3.5
which I just renamed from the old ffmpeg-2.3.4 and runs well with
media-video/mpv-0.6.1
But instead there is a $PORTDIR/profiles/package.mask:
# Maxim Koltsov <maksbotan@gentoo.org> (12 Sep 2014)
# Requires masked libav-10
# If you use media-video/ffmpeg, it's absolutely safe to unmask this package.
# Sorry for the inconvenience!
#
# Developers: Please DO NOT REMOVE this mask, which was discussed and
# agreed on #gentoo-dev by mgorny, patrick and others
=media-video/mpv-0.4*
=media-video/mpv-0.5*
=media-video/mpv-0.6*
---
But it just should be expressed an additional depend ffmpeg in the ebuild?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-01 11:51:56 UTC
*** Bug 531010 has been marked as a duplicate of this bug. ***
Comment 6 Alexis Ballier gentoo-dev 2014-12-02 08:57:44 UTC
fixed upstream in 2.4.4 now in portage