<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>14558</bug_id>
          
          <creation_ts>2003-01-25 22:34 0000</creation_ts>
          <short_desc>libxslt-1.0.23.ebuild fails to compile</short_desc>
          <delta_ts>2003-01-30 08:59:15 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gontran@gontran.net</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gontran@gontran.net</who>
            <bug_when>2003-01-25 22:34:16 0000</bug_when>
            <thetext>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&apos;     
cd . &amp;&amp; /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&apos; redefined
/usr/include/python2.2/pyport.h:149: warning: this is the location of the
previous definition
libxslt.c: In function `libxslt_xsltSaveResultToString&apos;:
libxslt.c:258: warning: unused variable `tmp&apos;
libxslt.c: In function `initlibxsltmod&apos;:
libxslt.c:464: warning: implicit declaration of function `exsltRegisterAll&apos;
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
&gt;/dev/null 2&gt;&amp;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&apos;
types.c: In function `libxml_xmlRegexpPtrWrap&apos;:
types.c:541: `regexp&apos; 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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jsubl2@jcpenney.com</who>
            <bug_when>2003-01-29 10:14:08 0000</bug_when>
            <thetext>had the same error.  updated libxml2 and then libxslt compiled fine.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gontran@gontran.net</who>
            <bug_when>2003-01-29 11:31:54 0000</bug_when>
            <thetext>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=&quot;MIT&quot;
 KEYWORDS=&quot;~x86 ~sparc ~ppc ~alpha&quot;
 
-RDEPEND=&quot;&gt;=dev-libs/libxml2-2.4.23
+RDEPEND=&quot;&gt;=dev-libs/libxml2-2.4.30
        python? ( dev-lang/python )&quot;
 
 DEPEND=&quot;${RDEPEND}

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-01-30 08:59:15 0000</bug_when>
            <thetext>dep is fixed, thanks for the report.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>