Opened 12 years ago
Closed 12 years ago
#36791 closed defect (fixed)
gksu: error: "Only <glib.h> can be included directly."
Reported by: | aeiouy1997@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | gksu |
Description (last modified by mf2k (Frank Schima))
:info:build /bin/sh ../libtool --mode=link /usr/bin/clang -g -O2 -Wall -pipe -O2 -arch x86_64 -L/opt/local/lib -arch x86_64 -o gksuexec -L/opt/local/lib -lgksu1.2 -lgksuui1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgnome-keyring -lgconf-2 -lglib-2.0 -lintl gksuexec.o util.o :info:build mkdir .libs :info:build In file included from gksu.c:12: :info:build /opt/local/include/glib-2.0/glib/gkeyfile.h:24:2: error: "Only <glib.h> can be included directly." :info:build #error "Only <glib.h> can be included directly." :info:build ^ :info:build In file included from gksu.c:12: :info:build In file included from /opt/local/include/glib-2.0/glib/gkeyfile.h:30: :info:build /opt/local/include/glib-2.0/glib/gerror.h:22:2: error: "Only <glib.h> can be included directly." :info:build #error "Only <glib.h> can be included directly." :info:build ^ :info:build In file included from gksu.c:12: :info:build In file included from /opt/local/include/glib-2.0/glib/gkeyfile.h:30: :info:build In file included from /opt/local/include/glib-2.0/glib/gerror.h:30: :info:build /opt/local/include/glib-2.0/glib/gquark.h:28:2: error: "Only <glib.h> can be included directly." :info:build #error "Only <glib.h> can be included directly." :info:build ^ :info:build In file included from gksu.c:12: :info:build In file included from /opt/local/include/glib-2.0/glib/gkeyfile.h:30: :info:build In file included from /opt/local/include/glib-2.0/glib/gerror.h:30: :info:build In file included from /opt/local/include/glib-2.0/glib/gquark.h:34: :info:build /opt/local/include/glib-2.0/glib/gtypes.h:28:2: error: "Only <glib.h> can be included directly." :info:build #error "Only <glib.h> can be included directly." :info:build ^ :info:build In file included from gksu.c:12: :info:build In file included from /opt/local/include/glib-2.0/glib/gkeyfile.h:30: :info:build In file included from /opt/local/include/glib-2.0/glib/gerror.h:30: :info:build In file included from /opt/local/include/glib-2.0/glib/gquark.h:34: :info:build In file included from /opt/local/include/glib-2.0/glib/gtypes.h:34: :info:build In file included from /opt/local/lib/glib-2.0/include/glibconfig.h:9: :info:build /opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: "Only <glib.h> can be included directly." :info:build #error "Only <glib.h> can be included directly." :info:build ^ :info:build In file included from gksu.c:12: :info:build In file included from /opt/local/include/glib-2.0/glib/gkeyfile.h:30: :info:build In file included from /opt/local/include/glib-2.0/glib/gerror.h:30: :info:build In file included from /opt/local/include/glib-2.0/glib/gquark.h:34: :info:build In file included from /opt/local/include/glib-2.0/glib/gtypes.h:35: :info:build /opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: "Only <glib.h> can be included directly." :info:build #error "Only <glib.h> can be included directly." :info:build ^ :info:build In file included from gksu.c:12: :info:build In file included from /opt/local/include/glib-2.0/glib/gkeyfile.h:30: :info:build In file included from /opt/local/include/glib-2.0/glib/gerror.h:30: :info:build In file included from /opt/local/include/glib-2.0/glib/gquark.h:34: :info:build In file included from /opt/local/include/glib-2.0/glib/gtypes.h:36: :info:build /opt/local/include/glib-2.0/glib/gversionmacros.h:28:2: error: "Only <glib.h> can be included directly." :info:build #error "Only <glib.h> can be included directly." :info:build ^ :info:build gksu.c:937:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] :info:build g_warning (error_msg); :info:build ~~~~~~~~~~~^~~~~~~~~~ :info:build /opt/local/include/glib-2.0/glib/gmessages.h:153:32: note: expanded from macro 'g_warning' :info:build __VA_ARGS__) :info:build ^ :info:build gksu.c:993:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] :info:build g_warning (error_msg); :info:build ~~~~~~~~~~~^~~~~~~~~~ :info:build /opt/local/include/glib-2.0/glib/gmessages.h:153:32: note: expanded from macro 'g_warning' :info:build __VA_ARGS__) :info:build ^ :info:build 2 warnings and 7 errors generated. :info:build make[2]: *** [gksu.o] Error 1
I really need gksu, if you could do something thanks.
Attachments (1)
Change History (4)
Changed 12 years ago by mf2k (Frank Schima)
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | Mac os x Mountain lion gksu port removed |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
Summary: | gksu wont port on Mac os X Mountain Lion → gksu: error: "Only <glib.h> can be included directly." |
The error "Only <glib.h> can be included directly."
indicates an incompatibility with glib 2.32; I'll fix it.
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting and attach the main.log instead of pasting it into the description. I have trimmed the description to only display the relevant errors.