After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 723633 - glib compile error using cerbero (OS X / Xcode 5)
glib compile error using cerbero (OS X / Xcode 5)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: packages
1.x
Other Mac OS
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-04 21:15 UTC by Mike McNamara
Modified: 2014-11-08 14:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libffi: fix install paths (1.34 KB, patch)
2014-02-05 09:57 UTC, Andoni Morales
committed Details | Review

Description Mike McNamara 2014-02-04 21:15:07 UTC
When building GStreamer from source using the following version of cerbero:

git://anongit.freedesktop.org/gstreamer/sdk/cerbero

I'm encountering an error when making all in glib's gobject:

Making all in gobject
make  all-recursive
Making all in .
...

In file included from gclosure.c:29:
/Users/mike/cerbero/dist/ios_universal/lib/libffi-3.0.13/include/ffi.h:67:1
0: fatal error: 'ffitarget.h' file not found
#include <ffitarget.h>

There are in fact ffitarget.h files generated (and libffi builds fine), but they're in their respective architecture directories:

/Users/mike/cerbero/dist/ios_universal/lib/libffi-3.0.13/include/arm
/Users/mike/cerbero/dist/ios_universal/lib/libffi-3.0.13/include/i386
Comment 1 Sebastian Dröge (slomo) 2014-02-04 21:26:01 UTC
This must be related to the recent libffi changes
Comment 2 Andoni Morales 2014-02-05 09:57:00 UTC
Created attachment 268153 [details] [review]
libffi: fix install paths
Comment 3 Andoni Morales 2014-02-05 09:59:49 UTC
That should fix it. If you are trying to re-compile gstreamer with cerbero it's recommended to use one of the stable branches to build something similar to what's provided in the releases (right now 1.2) instead of master
Comment 4 Andoni Morales 2014-02-05 10:36:40 UTC
commit 47e323effb8799772ade7291ea2e9821076b8e4a
Author: Andoni Morales Alastruey <ylatuya@gmail.com>
Date:   Wed Feb 5 10:54:32 2014 +0100

    libffi: fix install paths
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723633