[MacPorts] #49313: failed to install cmake on OS X 10.11

MacPorts noreply at macports.org
Fri Oct 16 12:04:24 PDT 2015


#49313: failed to install cmake on OS X 10.11
----------------------------+--------------------------------
  Reporter:  liulang.phy@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:  invalid        |   Keywords:
      Port:  cmake          |
----------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: ryandesign@… (added)
 * resolution:   => invalid
 * port:   => cmake


Old description:

> I have Xcode7.0.1 and newest command line tools installed. Macports is
> updated. But I failed to install cmake on OS X EI Capitan 10.11
>
> {{{
> sudo port install cmake
> }}}
> [[BR]]
> --->  Computing dependencies for cmake[[BR]]
> --->  Fetching archive for cmake[[BR]]
> Warning: Your DNS servers incorrectly claim to know the address of
> nonexistent hosts. This may cause checksum mismatches for some ports. See
> this page for more information:
> <https://trac.macports.org/wiki/MisbehavingServers>[[BR]]
> --->  Attempting to fetch cmake-3.3.2_1.darwin_15.x86_64.tbz2 from
> http://jog.id.packages.macports.org/macports/packages/cmake[[BR]]
> --->  Attempting to fetch cmake-3.3.2_1.darwin_15.x86_64.tbz2 from
> http://packages.macports.org/cmake[[BR]]
> --->  Attempting to fetch cmake-3.3.2_1.darwin_15.x86_64.tbz2 from
> http://lil.fr.packages.macports.org/cmake[[BR]]
> --->  Fetching distfiles for cmake[[BR]]
> --->  Attempting to fetch cmake-3.3.2.tar.gz from
> http://cjj.kr.distfiles.macports.org/cmake[[BR]]
> --->  Verifying checksums for cmake [[BR]]
> --->  Extracting cmake[[BR]]
> --->  Applying patches to cmake[[BR]]
> --->  Configuring cmake[[BR]]
> --->  Building cmake[[BR]]
> Error: org.macports.build for port cmake returned: command execution
> failed[[BR]]
> 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[[BR]]
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets[[BR]]
> Error: Processing of port cmake failed[[BR]]
>
> any suggestions? Thx

New description:

 I have Xcode7.0.1 and newest command line tools installed. Macports is
 updated. But I failed to install cmake on OS X EI Capitan 10.11

 {{{
 sudo port install cmake
 }}}
 {{{
 --->  Computing dependencies for cmake
 --->  Fetching archive for cmake
 Warning: Your DNS servers incorrectly claim to know the address of
 nonexistent hosts. This may cause checksum mismatches for some ports. See
 this page for more information:
 <https://trac.macports.org/wiki/MisbehavingServers>
 --->  Attempting to fetch cmake-3.3.2_1.darwin_15.x86_64.tbz2 from
 http://jog.id.packages.macports.org/macports/packages/cmake
 --->  Attempting to fetch cmake-3.3.2_1.darwin_15.x86_64.tbz2 from
 http://packages.macports.org/cmake
 --->  Attempting to fetch cmake-3.3.2_1.darwin_15.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/cmake
 --->  Fetching distfiles for cmake
 --->  Attempting to fetch cmake-3.3.2.tar.gz from
 http://cjj.kr.distfiles.macports.org/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
 }}}

 any suggestions? Thx

--

Comment:

 The log shows the build failed due to undefined curl symbols. It also
 shows the reason for that was 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 the file /Library/Frameworks/libcurl.framework; it
 interferes with MacPorts. Other frameworks installed there could interfere
 too, and ideally should be removed as well. This is similar to the problem
 with installing software into /usr/local, which is documented in
 wiki/FAQ#usrlocal.

 These frameworks may have been installed by other non-MacPorts software
 you're using, so removing the frameworks may break those programs.

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


More information about the macports-tickets mailing list