After fixing some underlying errors related to python3, the weekly stage3 images for x86 and then amd64 fail to build because of a missing dependency on python[xml]. The generated error for both arches is "xml.sax._exceptions.SAXReaderNotAvailable: No parsers found". I'll attach the full log to this bug, but the following is the relevant section: ---------------------------------------------------- * Building of dev-libs/libxml2-2.7.7 with CPython 2.6... Making all in . make[1]: Entering directory `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6' /usr/bin/python ./generator.py . /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I../include -I../include -I../python -O2 -march=i686 -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict -prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT types.lo -MD -MP -MF .deps/types.Tpo -c -o types.lo `test -f './types.c' || echo './'`./types.c libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I../include -I../include -I../python -O2 -march=i686 -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-t ype -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototyp es -Wnested-externs -Winline -Wredundant-decls -MT types.lo -MD -MP -MF .deps/types.Tpo -c ./types.c -fPIC -DPIC -o .libs/types.o Traceback (most recent call last): File "./generator.py", line 1186, in <module> buildStubs() File "./generator.py", line 517, in buildStubs (parser, target) = getparser() File "./generator.py", line 34, in getparser parser = xml.sax.make_parser() File "/usr/lib/python2.6/xml/sax/__init__.py", line 93, in make_parser raise SAXReaderNotAvailable("No parsers found", None) xml.sax._exceptions.SAXReaderNotAvailable: No parsers found make[1]: *** [gen_prog] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from /usr/include/python2.6/Python.h:86, from ./libxml_wrap.h:1, from ./types.c:9: /usr/include/python2.6/intobject.h:45: warning: ISO C90 does not support 'long long' In file included from /usr/include/python2.6/Python.h:88, from ./libxml_wrap.h:1, from ./types.c:9: /usr/include/python2.6/longobject.h:47: warning: ISO C90 does not support 'long long' /usr/include/python2.6/longobject.h:48: warning: ISO C90 does not support 'long long' /usr/include/python2.6/longobject.h:49: warning: ISO C90 does not support 'long long' /usr/include/python2.6/longobject.h:50: warning: ISO C90 does not support 'long long' /usr/include/python2.6/longobject.h:51: warning: ISO C90 does not support 'long long' libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I../include -I../include -I../python -O2 -march=i686 -pipe -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-t ype -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototyp es -Wnested-externs -Winline -Wredundant-decls -MT types.lo -MD -MP -MF .deps/types.Tpo -c ./types.c -o types.o >/dev/null 2>&1 mv -f .deps/types.Tpo .deps/types.Plo make[1]: Leaving directory `/var/tmp/portage/dev-libs/libxml2-2.7.7/work/libxml2-2.7.7/python-2.6' make: *** [all-recursive] Error 1 ---------------------------------------------------- I'm also going to attach a patch that allows the build to succeed with catalyst
Created attachment 241901 [details] Catalyst stage3 log for i686
Created attachment 241903 [details, diff] patch to allow libxml2 to be built for stage3 by catalyst
According to: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libxml2/libxml2-2.7.7.ebuild?view=markup the ebuild already has proper dependencies.
Zac fixed it in the meanwhile. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libxml2/libxml2-2.7.7.ebuild?view=log