Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518604 - media-video/ffmpeg-2.3 USE="pulseaudio -alsa -jack -v4l" - libavdevice/libavdevice.so: undefined reference to `ff_timefilter_destroy'
Summary: media-video/ffmpeg-2.3 USE="pulseaudio -alsa -jack -v4l" - libavdevice/libavd...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 526346 531010 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-30 20:04 UTC by Ben Kohler
Modified: 2014-12-02 08:57 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,45.20 KB, application/x-xz)
2014-07-30 20:04 UTC, Ben Kohler
Details
ffmpeg-2.3-pulseaudio-timefilter-linking.patch (ffmpeg-2.3-pulseaudio-timefilter-linking.patch,798 bytes, patch)
2014-07-30 20:06 UTC, Ben Kohler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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