Bug 14558 - libxslt-1.0.23.ebuild fails to compile
|
Bug#:
14558
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: gnome@gentoo.org
|
Reported By: gontran@gontran.net
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: libxslt-1.0.23.ebuild fails to compile
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-01-25 22:34 0000
|
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
had the same error. updated libxml2 and then libxslt compiled fine.
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}
dep is fixed, thanks for the report.