[MacPorts] #17667: py25-libxml2 failed to build with ValueError

MacPorts noreply at macports.org
Tue Dec 16 07:24:19 PST 2008


#17667: py25-libxml2 failed to build with ValueError
--------------------------------+-------------------------------------------
 Reporter:  vpribish@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  Port Bugs                            
Component:  ports               |     Version:  1.7.0                                
 Keywords:                      |        Port:  py25-libxml2                         
--------------------------------+-------------------------------------------
 I've tried the usual tricks of cleaning and retrying but this error
 persists:


 {{{
 vpribish at wopr:~ $ sudo port clean --work py25-libxml2
 --->  Cleaning py25-libxml2
 vpribish at wopr:~ $ sudo port install py25-libxml2
 --->  Fetching py25-libxml2
 --->  Verifying checksum(s) for py25-libxml2
 --->  Extracting py25-libxml2
 --->  Applying patches to py25-libxml2
 --->  Configuring py25-libxml2
 --->  Building py25-libxml2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-libxml2/work/libxml2-python-2.6.21"
 && /opt/local/bin/python2.5 setup.py build " returned error 1
 Command output:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xmllib.py:9:
 DeprecationWarning: The xmllib module is obsolete.  Use xml.sax instead.
   warnings.warn("The xmllib module is obsolete.  Use xml.sax instead.",
 DeprecationWarning)
 /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py:248:
 UserWarning: 'licence' distribution option is deprecated; use 'license'
   warnings.warn(msg)
 Found 1579 functions in libxml2-api.xml
 Found 53 functions in libxml2-python-api.xml
 Generated 873 wrapper functions, 547 failed, 212 skipped

 Missing type converters:
 xmlRelaxNGValidityErrorFunc *:2  xmlXPathObjectPtr:22  const
 htmlEntityDesc *:2  xmlOutputMatchCallback:1  xmlElementContentPtr *:1
 xmlStructuredErrorFunc:3  xmlSchematronValidCtxtPtr:2
 xmlParserInputBufferCreateFilenameFunc:2  xmlSchemaValType:2  size_t:1
 xmlEnumerationPtr:5  xmlSchemaWildcardPtr:1  xmlXIncludeCtxtPtr:4
 xmlRelaxNGValidityErrorFunc:2  xmlSAXHandler *:4  ...:1
 xmlShellReadlineFunc:1  xmlDict *:1  xmlAutomataPtr:19
 xmlParserInputPtr:17  xmlCatalogAllow:2  xmlExpNodePtr:3
 xmlElementContent *:1  xmlCharEncodingOutputFunc:1  xmlDictPtr:10
 xmlTextWriterPtr:77  const htmlElemDesc *:1  xmlIDPtr:1
 xmlSchemaValPtr:13  xmlInputMatchCallback:1  xmlElementTablePtr:2  xmlChar
 **:15  xmlXPathCompExprPtr:5  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  xmlSchemaSAXPlugPtr:1  xmlModulePtr:4
 xmlEnumerationPtr *:2  xmlShellCtxtPtr:10  xlinkNodeDetectFunc:2
 xmlRefTablePtr:1  xmlStreamCtxtPtr:4  xmlSchemaValidityErrorFunc *:2
 xmlChRangeGroupPtr:1  xmlAttributeTablePtr:2  xmlSchematronParserCtxtPtr:5
 xmlCatalogPrefer:1  xmlParserNodeInfoSeqPtr:3  xmlSchematronPtr:2
 xmlNodePtr *:2  xmlInputReadCallback:7  char **:5  xmlCharEncoding:13
 xmlRegExecCtxtPtr:5  xmlElementContentType:2  void *:85
 xmlTextReaderErrorFunc *:1  xmlSAXHandlerPtr *:1  xmlEntityReferenceFunc:1
 xmlDocPtr *:1  xmlBufferAllocationScheme:3  xmlSchemaValidityErrorFunc:2
 xmlDOMWrapCtxtPtr:5  xmlOutputWriteCallback:2  xmlSchemaFacetPtr:7
 xlinkHandlerPtr:2  xmlXPathFuncLookupFunc:1  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
 Traceback (most recent call last):
   File "setup.py", line 208, in <module>
     data_files=data_files,
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py",
 line 125, in setup
     dist.parse_config_files()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
 line 378, in parse_config_files
     filenames = self.find_config_files()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
 line 339, in find_config_files
     check_environ()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/util.py",
 line 208, in check_environ
     os.environ['PLAT'] = get_platform()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/util.py",
 line 78, in get_platform
     cfgvars = get_config_vars()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/sysconfig.py",
 line 493, in get_config_vars
     func()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/sysconfig.py",
 line 375, in _init_posix
     elif map(int, cfg_target.split('.')) > map(int,
 cur_target.split('.')):
 ValueError: invalid literal for int() with base 10: ''

 Error: Status 1 encountered during processing.
 vpribish at wopr:~ $
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/17667>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list