Bug 228833 - media-video/transcode-1.0.4-r2 fails to build with ffmpeg-0.4.9_p20080326
Bug#: 228833 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: media-video@gentoo.org Reported By: benni@netronaut.de
Component: Ebuilds
URL: 
Summary: media-video/transcode-1.0.4-r2 fails to build with ffmpeg-0.4.9_p20080326
Keywords:  
Status Whiteboard: 
Opened: 2008-06-22 03:13 0000
Description:   Opened: 2008-06-22 03:13 0000
The transcode build assumes the ffmpeg headers are in ffmpeg/, but they are in
libavcodec/ instead, so configure whines about them being missing.

I attach a stupid, ugly and brute-force patch to the ebuild that works nicely
over here.

This could also be an issue of other versions of transcode (haven't tried
though). I have no idea if this is a upstream transcode or ffmpeg issue.

Cheers,

Benjamin

------- Comment #1 From Benjamin Bannier 2008-06-22 03:14:38 0000 -------
Created an attachment (id=157969) [details]
sed for correct include paths

------- Comment #2 From Benjamin Bannier 2008-06-22 04:34:50 0000 -------
Sorry,

one important piece of information I forget: ffmpeg is at
media-video/ffmpeg-0.4.9_p20080326 here.

------- Comment #3 From Ben de Groot 2008-06-22 07:23:38 0000 -------
It is because you are mixing branches: stable transcode with testing (~arch)
ffmpeg version. ~transcode-1.0.4 works with ~ffmpeg-0.4.9_p20070616, if you use
ffmpeg-0.4.9_p20080326 you should use transcode-1.0.6_rc2-r1 with that. See bug
214740.

The ffmpeg dependency for <=transcode-1.0.5-r2 needs an update to prevent this
mixing.

------- Comment #4 From Peter Alfredsen 2008-06-29 14:49:02 0000 -------
+  29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> transcode-1.0.4.ebuild,
+  transcode-1.0.4-r2.ebuild, -transcode-1.0.5-r2.ebuild:
+  Fix deps for ffmpeg wrt bug #228833.
+