[MacPorts] #44581: cmake and CMAKE_OSX_SYSROOT value on mac os 10.10 yosemite

MacPorts noreply at macports.org
Thu Oct 23 03:11:51 PDT 2014


#44581: cmake and CMAKE_OSX_SYSROOT value on mac os 10.10 yosemite
---------------------------------+-------------------------------
  Reporter:  daniele.pontillo@…  |      Owner:  css@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.3.2
Resolution:                      |   Keywords:  haspatch yosemite
      Port:  cmake               |
---------------------------------+-------------------------------

Comment (by notinmyhead@…):

 Hello,

 I tried everything but I still get a different error:

 {{{
 :info:build ld: warning: ignoring file
 /Library/Frameworks/expat.framework/expat, file was built for i386 which
 is not the architecture being linked (x86_64):
 /Library/Frameworks/expat.framework/expat
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_XML_ErrorString", referenced from:
 :info:build       cmXMLParser::ReportXmlParseError() in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build   "_XML_GetCurrentColumnNumber", referenced from:
 :info:build       cmXMLParser::ReportXmlParseError() in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build   "_XML_GetCurrentLineNumber", referenced from:
 :info:build       cmXMLParser::ReportXmlParseError() in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build   "_XML_GetErrorCode", referenced from:
 :info:build       cmXMLParser::ReportXmlParseError() in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build   "_XML_Parse", referenced from:
 :info:build       cmXMLParser::CleanupParser() in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build       cmXMLParser::ParseBuffer(char const*, unsigned long) in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build   "_XML_ParserCreate", referenced from:
 :info:build       cmXMLParser::InitializeParser() in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build   "_XML_ParserFree", referenced from:
 :info:build       cmXMLParser::CleanupParser() in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build   "_XML_SetCharacterDataHandler", referenced from:
 :info:build       cmXMLParser::InitializeParser() in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build   "_XML_SetElementHandler", referenced from:
 :info:build       cmXMLParser::InitializeParser() in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build   "_XML_SetUserData", referenced from:
 :info:build       cmXMLParser::InitializeParser() in
 libCMakeLib.a(cmXMLParser.cxx.o)
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [bin/ccmake] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-3.0.2'
 :info:build make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
 :info:build make[1]: *** Waiting for unfinished jobs....

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44581#comment:87>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list