id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 33947,"gtksourceview: #error ""Only can be included directly.""",zjoneshawaii@…,ryandesign,"gtksourceview build fails with this error: {{{ /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\""/opt/local/share\"" -DG_LOG_DOMAIN=\""GtkSourceView\"" -I.. -I. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include/libxml2 -D_REENTRANT -I/opt/local/include/libgnomeprint-2.2 -I/opt/local/include/libart-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/pango-1.0 -I/opt/local/include -L/opt/local/lib -pipe -O2 -arch x86_64 -MT gtksourcestylescheme.lo -MD -MP -MF .deps/gtksourcestylescheme.Tpo -c gtksourcestylescheme.c -fno-common -DPIC -o .libs/gtksourcestylescheme.o In file included from gtksourceregex.h:23, from gtksourceregex.c:31: /opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error ""Only can be included directly."" make[4]: *** [gtksourceregex.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from gtksourcelanguage.c:34: /opt/local/include/glib-2.0/glib/gmappedfile.h:23:2: error: #error ""Only can be included directly."" In file included from ../gtksourceview/gtksourceregex.h:23, from gtksourcetag-private.h:29, from gtksourcetag.c:33: /opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error ""Only can be included directly."" make[4]: *** [gtksourcetag.lo] Error 1 In file included from ../gtksourceview/gtksourceregex.h:23, from gtksourcetag-private.h:29, from gtksourcebuffer.c:38: /opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: #error ""Only can be included directly."" make[4]: *** [gtksourcebuffer.lo] Error 1 gtksourcelanguage.c: In function 'language_file_parse': gtksourcelanguage.c:1176: warning: 'g_mapped_file_free' is deprecated (declared at /opt/local/include/glib-2.0/glib/gmappedfile.h:48) make[4]: *** [gtksourcelanguage.lo] Error 1 make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtksourceview/gtksourceview/work/gtksourceview-1.8.5/gtksourceview' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtksourceview/gtksourceview/work/gtksourceview-1.8.5/gtksourceview' make[2]: *** [all] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtksourceview/gtksourceview/work/gtksourceview-1.8.5/gtksourceview' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtksourceview/gtksourceview/work/gtksourceview-1.8.5' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtksourceview/gtksourceview/work/gtksourceview-1.8.5' shell command "" cd ""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtksourceview/gtksourceview/work/gtksourceview-1.8.5"" && /usr/bin/make -j8 -w all "" returned error 2 Error: Target org.macports.build returned: shell command failed (see log for details) Warning: the following items did not execute (for gtksourceview): org.macports.activate org.macports.build org.macports.destroot org.macports.install Log for gtksourceview is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtksourceview/gtksourceview/main.log Error: Status 1 encountered during processing. To report a bug, see }}} Mac OS version 10.6.8 with Xcode 3.2.6",defect,closed,Normal,,ports,2.0.4,fixed,,,gtksourceview