pyltxml-1.3 emerges fine with ltxml-1.2.5 but with ltxml-1.2.6 it fails with: NSLintermodule.c: In function `Bit_Encapsulate': NSLintermodule.c:1413: warning: assignment from incompatible pointer type NSLintermodule.c: In function `Item_Getattr': NSLintermodule.c:2024: warning: passing arg 1 of `PyString_FromString' from incompatible pointer type NSLintermodule.c: In function `BuildNsdict': NSLintermodule.c:2153: error: structure has no member named `uri' NSLintermodule.c:2153: error: structure has no member named `uri' NSLintermodule.c: In function `pLookupPrefix': NSLintermodule.c:2289: warning: assignment from incompatible pointer type NSLintermodule.c: In function `pItemActualAttributesNS': NSLintermodule.c:2846: warning: passing arg 1 of `PyString_FromString' from incompatible pointer type error: command 'gcc' failed with exit status 1 !!! ERROR: dev-python/pyltxml-1.3 failed. !!! Function distutils_src_compile, Line 38, Exitcode 1 !!! compilation failed
What version of python are you using? Please post the output of emerge --info.
It's python-2.3.3-r1. But I've also tried unpacking the source and doing python2.1 setup.py build and python2.2 setup.py build with also installed python-2.2.3-r5 and python-2.1.3-r1 and get the same thing. Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -mfpmath=sse -fomit-frame-pointer -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -mfpmath=sse -fomit-frame-pointer -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox"
Thanks Chris, I changed the dependency on ltxml until it gets fixed upstream.