[MacPorts] #45685: cmake fails because of XML linking error (expat issue?)
MacPorts
noreply at macports.org
Wed Oct 29 16:34:33 PDT 2014
#45685: cmake fails because of XML linking error (expat issue?)
--------------------------+--------------------------------
Reporter: jpsdotcom@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.2
Resolution: | Keywords: cmake yosemite
Port: |
--------------------------+--------------------------------
Comment (by jpsdotcom@…):
I didn't realize how bad the formatting would be, so here is the snip from
main.log, again:
{{{
:info:build Linking CXX executable ../bin/ccmake
:info:build [ 88%] 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 Building CXX object
Source/CMakeFiles/CTestLib.dir/CTest/cmParseGTMCoverage.cxx.o
: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_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2'
:info:build make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/45685#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list