[xml/sgml-pkgs] help: error building libxml2 on m68k

Thorsten Glaser tg at mirbsd.de
Sat Oct 30 20:28:03 UTC 2010


Hi,

I’ve got a build error in the python2.6 part.

For comparision, python2.5 first:

make[3]: Entering directory `/tmp/buildd/libxml2-2.7.7.dfsg/build/main/python2.5'
/usr/bin/python2.5 ../../../python/generator.py ../../../python
Found 1605 functions in libxml2-api.xml
Found 55 functions in libxml2-python-api.xml
Generated 886 wrapper functions, 558 failed, 216 skipped

Missing type converters:
xmlRelaxNGValidityErrorFunc *:2  xmlXPathObjectPtr:22  const htmlEntityDesc *:2  xmlOutputMatchCallback:1  xmlElementContentPtr *:1  xmlStructuredErrorFunc:5  xmlSchematronValidCtxtPtr:3  xmlParserInputBufferCreateFilenameFunc:2  xmlSchemaValType:2  size_t:1  xmlSchemaSAXPlugPtr:1  xmlSchemaWildcardPtr:1  xmlXIncludeCtxtPtr:4  xmlRelaxNGValidityErrorFunc:2  xmlSAXHandler *:4  ...:1  xmlShellReadlineFunc:1  xmlDict *:1  xmlAutomataPtr:19  unsigned long:1  xmlParserInputPtr:17  xmlCatalogAllow:2  xmlExpNodePtr:3  xmlElementContent *:1  xmlCharEncodingOutputFunc:1  xmlDictPtr:10  xmlTextWriterPtr:77  const htmlElemDesc *:1  xmlChRangeGroup *:1  xmlIDPtr:1  xmlXPathFuncLookupFunc:1  xmlInputMatchCallback:1  xmlElementTablePtr:2  xmlChar **:16  xmlXPathCompExprPtr:6  xmlTextReaderErrorFunc:1  xmlExternalEntityLoader:2  xmlNotationTablePtr:2  xmlXPathVariableLookupFunc:1  xmlParserNodeInfoPtr:1  xmlExpCtxtPtr:14  xmlPatternPtr:8  xmlC14NIsVisibleCallback:1  xmlDeregisterNodeFunc:2  va_list:1  xmlSchemaTypePtr:9  htmlStatus:1  xmlRegisterNodeFunc:2  xmlAttributeType:2  xmlRefPtr:1  xmlCharEncodingHandler *:4  xmlNotationPtr:3  xmlSaveCtxtPtr:8  xmlRegExecCallbacks:1  xmlNsPtr *:1  xmlLocationSetPtr:6  xmlEnumerationPtr:5  xmlModulePtr:4  xmlEnumerationPtr *:2  xmlShellCtxtPtr:10  xlinkNodeDetectFunc:2  xmlRefTablePtr:1  xmlStreamCtxtPtr:6  xmlSchemaValidityErrorFunc *:2  xmlAttributeTablePtr:2  xmlSchematronParserCtxtPtr:5  xmlCatalogPrefer:1  xmlParserNodeInfoSeqPtr:3  xmlSchematronPtr:2  xmlNodePtr *:2  xmlInputReadCallback:7  char **:5  xmlCharEncoding:13  xmlRegExecCtxtPtr:5  xmlElementContentType:2  void *:87  xmlTextReaderErrorFunc *:1  xmlSAXHandlerPtr *:1  xmlEntityReferenceFunc:1  xmlDocPtr *:1  xmlBufferAllocationScheme:3  xmlSchemaValidityErrorFunc:2  xmlDOMWrapCtxtPtr:6  xmlOutputWriteCallback:2  xmlSchemaFacetPtr:7  xlinkHandlerPtr:2  xmlSchemaValPtr:13  htmlElemDesc *:3  xmlCharEncodingHandlerPtr:7  xmlCharEncodingInputFunc:1  xmlFeature:1  const xmlParserNodeInfo *:1  xmlNodeSetPtr:32  xmlEntitiesTablePtr:3  xmlIDTablePtr:1  xmlXPathFunction:4  xmlOutputBufferCreateFilenameFunc:2  xmlElementContentPtr:8  xmlElementTypeVal:1  xlinkType:1  xmlGenericErrorFunc *:1
touch gen_prog
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -Wl,--as-needed -DHAVE_CONFIG_H -I. -I../../../python -I.. -I/usr/include/python2.5 -I../../../include -I../include -I../python    -Wall -g -O2 -fno-strict-aliasing -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 -c -o libxml.lo `test -f '../../../python/libxml.c' || echo '../../../python/'`../../../python/libxml.c
[…]

Now python2.6 (starting at same relative place):

make[3]: Entering directory `/tmp/buildd/libxml2-2.7.7.dfsg/build/main/python2.6'
/usr/bin/python2.6 ../../../python/generator.py ../../../python
Traceback (most recent call last):
  File "../../../python/generator.py", line 1186, in <module>
    buildStubs()
  File "../../../python/generator.py", line 517, in buildStubs
    (parser, target)  = getparser()
  File "../../../python/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[3]: *** [gen_prog] Error 1
make[3]: Leaving directory `/tmp/buildd/libxml2-2.7.7.dfsg/build/main/python2.6'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/libxml2-2.7.7.dfsg/build/main/python2.6'
dh_auto_build: make -j1 libxml2mod_la_LIBADD=$(mylibs) returned exit code 2
make[1]: *** [build-python2.6] Error 2
make[1]: Leaving directory `/tmp/buildd/libxml2-2.7.7.dfsg'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package


What can I do?

Thanks in advance,
//mirabilos
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.		-- Coywolf Qi Hunt



More information about the debian-xml-sgml-pkgs mailing list