Opened 10 years ago

Closed 10 years ago

#45805 closed defect (invalid)

cmake 3.0.2_1 build failure on Yosemite

Reported by: aeronova Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), cssdev
Port: cmake

Description

I cleaned and tried installing again, but got the same build error. Please see the attached log file for the details.

$ sudo port install cmake
--->  Computing dependencies for cmake
--->  Fetching archive for cmake
--->  Attempting to fetch cmake-3.0.2_1.darwin_14.x86_64.tbz2 from http://packages.macports.org/cmake
--->  Attempting to fetch cmake-3.0.2_1.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/cmake
--->  Attempting to fetch cmake-3.0.2_1.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/cmake
--->  Fetching distfiles for cmake
--->  Verifying checksums for cmake
--->  Extracting cmake
--->  Applying patches to cmake
--->  Configuring cmake
--->  Building cmake
Error: org.macports.build for port cmake returned: command execution failed
Please see the log file for port cmake for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port cmake failed

Attachments (1)

main.log (167.4 KB) - added by aeronova 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by aeronova

Attachment: main.log added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: cmake Yosemite removed

The log shows the problem relates to this:

: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)

Please remove /Library/Frameworks/libcurl.framework, and ideally any other frameworks you've installed there. They can interfere with software in MacPorts.

comment:2 Changed 10 years ago by aeronova

Thank you for the suggestion. I should've look at the log file carefully. I wonder removing /Library/Frameworks/libcurl.framework/libcurl doesn't affect my system. In fact, I have no idea how I got it.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… css@… added
Resolution: invalid
Status: newclosed

I'd just remove it. If a third-party application breaks as a result, hopefully you can find a newer version of that application that doesn't use globally-installed frameworks.

Note: See TracTickets for help on using tickets.