The following error is reported in the make stage, of the emerge process. Pls check this. Reproducible: Always Steps to Reproduce: 1.run "emerge libxml2" 2. 3. Actual Results: i'm pasting the make log from where the error started. n file included from /usr/include/python2.3/Python.h:75, from libxml.c:14: /usr/include/python2.3/intobject.h:41: warning: ISO C90 does not support `long l ong' In file included from /usr/include/python2.3/Python.h:77, from libxml.c:14: /usr/include/python2.3/longobject.h:37: warning: ISO C90 does not support `long long' /usr/include/python2.3/longobject.h:38: warning: ISO C90 does not support `long long' /usr/include/python2.3/longobject.h:39: warning: ISO C90 does not support `long long' /usr/include/python2.3/longobject.h:40: warning: ISO C90 does not support `long long' /usr/include/python2.3/longobject.h:41: warning: ISO C90 does not support `long long' /usr/include/python2.3/longobject.h:64: warning: redundant redeclaration of `_Py Long_NumBits' in same scope /usr/include/python2.3/longobject.h:56: warning: previous declaration of `_PyLon g_NumBits' In file included from /usr/include/python2.3/Python.h:75, from libxml_wrap.h:1, from types.c:9: /usr/include/python2.3/intobject.h:41: warning: ISO C90 does not support `long l ong' In file included from /usr/include/python2.3/Python.h:77, from libxml_wrap.h:1, from types.c:9: /usr/include/python2.3/longobject.h:37: warning: ISO C90 does not support `long long' /usr/include/python2.3/longobject.h:38: warning: ISO C90 does not support `long long' /usr/include/python2.3/longobject.h:39: warning: ISO C90 does not support `long long' /usr/include/python2.3/longobject.h:40: warning: ISO C90 does not support `long long' /usr/include/python2.3/longobject.h:41: warning: ISO C90 does not support `long long' /usr/include/python2.3/longobject.h:64: warning: redundant redeclaration of `_Py Long_NumBits' in same scope /usr/include/python2.3/longobject.h:56: warning: previous declaration of `_PyLon g_NumBits' In file included from /usr/include/python2.3/Python.h:94, from libxml_wrap.h:1, from types.c:9: /usr/include/python2.3/cobject.h:1:3: invalid preprocessing directive #THIS /usr/include/python2.3/cobject.h:2:3: invalid preprocessing directive #DO /usr/include/python2.3/cobject.h:3:3: invalid preprocessing directive #GO In file included from /usr/include/python2.3/Python.h:94, from libxml_wrap.h:1, from types.c:9: /usr/include/python2.3/cobject.h:5: error: syntax error before "INFODIR" /usr/include/python2.3/cobject.h:5:16: warning: character constant too long for its type /usr/include/python2.3/cobject.h:6:17: warning: character constant too long for its type /usr/include/python2.3/cobject.h:7:28: warning: character constant too long for its type /usr/include/python2.3/cobject.h:8:17: warning: character constant too long for its type /usr/include/python2.3/cobject.h:9:16: warning: character constant too long for its type /usr/include/python2.3/cobject.h:10:13: warning: character constant too long for its type /usr/include/python2.3/cobject.h:11:13: warning: multi-character character const ant /usr/include/python2.3/cobject.h:12:16: warning: multi-character character const ant /usr/include/python2.3/cobject.h:13:14: warning: character constant too long for its type /usr/include/python2.3/cobject.h:14:18: empty character constant /usr/include/python2.3/cobject.h:15:17: warning: character constant too long for its type /usr/include/python2.3/cobject.h:16:1: warning: null character(s) ignored /usr/include/python2.3/cobject.h:16:1: warning: no newline at end of file In file included from /usr/include/python2.3/Python.h:94, from libxml.c:14: /usr/include/python2.3/cobject.h:1:3: invalid preprocessing directive #THIS /usr/include/python2.3/cobject.h:2:3: invalid preprocessing directive #DO /usr/include/python2.3/cobject.h:3:3: invalid preprocessing directive #GO In file included from /usr/include/python2.3/Python.h:94, from libxml.c:14: /usr/include/python2.3/cobject.h:5: error: syntax error before "INFODIR" /usr/include/python2.3/cobject.h:5:16: warning: character constant too long for its type /usr/include/python2.3/cobject.h:6:17: warning: character constant too long for its type /usr/include/python2.3/cobject.h:7:28: warning: character constant too long for its type /usr/include/python2.3/cobject.h:8:17: warning: character constant too long for its type /usr/include/python2.3/cobject.h:9:16: warning: character constant too long for its type /usr/include/python2.3/cobject.h:10:13: warning: character constant too long for its type /usr/include/python2.3/cobject.h:11:13: warning: multi-character character const ant /usr/include/python2.3/cobject.h:12:16: warning: multi-character character const ant /usr/include/python2.3/cobject.h:13:14: warning: character constant too long for its type /usr/include/python2.3/cobject.h:14:18: empty character constant /usr/include/python2.3/cobject.h:15:17: warning: character constant too long for its type /usr/include/python2.3/cobject.h:16:1: warning: null character(s) ignored /usr/include/python2.3/cobject.h:16:1: warning: no newline at end of file In file included from /usr/include/python2.3/Python.h:95, from libxml_wrap.h:1, from types.c:9: /usr/include/python2.3/traceback.h:12: warning: `struct _frame' declared inside parameter list /usr/include/python2.3/traceback.h:12: warning: its scope is only this definitio n or declaration, which is probably not what you want In file included from /usr/include/python2.3/Python.h:95, from libxml.c:14: /usr/include/python2.3/traceback.h:12: warning: `struct _frame' declared inside parameter list /usr/include/python2.3/traceback.h:12: warning: its scope is only this definitio n or declaration, which is probably not what you want In file included from /usr/include/python2.3/Python.h:114, from libxml.c:14: /usr/include/python2.3/abstract.h:286: warning: redundant redeclaration of `PyCa llable_Check' in same scope /usr/include/python2.3/object.h:395: warning: previous declaration of `PyCallabl e_Check' In file included from /usr/include/python2.3/Python.h:114, from libxml_wrap.h:1, from types.c:9: /usr/include/python2.3/abstract.h:286: warning: redundant redeclaration of `PyCa llable_Check' in same scope /usr/include/python2.3/object.h:395: warning: previous declaration of `PyCallabl e_Check' types.c: In function `libxml_xmlDocPtrWrap': types.c:165: warning: implicit declaration of function `PyCObject_FromVoidPtrAnd Desc' types.c:166: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlNodePtrWrap': types.c:184: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlURIPtrWrap': types.c:202: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlNsPtrWrap': types.c:220: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlAttrPtrWrap': types.c:238: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlAttributePtrWrap': types.c:256: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlElementPtrWrap': types.c:274: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlXPathContextPtrWrap': types.c:292: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlXPathParserContextPtrWrap': types.c:310: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlParserCtxtPtrWrap': types.c:329: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlXPathObjectPtrConvert': types.c:445: warning: implicit declaration of function `PyCObject_Check' types.c: In function `libxml_xmlValidCtxtPtrWrap': types.c:495: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlCatalogPtrWrap': types.c:514: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlOutputBufferPtrWrap': types.c:532: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlParserInputBufferPtrWrap': types.c:550: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlRegexpPtrWrap': types.c:569: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlTextReaderPtrWrap': types.c:588: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlTextReaderLocatorPtrWrap': types.c:606: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlRelaxNGPtrWrap': types.c:625: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlRelaxNGParserCtxtPtrWrap': types.c:643: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlRelaxNGValidCtxtPtrWrap': types.c:660: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlSchemaPtrWrap': types.c:678: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlSchemaParserCtxtPtrWrap': types.c:696: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlSchemaValidCtxtPtrWrap': types.c:716: warning: assignment makes pointer from integer without a cast types.c: In function `libxml_xmlErrorPtrWrap': types.c:736: warning: assignment makes pointer from integer without a cast make[3]: *** [types.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libxml.c: In function `libxml_xmlValidCtxtGenericErrorFuncHandler': libxml.c:1739: warning: unused parameter `severity' libxml.c: In function `libxml_xmlValidCtxtGenericWarningFuncHandler': libxml.c:1766: warning: unused parameter `severity' libxml.c: In function `libxml_xmlFreeTextReader': libxml.c:2026: warning: implicit declaration of function `PyCObject_Check' libxml.c: In function `libxml_getObjDesc': libxml.c:3622: warning: implicit declaration of function `PyCObject_GetDesc' libxml.c:3622: warning: assignment makes pointer from integer without a cast make[3]: *** [libxml.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/libxml2-2.6.19/work/libxml2-2.6.19/python' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libxml2-2.6.19/work/libxml2-2.6.19/python' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libxml2-2.6.19/work/libxml2-2.6.19' make: *** [all] Error 2 !!! ERROR: dev-libs/libxml2-2.6.19 failed. !!! Function src_compile, Line 56, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: It should have compiled the package fine. Portage 2.0.51-r14 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4. 20041102-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 5 2005, 11:47:41)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/ X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
*** Bug 92893 has been marked as a duplicate of this bug. ***
Hi, here that error is caused because, /usr/include/python2.3/cobject.h file does not contained what it is supposed to have(dont know how this happ.) . So re-emerged python to fix that and then after while emerging libxml2-2.6.17 , it went fine without any errors. Thanks for those at irc #gentoo channel, who guided with the above steps, and for others who carry on this wonderful job.