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

Bug 601946

Summary: media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r5 fails to build with media-video/ffmpeg-3.2.1
Product: Gentoo Linux Reporter: Weedy <weedy2887>
Component: Current packagesAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 574788    

Description Weedy 2016-12-08 03:36:19 UTC
I don't update daily/weekly so I don't know when we got media-video/ffmpeg-3.x, but this feels like a more general media-video/ffmpeg-3.x then specific to v3.2.1. Something in the same vein as bug575052, bug575054, bug575052, bug575062, and bug575100. 

It builds fine with the last 2.x in ~amd54

The full output is so long I'd have to put my term on unlimited scroll back. If you really need it poke me and I'll find the build.log.

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r5/work/gst-ffmpeg-0.10.13_p201211/ext/ffmpeg -I../.. -pthread -I/usr/include/gs
treamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r5/work/gst-ffmpeg-0.10.13_p201211/gst-libs -I../../g
st-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmiss
ing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-exter
ns -O2 -march=native -pipe -fomit-frame-pointer -fgcse-after-reload -fgcse-lm -fgcse-sm -fvect-cost-model -ftree-vectorize -ftracer -fivopts -fmodulo-sched -fpredictive-commoning -c /var/tmp/portage/media-plugin
s/gst-plugins-ffmpeg-0.10.13_p201211-r5/work/gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegenc.c  -fPIC -DPIC -o .libs/libgstffmpeg_la-gstffmpegenc.o
In file included from ../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:23:0:
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.h:52:28: warning: 'enum PixelFormat' declared inside parameter list
                            int         height);
                            ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.h:52:28: warning: its scope is only this definition or declaration, which is probably not what you want
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:105:32: error: 'PIX_FMT_NB' undeclared here (not in a function)
 static PixFmtInfo pix_fmt_info[PIX_FMT_NB];
                                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c: In function 'gst_ffmpeg_init_pix_fmt_info':
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:110:16: error: 'PIX_FMT_YUV420P' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV420P].name = g_strdup ("yuv420p");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:110:16: note: each undeclared identifier is reported only once for each function it appears in
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:114:42: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   pix_fmt_info[PIX_FMT_YUV420P].depth = 8,
                                          ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:115:55: warning: left-hand operand of comma expression has no effect [-Wunused-value]
       pix_fmt_info[PIX_FMT_YUV420P].x_chroma_shift = 1,
                                                       ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:118:16: error: 'PIX_FMT_YUV422P' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV422P].name = g_strdup ("yuv422p");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:126:16: error: 'PIX_FMT_YUV444P' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV444P].name = g_strdup ("yuv444p");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:134:16: error: 'PIX_FMT_YUYV422' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUYV422].name = g_strdup ("yuv422");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:142:16: error: 'PIX_FMT_YUV410P' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV410P].name = g_strdup ("yuv410p");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:150:16: error: 'PIX_FMT_YUV411P' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV411P].name = g_strdup ("yuv411p");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:159:16: error: 'PIX_FMT_YUVJ420P' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUVJ420P].name = g_strdup ("yuvj420p");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:167:16: error: 'PIX_FMT_YUVJ422P' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUVJ422P].name = g_strdup ("yuvj422p");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:175:16: error: 'PIX_FMT_YUVJ444P' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUVJ444P].name = g_strdup ("yuvj444p");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:184:16: error: 'PIX_FMT_RGB24' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_RGB24].name = g_strdup ("rgb24");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:192:16: error: 'PIX_FMT_BGR24' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_BGR24].name = g_strdup ("bgr24");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:200:16: error: 'PIX_FMT_RGB32' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_RGB32].name = g_strdup ("rgba32");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:209:16: error: 'PIX_FMT_RGB565' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_RGB565].name = g_strdup ("rgb565");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:217:16: error: 'PIX_FMT_RGB555' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_RGB555].name = g_strdup ("rgb555");

