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

Bug 229889

Summary: media-video/gpac-0.4.2-r1 cannot find ffmpeg/avformat.h with media-video/ffmpeg-0.4.9_p20080326
Product: Gentoo Linux Reporter: Thomas Frenzel <syslock>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

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 <loki_val@gentoo.org> -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.
+