Opened 13 years ago

Closed 13 years ago

#30943 closed defect (invalid)

cmake build fails on OSX lion

Reported by: dave@… Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: lion Cc:
Port: cmake

Description (last modified by mf2k (Frank Schima))

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

Change History (4)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: cmake removed
Owner: changed from macports-tickets@… to css@…
Port: cmake added

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Works for me. I wonder where the /opt/local/local/local/local came from.

comment:3 Changed 13 years ago by dave@…

The target machine on my side had /opt/local pointing to /opt where the normal tree resided. I cleaned that up and it now works as advertised.

comment:4 Changed 13 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.