[Bug 766287] New: Cross compiling gstreamer-1.8.1 for iOS arm64 fails on Mac OS X 10.11.4 and Xcode 7.3.0

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 11 18:32:18 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766287

            Bug ID: 766287
           Summary: Cross compiling gstreamer-1.8.1 for iOS arm64 fails on
                    Mac OS X 10.11.4 and Xcode 7.3.0
    Classification: Platform
           Product: GStreamer
           Version: 1.8.1
                OS: Mac OS
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: cerbero
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: elvis.dowson at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I tried building gstreamer-1.8.1 and it fails to build for iOS arm64, on Mac OS
X 10.11.4 and Xcode 7.3.0.

I am using the cerebro 1.8.1 tag.

[(6/86) gstreamer-1.0 -> compile ]
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in pkgconfig
  CP     gstreamer-base-1.0.pc
  CP     gstreamer-1.0.pc
  CP     gstreamer-check-1.0.pc
  CP     gstreamer-controller-1.0.pc
  CP     gstreamer-net-1.0.pc
  CP     gstreamer-1.0-uninstalled.pc
  CP     gstreamer-base-1.0-uninstalled.pc
  CP     gstreamer-check-1.0-uninstalled.pc
  CP     gstreamer-controller-1.0-uninstalled.pc
  CP     gstreamer-net-1.0-uninstalled.pc
Making all in gst
glib-mkenums \
    --fhead "#ifndef __GST_ENUM_TYPES_H__\n#define
__GST_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
    --fprod "\n/* enumerations from \"@filename@\" */\n" \
    --vhead "GType @enum_name at _get_type (void);\n#define GST_TYPE_ at ENUMSHORT@
(@enum_name at _get_type())\n"         \
    --ftail "G_END_DECLS\n\n#endif /* __GST_ENUM_TYPES_H__ */" \
    gst.h glib-compat.h gstobject.h gstallocator.h gstbin.h gstbuffer.h
gstbufferlist.h gstbufferpool.h gstbus.h gstcaps.h gstcapsfeatures.h
gstchildproxy.h gstclock.h gstcompat.h gstcontext.h gstcontrolbinding.h
gstcontrolsource.h gstdatetime.h gstdebugutils.h gstelement.h
gstelementmetadata.h gstdevice.h gstdeviceprovider.h gstdeviceproviderfactory.h
gstelementfactory.h gsterror.h gstevent.h gstformat.h gstghostpad.h
gstdevicemonitor.h gstinfo.h gstiterator.h gstatomicqueue.h gstmacros.h
gstmessage.h gstmeta.h gstmemory.h gstminiobject.h gstpad.h gstpadtemplate.h
gstparamspecs.h gstpipeline.h gstplugin.h gstpluginfeature.h gstpoll.h
gstpreset.h gstprotection.h gstquery.h gstsample.h gstsegment.h gststructure.h
gstsystemclock.h gsttaglist.h gsttagsetter.h gsttask.h gsttaskpool.h gsttoc.h
gsttocsetter.h gsttracer.h gsttracerfactory.h gsttracerrecord.h gsttypefind.h
gsttypefindfactory.h gsturi.h gstutils.h gstvalue.h gstregistry.h gstparse.h >
gstenumtypes.h
glib-mkenums \
    --fhead "#include \"gst_private.h\"\n#include <gst/gst.h>\n#define
C_ENUM(v) ((gint) v)\n#define C_FLAGS(v) ((guint) v)\n " \
    --fprod "\n/* enumerations from \"@filename@\" */" \
    --vhead "GType\n at enum_name@_get_type (void)\n{\n  static gsize id = 0;\n 
static const G at Type@Value values[] = {"     \
    --vprod "    { C_ at TYPE@(@VALUENAME@), \"@VALUENAME@\", \"@valuenick@\" },"
\
    --vtail "    { 0, NULL, NULL }\n  };\n\n  if (g_once_init_enter (&id)) {\n 
  GType tmp = g_ at type@_register_static (\"@EnumName@\", values);\n   
g_once_init_leave (&id, tmp);\n  }\n\n  return (GType) id;\n}" \
    gst.h glib-compat.h gstobject.h gstallocator.h gstbin.h gstbuffer.h
gstbufferlist.h gstbufferpool.h gstbus.h gstcaps.h gstcapsfeatures.h
gstchildproxy.h gstclock.h gstcompat.h gstcontext.h gstcontrolbinding.h
gstcontrolsource.h gstdatetime.h gstdebugutils.h gstelement.h
gstelementmetadata.h gstdevice.h gstdeviceprovider.h gstdeviceproviderfactory.h
gstelementfactory.h gsterror.h gstevent.h gstformat.h gstghostpad.h
gstdevicemonitor.h gstinfo.h gstiterator.h gstatomicqueue.h gstmacros.h
gstmessage.h gstmeta.h gstmemory.h gstminiobject.h gstpad.h gstpadtemplate.h
gstparamspecs.h gstpipeline.h gstplugin.h gstpluginfeature.h gstpoll.h
gstpreset.h gstprotection.h gstquery.h gstsample.h gstsegment.h gststructure.h
gstsystemclock.h gsttaglist.h gsttagsetter.h gsttask.h gsttaskpool.h gsttoc.h
gsttocsetter.h gsttracer.h gsttracerfactory.h gsttracerrecord.h gsttypefind.h
gsttypefindfactory.h gsturi.h gstutils.h gstvalue.h gstregistry.h gstparse.h >
gstenumtypes.c
/bin/sh: glib-mkenums: command not found
/bin/sh: glib-mkenums: command not found
make[2]: *** [gstenumtypes.h] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [gstenumtypes.c] Error 127
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Running command 'make -j8'

Recipe 'gstreamer-1.0' failed at the build step 'compile'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort
4
***** Error running 'package' command:

I have edited config/cross-ios-arm64.cbc to have the following entries: 

from cerbero.config import Platform, Architecture, Distro, DistroVersion

target_platform=Platform.IOS
target_arch=Architecture.ARM64
target_distro=Distro.IOS

recipes_commits = {
'gstreamer-1.0' : '1.8.1',
'gstreamer-1.0-static' : '1.8.1',
'gst-plugins-base-1.0' : '1.8.1',
'gst-plugins-base-1.0-static' : '1.8.1',
'gst-plugins-good-1.0' : '1.8.1',
'gst-plugins-good-1.0-static' : '1.8.1',
'gst-plugins-bad-1.0' : '1.8.1',
'gst-plugins-bad-1.0-static' : '1.8.1',
'gst-plugins-ugly-1.0' : '1.8.1',
'gst-plugins-ugly-1.0-static' : '1.8.1',
'gst-libav-1.0' : '1.8.1',
'gst-libav-1.0-static' : '1.8.1',
'gnonlin-1.0' : '1.8.1',
'gnonlin-1.0-static' : '1.8.1',
'gst-editing-services-1.0' : '1.8.1',
'gst-rtsp-server-1.0' : '1.8.1',
'gst-rtsp-server-static-1.0' : '1.8.1',
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list