[MacPorts] #45729: Problem building cmake in Yosemite

MacPorts noreply at macports.org
Sun Nov 2 01:42:00 PST 2014


#45729: Problem building cmake in Yosemite
-------------------------+-------------------
  Reporter:  jm.gomez@…  |      Owner:  css@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.2
Resolution:              |   Keywords:
      Port:  cmake       |
-------------------------+-------------------
Changes (by cal@…):

 * priority:  High => Normal
 * keywords:  cmake libcurl =>
 * owner:  macports-tickets@… => css@…
 * milestone:  MacPorts Future =>


Old description:

> The cmake port cannot be built. The log indicates:
>
> :info:build [ 86%] Building CXX object
> Source/CMakeFiles/CTestLib.dir/CTest/cmParseGTMCoverage.cxx.o
> :info:build Linking CXX executable ../bin/ccmake
> :info:build ld: warning: ignoring file
> /Library/Frameworks/libcurl.framework/libcurl, missing required
> architecture x86_64 in file /Library/Frameworks/libcurl.framework/libcurl
> (2 slices)
> :info:build Undefined symbols for architecture x86_64:
> :info:build   "_curl_easy_cleanup", referenced from:
>
> Does anyone have a hint?
>
> Thanks

New description:

 The cmake port cannot be built. The log indicates:

 {{{
 :info:build [ 86%] Building CXX object
 Source/CMakeFiles/CTestLib.dir/CTest/cmParseGTMCoverage.cxx.o
 :info:build Linking CXX executable ../bin/ccmake
 :info:build ld: warning: ignoring file
 /Library/Frameworks/libcurl.framework/libcurl, missing required
 architecture x86_64 in file /Library/Frameworks/libcurl.framework/libcurl
 (2 slices)
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_curl_easy_cleanup", referenced from:
 }}}

 Does anyone have a hint?

 Thanks

--

Comment:

 Please don't set the milestone field for port bugs, avoid setting priority
 to high (MacPorts developers will do that for you if necessary) and Cc the
 maintainer, if any. Also, try to preview your post and use WikiFormatting
 in Trac.

 Usually, we ask you to attach the main.log of a clean build (which you
 didn't), but this seems to be pretty clear: A 3rd-party installer
 installed a `/Library/Frameworks/libcurl.framework` on your machine that's
 i386 only, but you're building x86_64 cmake. As per our
 wiki:FAQ#buildfails, clean and try again in trace mode (`port -t`). If
 that doesn't help, move or delete `libcurl.framework` in
 `/Library/Frameworks`.

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


More information about the macports-tickets mailing list