Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218105 - Prepare no-herd apps to use newer ffmpeg
Summary: Prepare no-herd apps to use newer ffmpeg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
: 219941 228615 (view as bug list)
Depends on: 216978
Blocks: 214740
  Show dependency tree
 
Reported: 2008-04-17 13:16 UTC by Ben de Groot (RETIRED)
Modified: 2008-06-25 18:36 UTC (History)
5 users (show)

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


Attachments
cmus-2.2.0.ebuild.patch (cmus-2.2.0.ebuild.patch,434 bytes, patch)
2008-04-25 14:43 UTC, Ben de Groot (RETIRED)
Details | Diff
cmus-new-ffmpeg.patch (cmus-new-ffmpeg.patch,395 bytes, patch)
2008-04-25 14:44 UTC, Ben de Groot (RETIRED)
Details | Diff
Patch to mpeg4ip-1.5.0.1 source to use new ffmpeg header locations (mpeg4ip-1.5.0.1-ffmpeg-headers.patch,3.17 KB, patch)
2008-06-21 05:46 UTC, Andrew Church
Details | Diff
Updated version of patch to work with new ffmpeg header locations (mpeg4ip-1.5.0.1-avcodec_extern_c-2.patch,2.05 KB, patch)
2008-06-21 05:46 UTC, Andrew Church
Details | Diff
Patch for mpeg4ip ebuild (mpeg4ip-1.5.0.1-r4.ebuild.patch,781 bytes, patch)
2008-06-21 05:48 UTC, Andrew Church
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben de Groot (RETIRED) gentoo-dev 2008-04-17 13:16:39 UTC
FFmpeg recently changed all the include paths. Every application using it
should update. Make sure the applications build against currently hardmasked media-video/ffmpeg-0.4.9_p20080326.

no-herd packages:

dev-util/bugle - jokey@gentoo.org
media-libs/swfdec - pclouds@gentoo.org
media-sound/cmus - opfer@gentoo.org
media-sound/slimserver - lavajoe@gentoo.org
media-video/coriander - stefaan@gentoo.org
media-video/mpeg4ip - tester@gentoo.org
net-www/gnash - genstef@gentoo.org

Last one to close the door... eeuh... bug ;)
Comment 1 Joe Peterson (RETIRED) gentoo-dev 2008-04-17 18:54:16 UTC
media-sound/slimserver builds with this ffmeg, but as a side issue, the new ffmpeg does not build without USE="mmx".  If I do not use this USE flag, I get:

