i586-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPREFIX=\"/usr\" -DBINDIR=\"/usr/bin\" -DLIBDIR=\"/usr/lib\" -DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DLOCALSTATEDIR=\"/var/lib\" -DCONSOLE_KIT_PID_FILE=\"/var/run/consolekit.pid\" -Wall -Wmissing-prototypes -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=2 -DDBUS_VERSION_MICRO=3 -O2 -march=pentium-mmx -pipe -MT ck-log-event.lo -MD -MP -MF .deps/ck-log-event.Tpo -c ck-log-event.c -fPIC -DPIC -o .libs/ck-log-event.o ck-log-event.c: In function 'parse_log_for_seat_added': ck-log-event.c:687: error: 'GRegex' undeclared (first use in this function) ck-log-event.c:687: error: (Each undeclared identifier is reported only once ck-log-event.c:687: error: for each function it appears in.) ck-log-event.c:687: error: 're' undeclared (first use in this function) ck-log-event.c:688: error: 'GMatchInfo' undeclared (first use in this function) ck-log-event.c:688: error: 'match_info' undeclared (first use in this function) ck-log-event.c:704: warning: implicit declaration of function 'g_regex_new' ck-log-event.c:710: warning: implicit declaration of function 'g_regex_match' ck-log-event.c:712: warning: implicit declaration of function 'g_match_info_matches' ck-log-event.c:719: warning: implicit declaration of function 'g_match_info_fetch_named' ck-log-event.c:719: warning: assignment makes pointer from integer without a cast ck-log-event.c:721: warning: assignment makes pointer from integer without a cast ck-log-event.c:732: warning: implicit declaration of function 'g_match_info_free' ck-log-event.c:735: warning: implicit declaration of function 'g_regex_unref' ck-log-event.c: In function 'parse_log_for_seat_removed': ck-log-event.c:747: error: 'GRegex' undeclared (first use in this function) ck-log-event.c:747: error: 're' undeclared (first use in this function) ck-log-event.c:748: error: 'GMatchInfo' undeclared (first use in this function) ck-log-event.c:748: error: 'match_info' undeclared (first use in this function) ck-log-event.c:779: warning: assignment makes pointer from integer without a cast ck-log-event.c:781: warning: assignment makes pointer from integer without a cast ck-log-event.c: In function 'parse_log_for_seat_session_added': ck-log-event.c:876: error: 'GRegex' undeclared (first use in this function) ck-log-event.c:876: error: 're' undeclared (first use in this function) ck-log-event.c:877: error: 'GMatchInfo' undeclared (first use in this function) ck-log-event.c:877: error: 'match_info' undeclared (first use in this function) ck-log-event.c:908: warning: assignment makes pointer from integer without a cast ck-log-event.c:909: warning: assignment makes pointer from integer without a cast ck-log-event.c:910: warning: assignment makes pointer from integer without a cast ck-log-event.c:911: warning: assignment makes pointer from integer without a cast ck-log-event.c:912: warning: assignment makes pointer from integer without a cast ck-log-event.c:913: warning: assignment makes pointer from integer without a cast ck-log-event.c:914: warning: assignment makes pointer from integer without a cast ck-log-event.c:915: warning: assignment makes pointer from integer without a cast ck-log-event.c:917: warning: assignment makes pointer from integer without a cast ck-log-event.c:925: warning: assignment makes pointer from integer without a cast ck-log-event.c: In function 'parse_log_for_seat_session_removed': ck-log-event.c:951: error: 'GRegex' undeclared (first use in this function) ck-log-event.c:951: error: 're' undeclared (first use in this function) ck-log-event.c:952: error: 'GMatchInfo' undeclared (first use in this function) ck-log-event.c:952: error: 'match_info' undeclared (first use in this function) ck-log-event.c:983: warning: assignment makes pointer from integer without a cast ck-log-event.c:984: warning: assignment makes pointer from integer without a cast ck-log-event.c:985: warning: assignment makes pointer from integer without a cast ck-log-event.c:986: warning: assignment makes pointer from integer without a cast ck-log-event.c:987: warning: assignment makes pointer from integer without a cast ck-log-event.c:988: warning: assignment makes pointer from integer without a cast ck-log-event.c:989: warning: assignment makes pointer from integer without a cast ck-log-event.c:990: warning: assignment makes pointer from integer without a cast ck-log-event.c:992: warning: assignment makes pointer from integer without a cast ck-log-event.c:1000: warning: assignment makes pointer from integer without a cast ck-log-event.c: In function 'parse_log_for_seat_active_session_changed': ck-log-event.c:1026: error: 'GRegex' undeclared (first use in this function) ck-log-event.c:1026: error: 're' undeclared (first use in this function) ck-log-event.c:1027: error: 'GMatchInfo' undeclared (first use in this function) ck-log-event.c:1027: error: 'match_info' undeclared (first use in this function) ck-log-event.c:1057: warning: assignment makes pointer from integer without a cast ck-log-event.c:1058: warning: assignment makes pointer from integer without a cast ck-log-event.c: In function 'parse_log_for_seat_device_added': ck-log-event.c:1078: error: 'GRegex' undeclared (first use in this function) ck-log-event.c:1078: error: 're' undeclared (first use in this function) ck-log-event.c:1079: error: 'GMatchInfo' undeclared (first use in this function) ck-log-event.c:1079: error: 'match_info' undeclared (first use in this function) ck-log-event.c:1109: warning: assignment makes pointer from integer without a cast ck-log-event.c:1110: warning: assignment makes pointer from integer without a cast ck-log-event.c:1111: warning: assignment makes pointer from integer without a cast ck-log-event.c: In function 'parse_log_for_seat_device_removed': ck-log-event.c:1131: error: 'GRegex' undeclared (first use in this function) ck-log-event.c:1131: error: 're' undeclared (first use in this function) ck-log-event.c:1132: error: 'GMatchInfo' undeclared (first use in this function) ck-log-event.c:1132: error: 'match_info' undeclared (first use in this function) ck-log-event.c:1162: warning: assignment makes pointer from integer without a cast ck-log-event.c:1163: warning: assignment makes pointer from integer without a cast ck-log-event.c:1164: warning: assignment makes pointer from integer without a cast make[4]: *** [ck-log-event.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.10/work/ConsoleKit-0.2.10/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.10/work/ConsoleKit-0.2.10/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.10/work/ConsoleKit-0.2.10/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.10/work/ConsoleKit-0.2.10' make: *** [all] Error 2
Created attachment 185349 [details] build.log
Please post your "emerge --info".
Created attachment 185352 [details] emerge --info
What's the version of dev-libs/glib that's installed? I notice that the errors are for GRegex which was added around 2.14, but the ebuild only specifies 2.7 as minimum dependency.
(In reply to comment #4) > What's the version of dev-libs/glib that's installed? I notice that the errors > are for GRegex which was added around 2.14, but the ebuild only specifies 2.7 > as minimum dependency. > "emerge -pDuvN --with-bdeps y system" lists glib only after listing consolekit: [ebuild U ] dev-libs/glib-2.18.4-r1 [2.12.11] USE="fam%* -debug -doc -hardened (-selinux) -xattr%" 4,697 kB [?=>0]
> "emerge -pDuvN --with-bdeps y system" lists glib only after listing consolekit: > > [ebuild U ] dev-libs/glib-2.18.4-r1 [2.12.11] USE="fam%* -debug -doc > -hardened (-selinux) -xattr%" 4,697 kB [?=>0] That's your problem then. Update to latest. I'll bump the requirements in the ebuild in tree.
+ 17 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> + consolekit-0.2.10.ebuild, consolekit-0.2.10-r1.ebuild, + consolekit-0.3.0.ebuild: + Bump dev-libs/glib dependency, since GRegex (added in glib-2.14) is used + by consolekit. Choose 2.16 so we don't have to bump it for a while. Bug + 262853. +