Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 412727

Summary: net-libs/loudmouth-1.4.3-r2 In file included from lm-error.c:22:0: /usr/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly."
Product: Gentoo Linux Reporter: Anton Kochkov <anton.kochkov>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: anton.kochkov
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 406437    
Attachments: full build log

Description Anton Kochkov 2012-04-20 04:04:19 UTC
Created attachment 309565 [details]
full build log

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLM_NO_DEBUG -DLM_COMPILATION -DRUNTIME_ENDIAN -O2 -march=corei7-avx -pipe -Wall -c lm-message-handler.c  -fPIC -DPIC -o .libs/lm-message-handler.o
In file included from lm-error.c:22:0:
/usr/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gerror.h:30:0,
                 from lm-error.c:22:
/usr/include/glib-2.0/glib/gquark.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gquark.h:34:0,
                 from /usr/include/glib-2.0/glib/gerror.h:30,
                 from lm-error.c:22:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
                 from /usr/include/glib-2.0/glib/gtypes.h:34,
                 from /usr/include/glib-2.0/glib/gquark.h:34,
                 from /usr/include/glib-2.0/glib/gerror.h:30,
                 from lm-error.c:22:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:35:0,
                 from /usr/include/glib-2.0/glib/gquark.h:34,
                 from /usr/include/glib-2.0/glib/gerror.h:30,
                 from lm-error.c:22:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0,
                 from /usr/include/glib-2.0/glib/gquark.h:34,
                 from /usr/include/glib-2.0/glib/gerror.h:30,
                 from lm-error.c:22:
/usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
make[2]: *** [lm-error.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
lm-connection.c: In function 'connection_auth_req_reply':
lm-connection.c:618:20: warning: variable 'result' set but not used [-Wunused-but-set-variable]
make[2]: Leaving directory `/var/tmp/portage/net-libs/loudmouth-1.4.3-r2/work/loudmouth-1.4.3/loudmouth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/loudmouth-1.4.3-r2/work/loudmouth-1.4.3'
make: *** [all] Error 2
 [31;01m*[0m ERROR: net-libs/loudmouth-1.4.3-r2 failed (compile phase):
 [31;01m*[0m   emake failed
Comment 1 Anton Kochkov 2012-04-20 04:14:42 UTC
emerge --info output: https://bugs.gentoo.org/attachment.cgi?id=309573
Comment 2 Pacho Ramos gentoo-dev 2012-04-20 18:11:11 UTC
+  20 Apr 2012; Pacho Ramos <pacho@gentoo.org>
+  +files/loudmouth-1.4.3-glib-2.32.patch, -loudmouth-1.4.3-r1.ebuild,
+  -loudmouth-1.4.3.ebuild, loudmouth-1.4.3-r2.ebuild:
+  Fix glib-2.32 compilation, bug #412727 by Anton Kochkov. Drop old.
+
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-20 18:28:01 UTC
Upstream bugs filed at http://loudmouth.lighthouseapp.com/projects/17276/tickets/63 and https://github.com/mcabber/loudmouth/pull/4