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 738621 - Cerbero build of gtk+3 fails on Mac OS X
Cerbero build of gtk+3 fails on Mac OS X
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Mac OS
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 738622
 
 
Reported: 2014-10-16 10:28 UTC by Brion Vibber
Modified: 2014-11-08 14:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brion Vibber 2014-10-16 10:28:18 UTC
(I'm trying to use Cerbero to make a test build of pitivi on Mac OS X 10.9.5; pitivi requires gtk+3 which is not enabled by default on OS X.)

Encountering the same problem building gtk+3 reported on the mailing list in July:
http://lists.freedesktop.org/archives/gstreamer-devel/2014-July/048728.html

It looks like 'imquartz.c' in gdk's input modules is being compiled as C, when in fact it's an Objective-C file -- the failures are syntax errors on Obj-C header files that are included.

The Makefile.am specifies options for building the file with -xobjective-c added, but for some reason it's getting compiled with the generic ".c.o" rule instead of the specific one.


Same problem if I update the recipe to the latest GTK+ 3.14.3 and strip out custom patches. Oddly, Homebrew's GTK+3 package doesn't seem to hit this problem so I wonder if there's an autotools version weirdness.

Not quite sure what's up, haven't found a workaround yet.
Comment 1 Andoni Morales 2014-10-17 13:25:21 UTC
commit 6cd33e9e792249db7ff82864481289419459df63
Author: Andoni Morales Alastruey <ylatuya@gmail.com>
Date:   Fri Oct 17 15:23:11 2014 +0200

    gtk+3: update to 3.12.2 and fix build in OS X
    
    3.14 requires a newer version os glib and atk
    https://bugzilla.gnome.org/show_bug.cgi?id=738621
Comment 2 Brion Vibber 2014-10-17 18:46:32 UTC
This tries to fetch http://ftp.gnome.org/pub/GNOME/sources/gtk+/3.14/gtk+-3.12.2.tar.xz

which yields:

Not Found

The requested URL /pub/GNOME/sources/gtk+/3.14/gtk+-3.12.2.tar.xz was not found on this server.
Apache/2.4.9 (Unix) Server at ftp.acc.umu.se Port 80
Comment 3 Brion Vibber 2014-10-18 03:28:16 UTC
The bad URL was fixed in later commit. :D Thanks!