i686-pc-linux-gnu-gcc -march=i686 -O2 -pipe -DBROKEN_RELOCATIONS -fomit-frame-po
inter -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -W
pointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -f
no-math-errno -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg
" -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg" -I"/var/tm
p/portage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libavutil -I"/var/tmp/
portage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libavcodec -I"/var/tmp/p
ortage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libavformat -I"/var/tmp/p
ortage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libswscale -I"/var/tmp/po
rtage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libavdevice -I"/var/tmp/po
rtage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg"/libavfilter -D_FILE_OFFSET
_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -DHAVE_AV_CONFIG_H  -DHAVE_AV_CONF
IG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/var/tmp/por
tage/media-video/ffmpeg-0.4.9_p20080326/work/ffmpeg" -I"/var/tmp/portage/media-v
ideo/ffmpeg-0.4.9_p20080326/work/ffmpeg" -I"/var/tmp/portage/media-video/ffmpeg-
0.4.9_p20080326/work/ffmpeg"/libavcodec -I"/var/tmp/portage/media-video/ffmpeg-0
.4.9_p20080326/work/ffmpeg"/libavdevice -I"/var/tmp/portage/media-video/ffmpeg-0
.4.9_p20080326/work/ffmpeg"/libavfilter -I"/var/tmp/portage/media-video/ffmpeg-0
.4.9_p20080326/work/ffmpeg"/libavformat -I"/var/tmp/portage/media-video/ffmpeg-0
.4.9_p20080326/work/ffmpeg"/libavutil -I"/var/tmp/portage/media-video/ffmpeg-0.4
.9_p20080326/work/ffmpeg"/libpostproc -I"/var/tmp/portage/media-video/ffmpeg-0.4
.9_p20080326/work/ffmpeg"/libswscale -march=i686 -O2 -pipe -DBROKEN_RELOCATIONS 
-fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-
optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Ww
rite-strings -fno-math-errno  -c -o yuv2rgb.o yuv2rgb.c
yuv2rgb.c: In function 'yuv2rgb_get_func_ptr':
yuv2rgb.c:609: error: 'yuv420_rgb32_MMX2' undeclared (first use in this function
)
yuv2rgb.c:609: error: (Each undeclared identifier is reported only once
yuv2rgb.c:609: error: for each function it appears in.)
yuv2rgb.c:610: error: 'yuv420_rgb24_MMX2' undeclared (first use in this function
)
yuv2rgb.c:611: error: 'yuv420_rgb16_MMX2' undeclared (first use in this function
)
yuv2rgb.c:612: error: 'yuv420_rgb15_MMX2' undeclared (first use in this function
)
yuv2rgb.c:617: error: 'yuv420_rgb32_MMX' undeclared (first use in this function)
yuv2rgb.c:618: error: 'yuv420_rgb24_MMX' undeclared (first use in this function)
yuv2rgb.c:619: error: 'yuv420_rgb16_MMX' undeclared (first use in this function)
yuv2rgb.c:620: error: 'yuv420_rgb15_MMX' undeclared (first use in this function)
make[1]: *** [yuv2rgb.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/ffmpeg-0.4.9_p20080326/
work/ffmpeg/libswscale'
make: *** [lib] Error 2
 * 
 * ERROR: media-video/ffmpeg-0.4.9_p20080326 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2395:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make failed
 * 
 * If you need support, post the topmost build error, and the call stack if rele
vant.
 * A complete build log is located at '/var/tmp/portage/media-video/ffmpeg-0.4.9
_p20080326/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpe
g-0.4.9_p20080326/temp/environment'.
 * 
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2008-04-17 19:56:19 UTC
dev-util/bugle works fine here
Comment 3 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-04-18 12:33:54 UTC
swfdec upstream will likely drop ffmpeg support in future versions, so I made swfdec-0.6* refuse to use p20080326 and newer
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2008-04-24 13:46:03 UTC
cmus is not compatible with newer ffmpeg, I contacted upstream about it.  Should I adjust the dependency on cmus 2.2.0?
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2008-04-25 14:42:51 UTC
No, we prefer patching, if that's not too complicated. I made a quick patch for cmus, though a more elegant solution may exist.
Comment 6 Ben de Groot (RETIRED) gentoo-dev 2008-04-25 14:43:38 UTC
Created attachment 150953 [details, diff]
cmus-2.2.0.ebuild.patch
Comment 7 Ben de Groot (RETIRED) gentoo-dev 2008-04-25 14:44:09 UTC
Created attachment 150954 [details, diff]
cmus-new-ffmpeg.patch
Comment 8 Stefaan De Roeck (RETIRED) gentoo-dev 2008-04-27 14:41:44 UTC
The latest coriander currently doesn't support ffmpeg, making it a non-issue for this package.  
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2008-04-28 22:54:07 UTC
(In reply to comment #5)
> No, we prefer patching, if that's not too complicated. I made a quick patch for
> cmus, though a more elegant solution may exist.

 Not really, upstream also fixed it, so thanks for your patch.  Applied, and I am out of here.
Comment 10 Ben de Groot (RETIRED) gentoo-dev 2008-05-01 15:24:48 UTC
*** Bug 219941 has been marked as a duplicate of this bug. ***
Comment 11 Ben de Groot (RETIRED) gentoo-dev 2008-06-13 20:57:08 UTC
Remaining:
media-video/mpeg4ip - tester@gentoo.org
net-www/gnash - genstef@gentoo.org

Please fix in the next few days, as we plan to unmask ffmpeg-0.4.9_p20080326 next week.
Comment 12 Ben de Groot (RETIRED) gentoo-dev 2008-06-20 18:42:42 UTC
*** Bug 228615 has been marked as a duplicate of this bug. ***
Comment 13 Andrew Church 2008-06-21 05:46:06 UTC
Created attachment 157851 [details, diff]
Patch to mpeg4ip-1.5.0.1 source to use new ffmpeg header locations
Comment 14 Andrew Church 2008-06-21 05:46:56 UTC
Created attachment 157853 [details, diff]
Updated version of patch to work with new ffmpeg header locations
Comment 15 Andrew Church 2008-06-21 05:48:32 UTC
Created attachment 157855 [details, diff]
Patch for mpeg4ip ebuild

This should get mpeg4ip working again (with the two patches above dropped into the files directory).
Comment 16 Ben de Groot (RETIRED) gentoo-dev 2008-06-21 21:29:22 UTC
Unmasking media-video/mpeg4ip-1.5.0.1-r5, which is patched for new ffmpeg header support. Thanks Andrew Church for supplying these patches!

This leaves net-www/gnash to be done.
Comment 17 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-25 18:36:22 UTC
+*gnash-0.8.3 (25 Jun 2008)
+
+  25 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> metadata.xml,
+  +gnash-0.8.3.ebuild:
+  Bump. Fixes bugs 212943, 213167, 218105 and 226099. Added tests, cleaned
+  up ebuild.