../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:227:16: error: 'PIX_FMT_GRAY8' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_GRAY8].name = g_strdup ("gray");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:233:16: error: 'PIX_FMT_MONOWHITE' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_MONOWHITE].name = g_strdup ("monow");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:239:16: error: 'PIX_FMT_MONOBLACK' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_MONOBLACK].name = g_strdup ("monob");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:246:16: error: 'PIX_FMT_PAL8' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_PAL8].name = g_strdup ("pal8");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:253:16: error: 'PIX_FMT_YUVA420P' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUVA420P].name = g_strdup ("yuva420p");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:258:43: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   pix_fmt_info[PIX_FMT_YUVA420P].depth = 8,
                                           ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:259:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
       pix_fmt_info[PIX_FMT_YUVA420P].x_chroma_shift = 1,
                                                        ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:262:16: error: 'PIX_FMT_YUV420P10BE' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV420P10BE].name = g_strdup ("yuv420p10be");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:266:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   pix_fmt_info[PIX_FMT_YUV420P10BE].depth = 10,
                                               ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:267:59: warning: left-hand operand of comma expression has no effect [-Wunused-value]
       pix_fmt_info[PIX_FMT_YUV420P10BE].x_chroma_shift = 1,
                                                           ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:270:16: error: 'PIX_FMT_YUV420P10LE' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV420P10LE].name = g_strdup ("yuv420p10le");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:274:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   pix_fmt_info[PIX_FMT_YUV420P10LE].depth = 10,
                                               ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:275:59: warning: left-hand operand of comma expression has no effect [-Wunused-value]
       pix_fmt_info[PIX_FMT_YUV420P10LE].x_chroma_shift = 1,
                                                           ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:278:16: error: 'PIX_FMT_YUV422P10BE' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV422P10BE].name = g_strdup ("yuv422p10be");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:286:16: error: 'PIX_FMT_YUV422P10LE' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV422P10LE].name = g_strdup ("yuv422p10le");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:294:16: error: 'PIX_FMT_YUV444P10BE' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV444P10BE].name = g_strdup ("yuv444p10be");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:302:16: error: 'PIX_FMT_YUV444P10LE' undeclared (first use in this function)
   pix_fmt_info[PIX_FMT_YUV444P10LE].name = g_strdup ("yuv444p10le");
                ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c: In function 'gst_ffmpeg_avpicture_get_size':
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:316:56: error: type of formal parameter 3 is incomplete
   return gst_ffmpeg_avpicture_fill (&dummy_pict, NULL, pix_fmt, width, height);
                                                        ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c: At top level:
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:328:25: warning: 'enum PixelFormat' declared inside parameter list
     uint8_t * ptr, enum PixelFormat pix_fmt, int width, int height)
                         ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:328:37: error: parameter 3 ('pix_fmt') has incomplete type
     uint8_t * ptr, enum PixelFormat pix_fmt, int width, int height)
                                     ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c: In function 'gst_ffmpeg_avpicture_fill':
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:337:10: error: 'PIX_FMT_YUV420P' undeclared (first use in this function)
     case PIX_FMT_YUV420P:
          ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:338:10: error: 'PIX_FMT_YUV422P' undeclared (first use in this function)
     case PIX_FMT_YUV422P:
          ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:339:10: error: 'PIX_FMT_YUV444P' undeclared (first use in this function)
     case PIX_FMT_YUV444P:
          ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:340:10: error: 'PIX_FMT_YUV410P' undeclared (first use in this function)
     case PIX_FMT_YUV410P:
          ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:341:10: error: 'PIX_FMT_YUV411P' undeclared (first use in this function)
     case PIX_FMT_YUV411P:
          ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:342:10: error: 'PIX_FMT_YUVJ420P' undeclared (first use in this function)
     case PIX_FMT_YUVJ420P:
          ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:343:10: error: 'PIX_FMT_YUVJ422P' undeclared (first use in this function)
     case PIX_FMT_YUVJ422P:
          ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:344:10: error: 'PIX_FMT_YUVJ444P' undeclared (first use in this function)
     case PIX_FMT_YUVJ444P:
          ^
../../../gst-ffmpeg-0.10.13_p201211/ext/ffmpeg/gstffmpegutils.c:352:7: warning: 'data' is deprecated [-Wdeprecated-declarations]
       picture->data[0] = ptr;
       ^
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-12-08 06:14:04 UTC

*** This bug has been marked as a duplicate of bug 575056 ***