Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229889 - media-video/gpac-0.4.2-r1 cannot find ffmpeg/avformat.h with media-video/ffmpeg-0.4.9_p20080326
Summary: media-video/gpac-0.4.2-r1 cannot find ffmpeg/avformat.h with media-video/ffmp...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: media-video herd
Depends on:
Reported: 2008-06-28 12:18 UTC by Thomas Frenzel
Modified: 2008-06-29 14:14 UTC (History)
0 users

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

emerge --info (emerge-info.txt,4.69 KB, text/plain)
2008-06-28 12:20 UTC, Thomas Frenzel

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Frenzel 2008-06-28 12:18:58 UTC
Emerging media-video/gpac-0.4.2-r1 yields complains about not beeing able to find the header ffmpeg/avformat.h. I suspect it tries to include avformat.h of ffmpeg, but media-video/ffmpeg-0.4.9_p20080326 installs this header to /usr/include/libavformat/avformat.h which cannot be matched to the requested path by cpp.

Reproducible: Always

Steps to Reproduce:
1. emerge =media-video/ffmpeg-0.4.9_p20080326
2. emerge =media-video/gpac-0.4.2-r1

Actual Results:  
make[2]: Entering directory `/var/tmp/portage/media-video/gpac-0.4.2-r1/work/gpac/modules/ffmpeg_in'
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -fno-strict-aliasing -Wall -I/var/tmp/portage/media-video/gpac-0.4.2-r1/work/gpac/include -fPIC -c ffmpeg_decode.c -o ffmpeg_decode.opic
In file included from ffmpeg_decode.c:25:
ffmpeg_in.h:54:29: error: ffmpeg/avformat.h: No such file or directory
In file included from ffmpeg_decode.c:25:
ffmpeg_in.h:66: error: expected specifier-qualifier-list before 'AVCodecContext'
ffmpeg_in.h:91: error: expected specifier-qualifier-list before 'AVFormatContext

Expected Results:  
Gpac should detect (or know about) the location of ffmpegs header files.
Comment 1 Thomas Frenzel 2008-06-28 12:20:58 UTC
Created attachment 158741 [details]
emerge --info
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-28 13:11:13 UTC
Testing does, stable ebuilds ffmpeg dependency has been missed to adjust, though.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-29 14:14:02 UTC
+  29 Jun 2008; Peter Alfredsen <> -gpac-0.4.2.ebuild,
+  gpac-0.4.2-r1.ebuild:
+  Fix deps for stable gpac to not include >=ffmpeg-0.4.9_p20080326. Fixes
+  bug #229889.