[MacPorts] #45531: install cmake problem OS X 10.10

MacPorts noreply at macports.org
Tue Oct 21 09:22:50 PDT 2014


#45531: install cmake problem OS X 10.10
-------------------------+--------------------------------
  Reporter:  ypeysson@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.2
Resolution:  invalid     |   Keywords:
      Port:  cmake       |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: css@… (added)
 * priority:  High => Normal
 * milestone:  MacPorts 2.3.2 =>
 * resolution:   => invalid
 * port:   => cmake


Old description:

> Hi, I try to install cmake, in a clean way from macport. I have the last
> Xcode 6.1 downloaded from Apple Store, and the correct sdks. It seems to
> compile fine, but I face a problem in the test phase that prevent the
> correct installation:
>
> /bin/ps: Operation not permitted
>

> It seems to be an already seen problem in macport, but clearly not fixed.
> What can you do, or can I do ?
> Thanks
> Yves
>

>

>
> :info:configure -- Forcing CTEST_TEST_CPACK=OFF on OSX < 10.4
> :info:configure -- OSX_VERSION='10.10'
> :info:configure -- Performing Test run_pic_test
> :info:configure -- Performing Test run_pic_test - Success
> :info:configure sh: /bin/ps: Operation not permitted
> :info:configure CMake Error at Modules/FindGTK2.cmake:181 (file):
> :info:configure   file STRINGS file
> :info:configure
> "/Library/Frameworks/Gtk.framework/Headers/gtk/gtk/gtkversion.h" cannot
> be
> :info:configure   read.
> :info:configure Call Stack (most recent call first):
> :info:configure   Modules/FindGTK2.cmake:796 (_GTK2_GET_VERSION)
> :info:configure   Tests/CMakeLists.txt:1197 (find_package)
> :info:configure
> :info:configure
> :info:configure -- Configuring incomplete, errors occurred!
> :info:configure See also
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2/CMakeFiles/CMakeOutput.log".
> :info:configure See also
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2/CMakeFiles/CMakeError.log".
> :info:configure ---------------------------------------------
> :info:configure Error when bootstrapping CMake:
> :info:configure Problem while running initial CMake
> :info:configure ---------------------------------------------
> :info:configure Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2"
> && ./configure --prefix=/opt/local --mandir=/share/man
> --docdir=/share/doc/cmake --parallel=4
> --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2/macports.cmake
> --system-libs
> :info:configure Exit code: 11
> :error:configure org.macports.configure for port cmake returned:
> configure failure: command execution failed
> :debug:configure Error code: NONE
> :debug:configure Backtrace: configure failure: command execution failed
>     while executing
> "portconfigure::configure_main org.macports.configure"
>     ("eval" body line 1)
>     invoked from within
> "eval $procedure $targetname"
> :info:configure Warning: targets not executed for cmake:
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> :notice:configure 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

New description:

 Hi, I try to install cmake, in a clean way from macport. I have the last
 Xcode 6.1 downloaded from Apple Store, and the correct sdks. It seems to
 compile fine, but I face a problem in the test phase that prevent the
 correct installation:

 {{{
 /bin/ps: Operation not permitted
 }}}

 It seems to be an already seen problem in macport, but clearly not fixed.
 [[br]]
 What can you do, or can I do ? [[br]]
 Thanks [[br]]
 Yves




 {{{
 :info:configure -- Forcing CTEST_TEST_CPACK=OFF on OSX < 10.4
 :info:configure -- OSX_VERSION='10.10'
 :info:configure -- Performing Test run_pic_test
 :info:configure -- Performing Test run_pic_test - Success
 :info:configure sh: /bin/ps: Operation not permitted
 :info:configure CMake Error at Modules/FindGTK2.cmake:181 (file):
 :info:configure   file STRINGS file
 :info:configure
 "/Library/Frameworks/Gtk.framework/Headers/gtk/gtk/gtkversion.h" cannot be
 :info:configure   read.
 :info:configure Call Stack (most recent call first):
 :info:configure   Modules/FindGTK2.cmake:796 (_GTK2_GET_VERSION)
 :info:configure   Tests/CMakeLists.txt:1197 (find_package)
 :info:configure
 :info:configure
 :info:configure -- Configuring incomplete, errors occurred!
 :info:configure See also
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2/CMakeFiles/CMakeOutput.log".
 :info:configure See also
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2/CMakeFiles/CMakeError.log".
 :info:configure ---------------------------------------------
 :info:configure Error when bootstrapping CMake:
 :info:configure Problem while running initial CMake
 :info:configure ---------------------------------------------
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2"
 && ./configure --prefix=/opt/local --mandir=/share/man
 --docdir=/share/doc/cmake --parallel=4
 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.2/macports.cmake
 --system-libs
 :info:configure Exit code: 11
 :error:configure org.macports.configure for port cmake returned: configure
 failure: command execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
     while executing
 "portconfigure::configure_main org.macports.configure"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 :info:configure Warning: targets not executed for cmake:
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 :notice:configure 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
 }}}

--

Comment:

 Please remove /Library/Frameworks/Gtk.framework and anything else you
 might have installed in /Library/Frameworks; it interferes with MacPorts.

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


More information about the macports-tickets mailing list