[MacPorts] #56923: gstreamer1-gst-plugins-bad-1.14.2_0.darwin_15.x86_64
MacPorts
noreply at macports.org
Tue Aug 7 02:51:14 UTC 2018
#56923: gstreamer1-gst-plugins-bad-1.14.2_0.darwin_15.x86_64
-----------------------------------------+----------------------
Reporter: splaisan | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gstreamer1-gst-plugins-bad |
-----------------------------------------+----------------------
Comment (by ewenmcneill):
Also fails on OS X 10.11 (El Capitan). AFAICT this is the fatal error:
{{{
:info:build libtool: compile: /usr/bin/clang -arch x86_64 -DHAVE_CONFIG_H
-I. -I../.. -Dgst_core_media_buffer_new=gst_core_media_buffer_priv_new
-Dgst_core_media_buffer_get_type=gst_core_media_buffer_priv_get_type
-Dgst_core_media_buffer_get_pixel_buffer=gst_core_media_buffer_priv_get_pixel_buffer
-Dgst_core_video_buffer_new=gst_core_video_buffer_priv_new
-Dgst_core_video_buffer_get_type=gst_core_video_buffer_priv_get_type
-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
-D_REENTRANT -I/opt/local/include/gstreamer-1.0
-I/opt/local/lib/gstreamer-1.0/include -I/opt/local/include/gstreamer-1.0
-I/opt/local/include/orc-0.4 -I/opt/local/include/gstreamer-1.0
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-D_REENTRANT -I/opt/local/include/gstreamer-1.0
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-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 -pipe -Os -std=c99 -funroll-loops -fstrict-aliasing
-arch x86_64 -MT libgstapplemedia_la-atdec.lo -MD -MP -MF .deps
/libgstapplemedia_la-atdec.Tpo -c atdec.c -o libgstapplemedia_la-atdec.o
>/dev/null 2>&1
: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:228:41: error: use of undeclared identifier
'CGLContextObj'
: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.
:info:build make[3]: *** [libgstapplemedia_la-iosurfacememory.lo] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
}}}
There are a bunch of earlier warnings, especially "redefinition of typedef
'GstGLAsyncDebug' is a C11 feature".
Presumably some library dependency is out of sync now, at least on OS X
10.11.
Ewen
--
Ticket URL: <https://trac.macports.org/ticket/56923#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list