GNOME Bugzilla – Bug 738621
Cerbero build of gtk+3 fails on Mac OS X
Last modified: 2014-11-08 14:14:51 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.
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
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
The bad URL was fixed in later commit. :D Thanks!