[MacPorts] #56781: gstreamer1-gst-plugins-bad @1.14.1_1 update fails

MacPorts noreply at macports.org
Sun Jul 8 12:03:02 UTC 2018


#56781: gstreamer1-gst-plugins-bad @1.14.1_1 update fails
-------------------------+--------------------
 Reporter:  Blokkendoos  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.5.3
 Keywords:               |       Port:
-------------------------+--------------------
 The update fails (on OS X 10.10.5 (Yosemite) and Xcode 7.2.1) with
 following errors:
 {{{
 :info:build /bin/sh ../../libtool  --tag=CC   --mode=compile
 /usr/bin/clang -arch x86_64 -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include -L/opt/local/lib -I../../gst-libs -I../../gst-libs
 -D_REENTRANT -I/opt/local/include/gstreamer-1.0
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -DGST_USE_UNSTABLE_API -fno-strict-aliasing  -DG_THREADS_MANDATORY
 -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla
 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-
 decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self
 -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs   -g
 -fvisibility=hidden -DSHM_PIPE_USE_GLIB -pipe -Os -std=c99 -funroll-loops
 -fstrict-aliasing -arch x86_64 -MT libgstshm_la-shmalloc.lo -MD -MP -MF
 .deps/libgstshm_la-shmalloc.Tpo -c -o libgstshm_la-shmalloc.lo `test -f
 'shmalloc.c' || echo './'`shmalloc.c
 :info:build In file included from iosurfacememory.c:25:
 :info:build In file included from ./iosurfacememory.h:28:
 :info:build In file included from
 /opt/local/include/gstreamer-1.0/gst/gl/gl.h:28:
 :info:build /opt/local/include/gstreamer-1.0/gst/gl/gstgldebug.h:28:33:
 warning: redefinition of typedef 'GstGLAsyncDebug' is a C11 feature
 [-Wtypedef-redefinition]
 :info:build typedef struct _GstGLAsyncDebug GstGLAsyncDebug;
 :info:build                                 ^
 :info:build /opt/local/include/gstreamer-1.0/gst/gl/gstgl_fwd.h:107:33:
 note: previous definition is here
 :info:build typedef struct _GstGLAsyncDebug GstGLAsyncDebug;
 :info:build                                 ^
 :info:build In file included from iosurfacememory.c:25:
 :info:build In file included from ./iosurfacememory.h:29:
 :info:build /opt/local/include/gstreamer-1.0/gst/gl/gstglfuncs.h:100:3:
 warning: redefinition of typedef 'GstGLFuncs' is a C11 feature [-Wtypedef-
 redefinition]
 :info:build } GstGLFuncs;
 :info:build   ^
 :info:build /opt/local/include/gstreamer-1.0/gst/gl/gstgl_fwd.h:105:28:
 note: previous definition is here
 :info:build typedef struct _GstGLFuncs GstGLFuncs;
 :info:build                            ^
 :info:build iosurfacememory.c:218:5: error: unknown type name 'CGLError';
 did you mean 'GError'?
 :info:build     CGLError cglError;
 :info:build     ^~~~~~~~
 :info:build     GError
 :info:build /opt/local/include/glib-2.0/glib/gerror.h:41:24: note:
 'GError' declared here
 :info:build typedef struct _GError GError;
 :info:build                        ^
 :info:build iosurfacememory.c:228:16: warning: implicit declaration of
 function 'CGLTexImageIOSurface2D' is invalid in C99 [-Wimplicit-function-
 declaration]
 :info:build     cglError = CGLTexImageIOSurface2D ((CGLContextObj)
 :info:build                ^
 :info:build iosurfacememory.c:229:9: error: expected ')'
 :info:build         gst_gl_context_get_gl_context (context), tex_target,
 texifmt,
 :info:build         ^
 :info:build iosurfacememory.c:228:39: note: to match this '('
 :info:build     cglError = CGLTexImageIOSurface2D ((CGLContextObj)
 :info:build                                       ^
 :info:build iosurfacememory.c:235:71: warning: format specifies type 'int'
 but the argument has type 'GError' (aka 'struct _GError') [-Wformat]
 :info:build     GST_DEBUG ("bound surface %p to texture %u: %d", surface,
 tex_id, cglError);
 :info:build                                                 ~~
 ^~~~~~~~
 :info:build /opt/local/include/gstreamer-1.0/gst/gstinfo.h:1064:87: note:
 expanded from macro 'GST_DEBUG'
 :info:build #define GST_DEBUG(...)                  GST_CAT_LEVEL_LOG
 (GST_CAT_DEFAULT, GST_LEVEL_DEBUG,   NULL, __VA_ARGS__)
 :info:build
 ^
 :info:build /opt/local/include/gstreamer-1.0/gst/gstinfo.h:640:31: note:
 expanded from macro 'GST_CAT_LEVEL_LOG'
 :info:build         (GObject *) (object), __VA_ARGS__);
 \
 :info:build                               ^
 :info:build 4 warnings and 2 errors generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/56781>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list