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 673762 - gnextstepsettingsbackend.c:343: error: parse error before 'in'
gnextstepsettingsbackend.c:343: error: parse error before 'in'
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: build
2.32.x
Other Mac OS
: Normal blocker
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-04-09 02:47 UTC by Ryan Schmidt
Modified: 2012-04-13 17:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ryan Schmidt 2012-04-09 02:47:48 UTC
glib 2.32.0 cannot be compiled on Mac OS X 10.4.11 Tiger with Xcode 2.5. It says:


gnextstepsettingsbackend.c: In function 'g_nextstep_settings_backend_get_g_variant':
gnextstepsettingsbackend.c:343: error: parse error before 'in'


Here is the MacPorts project's bug report about this problem, with a build log:

https://trac.macports.org/ticket/33934

Fixing this is rather important, because glib is a dependency of pkg-config, and pkg-config is a dependency of a whole lot of stuff.

glib 2.30.3 built fine on the same system.
Comment 1 Ryan Schmidt 2012-04-10 23:57:00 UTC
Here is the patch we are now using to fix this:

https://trac.macports.org/browser/trunk/dports/devel/glib2/files/patch-gio_gnextstepsettingsbackend.c.diff?rev=91791
Comment 2 Matthias Clasen 2012-04-13 17:14:55 UTC
Last call - I want to roll a 3.4.1 tarball tonight; if we want this fix included, it needs to get reviewed today.
Comment 3 fakey 2012-04-13 17:22:46 UTC
I reviewed it, it's in commit 5739d896f8d3bf9883d4f5e4b7553a617a1c751a.
Comment 4 Matthias Clasen 2012-04-13 17:54:02 UTC
Oh thanks, didn't notice the connection