It looks like the spatial query plugin is having problems finding geos on OS X:
[ 79%] Building CXX object src/plugins/spatialquery/CMakeFiles/spatialqueryplugin.dir/qgsspatialquerydialog.cpp.o
In file included from /Users/jctull/sources/qgis/trunk/src/plugins/spatialquery/qgsspatialquerydialog.cpp:31:
/Users/jctull/sources/qgis/trunk/src/plugins/spatialquery/qgsspatialquery.h:22:20: error: geos_c.h: No such file or directory
In file included from /Users/jctull/sources/qgis/trunk/src/plugins/spatialquery/qgsspatialquerydialog.cpp:31:
/Users/jctull/sources/qgis/trunk/src/plugins/spatialquery/qgsspatialquery.h:140: error: expected ‘,’ or ‘...’ before ‘*’ token
/Users/jctull/sources/qgis/trunk/src/plugins/spatialquery/qgsspatialquery.h:140: error: ISO C++ forbids declaration of ‘GEOSGeometry’ with no type
/Users/jctull/sources/qgis/trunk/src/plugins/spatialquery/qgsspatialquery.h:150: error: expected ‘,’ or ‘...’ before ‘*’ token
/Users/jctull/sources/qgis/trunk/src/plugins/spatialquery/qgsspatialquery.h:150: error: ISO C++ forbids declaration of ‘GEOSGeometry’ with no type
make[2]: *** [src/plugins/spatialquery/CMakeFiles/spatialqueryplugin.dir/qgsspatialquerydialog.cpp.o] Error 1
make[1]: *** [src/plugins/spatialquery/CMakeFiles/spatialqueryplugin.dir/all] Error 2
make: *** [all] Error 2
Hopefully this is an easy fix, and possibly one that can be commented on in an email. It seems to crop up frequently.
Cheers,
John