Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14558 - libxslt-1.0.23.ebuild fails to compile
Summary: libxslt-1.0.23.ebuild fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-25 22:34 UTC by Gontran Zepeda
Modified: 2003-01-30 08:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gontran Zepeda 2003-01-25 22:34:16 UTC
Predictably, on two seperate machines the same way.

make[3]: Entering directory `/var/tmp/portage/libxslt-1.0.23/work/libxslt-1.0.23
/python'     
cd . && /usr/bin/python generator.py
Found 188 functions in libxslt-api.xml
Found 26 functions in libxslt-python-api.xml
Generated 114 wrapper functions, 98 failed, 2 skipped
             
Missing type converters:
...:1  xsltTopLevelFunction:2  xsltPreComputeFunction:2  xmlNodePtr *:2  xmlChar
 **:1  xmlXPathCompExprPtr:3  xsltExtInitFunction:2  xsltNumberDataPtr:1  char *
*:6  xsltElemPreCompPtr:2  xmlNodeSetPtr:2  xsltDecimalFormatPtr:2  xmlXPathFunc
tion:4  xsltSecurityPrefsPtr:11  xsltTransformFunction:5  xsltCompMatchPtr:3  vo
id *:7  xmlChar*:3  xmlOutputBufferPtr:1  xsltTemplatePtr:6  pythonObject *:4  x
sltDocumentPtr:7  xsltStylePreCompPtr:18  xsltStackElemPtr:3
touch gen_prog
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I/usr/include/python2.2 -I/usr/include/libxml2 -I..    -O2 -mcpu=i686
-pipe -Wall -c libxslt.c
mkdir .libs  
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.2
-I/usr/include/libxml2 -I.. -O2 -mcpu=i686 -pipe -Wall -c libxslt.c  -fPIC -DPIC
-o .libs/libxslt.lo
In file included from libxslt.c:15:
../config.h:71: warning: `HAVE_STAT' redefined
/usr/include/python2.2/pyport.h:149: warning: this is the location of the
previous definition
libxslt.c: In function `libxslt_xsltSaveResultToString':
libxslt.c:258: warning: unused variable `tmp'
libxslt.c: In function `initlibxsltmod':
libxslt.c:464: warning: implicit declaration of function `exsltRegisterAll'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.2
-I/usr/include/libxml2 -I.. -O2 -mcpu=i686 -pipe -Wall -c libxslt.c -o libxslt.o
>/dev/null 2>&1 
mv -f .libs/libxslt.lo libxslt.lo
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I/usr/include/python2.2 -I/usr/include/libxml2 -I..    -O2 -mcpu=i686
-pipe -Wall -c types.c
rm -f .libs/types.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.2
-I/usr/include/libxml2 -I.. -O2 -mcpu=i686 -pipe -Wall -c types.c  -fPIC -DPIC
-o .libs/types.lo 
types.c:534: parse error before `regexp'
types.c: In function `libxml_xmlRegexpPtrWrap':
types.c:541: `regexp' undeclared (first use in this function)
types.c:541: (Each undeclared identifier is reported only once
types.c:541: for each function it appears in.)

# emerge --version
Portage 2.0.46-r9 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)
# qpkg -I -v dev-lang/python
dev-lang/python-2.2.2 *

Yours,
Gontran
Comment 1 Jim Sublette 2003-01-29 10:14:08 UTC
had the same error.  updated libxml2 and then libxslt compiled fine.
Comment 2 Gontran Zepeda 2003-01-29 11:31:54 UTC
Thanks for that, I was trying to emerge with libxml2-2.4.24 installed.  In this
case may I suggest the following change to the libxslt-1.0.23.ebuild file?

--- libxslt-1.0.23.ebuild       2003-01-12 17:10:10.000000000 -0700
+++ libxslt-1.0.23-r1.ebuild    2003-01-29 10:30:04.000000000 -0700
@@ -12,7 +12,7 @@
 LICENSE="MIT"
 KEYWORDS="~x86 ~sparc ~ppc ~alpha"
 
-RDEPEND=">=dev-libs/libxml2-2.4.23
+RDEPEND=">=dev-libs/libxml2-2.4.30
        python? ( dev-lang/python )"
 
 DEPEND="${RDEPEND}

Comment 3 foser (RETIRED) gentoo-dev 2003-01-30 08:59:15 UTC
dep is fixed, thanks for the report.