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

Bug 76808

Summary: posgresql will not emerge
Product: Gentoo Linux Reporter: keyser sose <bigak12>
Component: Current packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description keyser sose 2005-01-05 12:43:02 UTC
USE="-gtk -gnome qt kde dvd cdr x adns apache2 cups dbx dvd dvdr ftp gif gphoto mozilla msn odbc php samba ssl xml x86"


!!! ERROR: dev-db/postgresql-7.4.6 failed.
!!! Function src_compile, Line 138, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1.  emerge postgresql
2.
3.

Actual Results:  
pgxml_dom.c:9:26: warning: libxml/xpath.h: No such file or directory
pgxml_dom.c:10:25: warning: libxml/tree.h: No such file or directory
pgxml_dom.c:11:30: warning: libxml/xmlmemory.h: No such file or directory
pgxml_dom.c:22: error: syntax error before '*' token
pgxml_dom.c:22: error: syntax error before "nodeset"
pgxml_dom.c:24: warning: type defaults to `int' in declaration of `pgxmlNodeSetT
oText'
pgxml_dom.c:24: warning: data definition has no type or storage class
pgxml_dom.c:26: error: syntax error before '*' token
pgxml_dom.c:26: warning: type defaults to `int' in declaration of `pgxml_texttox
mlchar'
pgxml_dom.c:26: warning: data definition has no type or storage class
pgxml_dom.c: In function `pgxml_parser_init':
pgxml_dom.c:67: warning: implicit declaration of function `xmlMemSetup'
pgxml_dom.c:68: warning: implicit declaration of function `xmlInitParser'
pgxml_dom.c: In function `pgxml_parse':
pgxml_dom.c:81: error: `xmlDocPtr' undeclared (first use in this function)
pgxml_dom.c:81: error: (Each undeclared identifier is reported only once
pgxml_dom.c:81: error: for each function it appears in.)
pgxml_dom.c:81: error: syntax error before "doctree"
pgxml_dom.c:87: error: `doctree' undeclared (first use in this function)
pgxml_dom.c:87: warning: implicit declaration of function `xmlParseMemory'
pgxml_dom.c:90: warning: implicit declaration of function `xmlCleanupParser'
pgxml_dom.c:94: warning: implicit declaration of function `xmlFreeDoc'
pgxml_dom.c: At top level:
pgxml_dom.c:99: error: syntax error before '*' token
pgxml_dom.c:100: error: syntax error before "nodeset"
pgxml_dom.c:105: warning: return type defaults to `int'
pgxml_dom.c:105: warning: no previous prototype for `pgxmlNodeSetToText'
pgxml_dom.c: In function `pgxmlNodeSetToText':
pgxml_dom.c:115: error: `xmlBufferPtr' undeclared (first use in this function)
pgxml_dom.c:115: error: syntax error before "buf"
pgxml_dom.c:116: error: `xmlChar' undeclared (first use in this function)
pgxml_dom.c:116: error: `result' undeclared (first use in this function)
pgxml_dom.c:119: error: `buf' undeclared (first use in this function)
pgxml_dom.c:119: warning: implicit declaration of function `xmlBufferCreate'
pgxml_dom.c:121: error: `toptagname' undeclared (first use in this function)
pgxml_dom.c:121: warning: implicit declaration of function `xmlStrlen'
pgxml_dom.c:123: warning: implicit declaration of function `xmlBufferWriteChar'
pgxml_dom.c:124: warning: implicit declaration of function `xmlBufferWriteCHAR'
pgxml_dom.c:127: error: `nodeset' undeclared (first use in this function)
pgxml_dom.c:131: error: `septagname' undeclared (first use in this function)
pgxml_dom.c:137: warning: implicit declaration of function `xmlNodeDump'
pgxml_dom.c:137: error: `doc' undeclared (first use in this function)
pgxml_dom.c:137: error: `format' undeclared (first use in this function)
pgxml_dom.c:156: warning: implicit declaration of function `xmlStrdup'
pgxml_dom.c:157: warning: implicit declaration of function `xmlBufferFree'
pgxml_dom.c: At top level:
pgxml_dom.c:161: error: syntax error before '*' token
pgxml_dom.c:163: warning: return type defaults to `int'
pgxml_dom.c: In function `pgxml_texttoxmlchar':
pgxml_dom.c:164: error: `xmlChar' undeclared (first use in this function)
pgxml_dom.c:164: error: `res' undeclared (first use in this function)
pgxml_dom.c:168: error: syntax error before ')' token
pgxml_dom.c: In function `pgxml_xpath':
pgxml_dom.c:180: error: `xmlDocPtr' undeclared (first use in this function)
pgxml_dom.c:180: error: syntax error before "doctree"
pgxml_dom.c:181: error: `xmlXPathContextPtr' undeclared (first use in this funct
ion)
pgxml_dom.c:182: error: `xmlXPathObjectPtr' undeclared (first use in this functi
on)
pgxml_dom.c:183: error: `xmlChar' undeclared (first use in this function)
pgxml_dom.c:183: error: `xpath' undeclared (first use in this function)
pgxml_dom.c:184: error: `xpresstr' undeclared (first use in this function)
pgxml_dom.c:185: error: `toptag' undeclared (first use in this function)
pgxml_dom.c:186: error: `septag' undeclared (first use in this function)
pgxml_dom.c:186: warning: left-hand operand of comma expression has no effect
pgxml_dom.c:186: warning: left-hand operand of comma expression has no effect
pgxml_dom.c:186: warning: left-hand operand of comma expression has no effect
pgxml_dom.c:187: error: `xmlXPathCompExprPtr' undeclared (first use in this func
tion)
pgxml_dom.c:187: error: syntax error before "comppath"
pgxml_dom.c:203: error: `doctree' undeclared (first use in this function)
pgxml_dom.c:210: error: `ctxt' undeclared (first use in this function)
pgxml_dom.c:210: warning: implicit declaration of function `xmlXPathNewContext'
pgxml_dom.c:211: warning: implicit declaration of function `xmlDocGetRootElement
'
pgxml_dom.c:214: error: `comppath' undeclared (first use in this function)
pgxml_dom.c:214: warning: implicit declaration of function `xmlXPathCompile'
pgxml_dom.c:225: error: `res' undeclared (first use in this function)
pgxml_dom.c:225: warning: implicit declaration of function `xmlXPathCompiledEval
'
pgxml_dom.c:226: warning: implicit declaration of function `xmlXPathFreeCompExpr
'
pgxml_dom.c:239: error: `XPATH_NODESET' undeclared (first use in this function)
pgxml_dom.c:244: error: `XPATH_STRING' undeclared (first use in this function)
pgxml_dom.c:262: warning: implicit declaration of function `xmlFree'
make: *** [pgxml_dom.o] Error 1
make: Leaving directory `/var/tmp/portage/postgresql-7.4.6/work/postgresql-7.4.6
/contrib/xml'

!!! ERROR: dev-db/postgresql-7.4.6 failed.
!!! Function src_compile, Line 138, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
clean emerge

did an 'emerge pkgconfig' and then emerged postgresql and it was fine.  With
assistance I was told to report that:  'the new xml support in postgresql
doesn't work if you don't have pkgconfig merged when you merge libxml2'
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2005-01-06 22:44:33 UTC
fixed

*** This bug has been marked as a duplicate of 76784 ***