[MacPorts] #33900: expat-2.1.0 fails to build on Tiger

MacPorts noreply at macports.org
Wed Apr 4 14:07:15 PDT 2012


#33900: expat-2.1.0 fails to build on Tiger
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  ryandesign@…           
     Type:  defect                 |      Status:  new                    
 Priority:  Normal                 |   Milestone:                         
Component:  ports                  |     Version:  2.0.4                  
 Keywords:  tiger                  |        Port:  expat                  
-----------------------------------+----------------------------------------
 {{{
 /bin/sh ./libtool --silent --mode=link /usr/bin/gcc-4.0 -std=gnu99 -I./lib
 -I. -pipe -O2 -arch i386 -Wall -Wmissing-prototypes -Wstrict-prototypes
 -fexceptions  -I/opt/local/include -DHAVE_EXPAT_CONFIG_H -L/opt/local/lib
 -arch i386 -o xmlwf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o
 xmlwf/unixfilemap.o libexpat.la
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
 _XML_DefaultCurrent
 _XML_ExpatVersion
 _XML_GetBase
 _XML_GetCurrentByteCount
 _XML_GetCurrentByteIndex
 _XML_GetCurrentColumnNumber
 _XML_GetCurrentLineNumber
 _XML_GetFeatureList
 _XML_GetIdAttributeIndex
 _XML_GetSpecifiedAttributeCount
 _XML_ParserCreate
 _XML_ParserCreateNS
 _XML_ParserFree
 _XML_SetCdataSectionHandler
 _XML_SetCharacterDataHandler
 _XML_SetCommentHandler
 _XML_SetDefaultHandler
 _XML_SetDoctypeDeclHandler
 _XML_SetElementHandler
 _XML_SetEntityDeclHandler
 _XML_SetNamespaceDeclHandler
 _XML_SetNotStandaloneHandler
 _XML_SetNotationDeclHandler
 _XML_SetParamEntityParsing
 _XML_SetProcessingInstructionHandler
 _XML_SetUnknownEncodingHandler
 _XML_SetUserData
 _XML_UseParserAsHandlerArg
 _XML_ErrorString
 _XML_ExternalEntityParserCreate
 _XML_GetBuffer
 _XML_GetErrorCode
 _XML_Parse
 _XML_ParseBuffer
 _XML_SetBase
 _XML_SetExternalEntityRefHandler
 collect2: ld returned 1 exit status
 make: *** [xmlwf/xmlwf] Error 1
 }}}

 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 91542)
 +++ Portfile    (working copy)
 @@ -40,4 +40,13 @@
          ${examplesdir}
  }

 +platform darwin 8 {
 +    # Tiger's host ld is ancient (cctools based) and won't properly link
 this project
 +    # Use apple-gcc42 with our ld64 to get it to link
 +    depends_build port:apple-gcc42 port:ld64
 +    depends_skip_archcheck-append apple-gcc42 ld64
 +
 +    configure.compiler apple-gcc-4.2
 +}
 +
  livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
 }}}

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


More information about the macports-tickets mailing list