Opened 10 years ago

Last modified 10 years ago

#45729 closed defect

Problem building cmake in Yosemite — at Version 1

Reported by: jmgc Owned by: css@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: cmake

Description (last modified by neverpanic (Clemens Lang))

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

Change History (1)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Description: modified (diff)
Keywords: cmake libcurl removed
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to css@…
Priority: HighNormal

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.

Note: See TracTickets for help on using tickets.