[MacPorts] #30943: cmake build fails on OSX lion

MacPorts noreply at macports.org
Tue Aug 23 07:22:26 PDT 2011


#30943: cmake build fails on OSX lion
----------------------------------+-----------------------------------------
 Reporter:  dave@…                |       Owner:  css@…           
     Type:  defect                |      Status:  new             
 Priority:  Normal                |   Milestone:                  
Component:  ports                 |     Version:  2.0.1           
 Keywords:  lion                  |        Port:  cmake           
----------------------------------+-----------------------------------------
Changes (by macsforever2000@…):

  * keywords:  cmake lion => lion
  * owner:  macports-tickets@… => css@…
  * port:  => cmake


Old description:

> port install cmake fails with the following message after correctly
> building and installing all the dependencies. XCode is at 4.1.
>
> $ sudo port install cmake
> --->  Computing dependencies for cmake
> --->  Fetching archive for cmake
> --->  Attempting to fetch cmake-2.8.5_0.darwin_11.x86_64.tbz2 from
> http://packages.macports.org/cmake
> --->  Fetching cmake
> --->  Verifying checksum(s) for cmake
> --->  Extracting cmake
> --->  Applying patches to cmake
> --->  Configuring cmake
> Error: Target org.macports.configure returned: configure failure: shell
> command failed (see log for details)
> Log for cmake is at:
> /opt/local/var/macports/logs/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
> flatcat:~ weber$ tail -20
> /opt/local/var/macports/logs/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
> :info:configure   directory
> :info:configure
> "/opt/local/local/local/local/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.5/Tests"
> :info:configure   is not a subdirectory of
> :info:configure
> "/opt/local/local/local/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.5".
> :info:configure   When specifying an out-of-tree source a binary
> directory must be explicitly
> :info:configure   specified.
> :info:configure
> :info:configure
> :info:configure -- Configuring incomplete, errors occurred!
> :info:configure ---------------------------------------------
> :info:configure Error when bootstrapping CMake:
> :info:configure Problem while running initial CMake
> :info:configure ---------------------------------------------
> :info:configure shell command " cd
> "/opt/local/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.5"
> && ./configure --prefix=/opt/local --mandir=/share/man
> --docdir=/share/doc/cmake --parallel=2
> --init=/opt/local/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.5/macports.cmake
> " returned error 11
> :error:configure Target org.macports.configure returned: configure
> failure: shell command failed (see log for details)
> :debug:configure Backtrace: configure failure: shell command failed (see
> log for details)
>     while executing
> "$procedure $targetname"
> :info:configure Warning: the following items did not execute (for cmake):
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> :notice:configure Log for cmake is at:
> /opt/local/var/macports/logs/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log

New description:

 port install cmake fails with the following message after correctly
 building and installing all the dependencies. XCode is at 4.1.

 {{{
 $ sudo port install cmake
 --->  Computing dependencies for cmake
 --->  Fetching archive for cmake
 --->  Attempting to fetch cmake-2.8.5_0.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/cmake
 --->  Fetching cmake
 --->  Verifying checksum(s) for cmake
 --->  Extracting cmake
 --->  Applying patches to cmake
 --->  Configuring cmake
 Error: Target org.macports.configure returned: configure failure: shell
 command failed (see log for details)
 Log for cmake is at:
 /opt/local/var/macports/logs/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 flatcat:~ weber$ tail -20
 /opt/local/var/macports/logs/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
 :info:configure   directory
 :info:configure
 "/opt/local/local/local/local/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.5/Tests"
 :info:configure   is not a subdirectory of
 :info:configure
 "/opt/local/local/local/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.5".
 :info:configure   When specifying an out-of-tree source a binary directory
 must be explicitly
 :info:configure   specified.
 :info:configure
 :info:configure
 :info:configure -- Configuring incomplete, errors occurred!
 :info:configure ---------------------------------------------
 :info:configure Error when bootstrapping CMake:
 :info:configure Problem while running initial CMake
 :info:configure ---------------------------------------------
 :info:configure shell command " cd
 "/opt/local/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.5"
 && ./configure --prefix=/opt/local --mandir=/share/man
 --docdir=/share/doc/cmake --parallel=2
 --init=/opt/local/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.5/macports.cmake
 " returned error 11
 :error:configure Target org.macports.configure returned: configure
 failure: shell command failed (see log for details)
 :debug:configure Backtrace: configure failure: shell command failed (see
 log for details)
     while executing
 "$procedure $targetname"
 :info:configure Warning: the following items did not execute (for cmake):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 :notice:configure Log for cmake is at:
 /opt/local/var/macports/logs/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
 }}}

--

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


More information about the macports-tickets mailing list