ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target ppc --nodeps builddir/build/SPECS/python-lxml.spec'], False, '/var/lib/mock/fedora-4-ppc-epel-18e568a0af4b8985baa12eb934bee68d41d6d019/root/', None, 0, True, 0, 424, 424, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target ppc --nodeps builddir/build/SPECS/python-lxml.spec'] Building target platforms: ppc Building for target ppc Wrote: /builddir/build/SRPMS/python-lxml-2.0.5-1.el4.src.rpm LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/python-lxml.spec'], False, '/var/lib/mock/fedora-4-ppc-epel-18e568a0af4b8985baa12eb934bee68d41d6d019/root/', None, 0, True, 0, 424, 424, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/python-lxml.spec'] Building target platforms: ppc Building for target ppc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.43618 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf lxml-2.0.5 + /bin/gzip -dc /builddir/build/SOURCES/lxml-2.0.5.tgz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd lxml-2.0.5 ++ /usr/bin/id -u + '[' 424 = 0 ']' ++ /usr/bin/id -u + '[' 424 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod a-x doc/rest2html.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.64679 + umask 022 + cd /builddir/build/BUILD + cd lxml-2.0.5 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -m32 -fsigned-char' + /usr/bin/python -c 'import setuptools; execfile("setup.py")' build Building lxml version 2.0.5. NOTE: Trying to build without Cython, pre-generated 'src/lxml/etree.c' needs to be available. Using build configuration of libxslt 1.1.11 Building against libxml2/libxslt in the following directory: /usr/lib running build running build_py creating build creating build/lib.linux-ppc-2.3 creating build/lib.linux-ppc-2.3/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-ppc-2.3/lxml copying src/lxml/cssselect.py -> build/lib.linux-ppc-2.3/lxml copying src/lxml/sax.py -> build/lib.linux-ppc-2.3/lxml copying src/lxml/builder.py -> build/lib.linux-ppc-2.3/lxml copying src/lxml/_elementpath.py -> build/lib.linux-ppc-2.3/lxml copying src/lxml/__init__.py -> build/lib.linux-ppc-2.3/lxml copying src/lxml/usedoctest.py -> build/lib.linux-ppc-2.3/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-ppc-2.3/lxml creating build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/_dictmixin.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/__init__.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-ppc-2.3/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-ppc-2.3/lxml/html running build_ext building 'lxml.etree' extension creating build/temp.linux-ppc-2.3 creating build/temp.linux-ppc-2.3/src creating build/temp.linux-ppc-2.3/src/lxml gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 -fsigned-char -D_GNU_SOURCE -fPIC -O2 -g -pipe -m32 -fsigned-char -fPIC -I/usr/include/libxml2 -I/usr/include/python2.3 -c src/lxml/lxml.etree.c -o build/temp.linux-ppc-2.3/src/lxml/lxml.etree.o -w src/lxml/lxml.etree.c:72:31: libxml/schematron.h: No such file or directory src/lxml/lxml.etree.c:1477: error: syntax error before "xmlSchemaSAXPlugStruct" src/lxml/lxml.etree.c: In function `__pyx_pf_4lxml_5etree_14_ParserContext___dealloc__': src/lxml/lxml.etree.c:46450: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_f_4lxml_5etree_14_ParserContext__copy': src/lxml/lxml.etree.c:46540: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_f_4lxml_5etree_14_ParserContext_prepare': src/lxml/lxml.etree.c:46810: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_f_4lxml_5etree_14_ParserContext_cleanup': src/lxml/lxml.etree.c:46866: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_f_4lxml_5etree__handleParseResult': src/lxml/lxml.etree.c:47548: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_pf_4lxml_5etree_9iterparse___next__': src/lxml/lxml.etree.c:65032: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_f_4lxml_5etree_9XMLSchema__newSaxValidator': src/lxml/lxml.etree.c:87623: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87623: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87623: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87624: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87633: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87642: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87662: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_pf_4lxml_5etree_30_ParserSchemaValidationContext___dealloc__': src/lxml/lxml.etree.c:87685: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87694: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87704: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_copy': src/lxml/lxml.etree.c:87730: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87730: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_connect': src/lxml/lxml.etree.c:87766: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87776: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87776: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87785: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87814: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87814: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_disconnect': src/lxml/lxml.etree.c:87844: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87854: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87863: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_f_4lxml_5etree_30_ParserSchemaValidationContext_isvalid': src/lxml/lxml.etree.c:87889: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:87912: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_tp_new_4lxml_5etree__ParserSchemaValidationContext': src/lxml/lxml.etree.c:99513: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:99514: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_tp_dealloc_4lxml_5etree__ParserSchemaValidationContext': src/lxml/lxml.etree.c:99529: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:99529: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:99529: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:99529: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_tp_traverse_4lxml_5etree__ParserSchemaValidationContext': src/lxml/lxml.etree.c:99536: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:99537: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: In function `__pyx_tp_clear_4lxml_5etree__ParserSchemaValidationContext': src/lxml/lxml.etree.c:99545: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c:99546: error: dereferencing pointer to incomplete type src/lxml/lxml.etree.c: At top level: src/lxml/lxml.etree.c:99629: error: invalid application of `sizeof' to incomplete type `__pyx_obj_4lxml_5etree__ParserSchemaValidationContext' error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.64679 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.64679 (%build) EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/python-lxml.spec'] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 315, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/python-lxml.spec'] LEAVE do --> EXCEPTION RAISED