Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362949 - www-plugins/gnash-0.8.9 fails to build against media-video/ffmpeg-0.8: undefined reference to `av_parser_parse'
Summary: www-plugins/gnash-0.8.9 fails to build against media-video/ffmpeg-0.8: undefi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL: https://savannah.gnu.org/bugs/index.p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-10 21:08 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2016-04-02 20:57 UTC (History)
4 users (show)

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


Attachments
ldd -r libgnashmedia.so (ldd-r.txt,3.73 KB, text/plain)
2011-04-10 21:10 UTC, Chí-Thanh Christopher Nguyễn
Details
build.log (build.log.bz2,31.93 KB, application/x-bzip2)
2011-04-10 21:14 UTC, Chí-Thanh Christopher Nguyễn
Details
possible fix (gnash-0.8.9-no-deprecated-avcodec-parser.patch,807 bytes, patch)
2011-04-10 22:20 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2011-04-10 21:08:55 UTC
Since ffmpeg-0.6.90_rc0, gnash fails to link:

/var/tmp/portage/www-plugins/gnash-0.8.9/work/gnash-0.8.9/libmedia/.libs/libgnashmedia.so: undefined reference to `av_parser_parse'
collect2: ld returned 1 exit status
make[4]: *** [sdl-gnash] Error 1

According to the ffmpeg changelog, av_parser_parse() has been marked as deprecated. media-video herd, please advise.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-04-10 21:10:19 UTC
Created attachment 269391 [details]
ldd -r libgnashmedia.so
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-04-10 21:14:02 UTC
Created attachment 269393 [details]
build.log
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-04-10 22:20:10 UTC
Created attachment 269403 [details, diff]
possible fix

This patch makes gnash build against ffmpeg-0.6.90_rc0. But I am not sure whether it is the correct solution.
Comment 4 Alexis Ballier gentoo-dev 2011-04-12 14:32:43 UTC
your fix is correct but this function not being available indicates a bug in ffmpeg, I'll send a patch upstream for it
(at least ffmpeg-0.6 supports av_parser_parse2, didnt check older versions)
Comment 5 Alexis Ballier gentoo-dev 2011-04-12 14:34:08 UTC
ah, this is already fixed in git, I'll backport it and push a -r1
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-07-02 21:09:05 UTC
In ffmpeg-0.8 this was removed for good. I added patches to gnash so it no longer uses the deprecated symbols.