Opened 10 years ago

Closed 8 years ago

#44059 closed defect (wontfix)

cmake: sh: /bin/ps: Operation not permitted

Reported by: mojca (Mojca Miklavec) Owned by: michaelld (Michael Dickens)
Priority: Low Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: cmake

Description

CMake configuration contains

sh: /bin/ps: Operation not permitted

We need to either fix this (or declare that we plan to ignore this).

It apparently doesn't cause any problems.

Change History (6)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

That's caused by the sandboxing in place since MacPorts 2.2(?). Processes with sandboxing enabled can not run setuid binaries.

comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 10 years ago by air_drummer@…

whadda ya mean "doesn't cause any problems"? it kills port upgrade outdated...my log:

: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 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/FindGTK2/CMakeLists.txt:1 (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.0/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.0/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.0" && ./configure --prefix=/opt/local --mandir=/share/man --docdir=/share/doc/cmake --parallel=8 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.0/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.install org.macports.configure org.macports.build org.macports.destroot

Last edited 10 years ago by air_drummer@… (previous) (diff)

comment:4 in reply to:  3 Changed 10 years ago by mojca (Mojca Miklavec)

Replying to air_drummer@…:

whadda ya mean "doesn't cause any problems"? it kills port upgrade outdated...my log:

That you missed the ticket number. See #44237

comment:5 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from css@… to michaelld@…

comment:6 Changed 8 years ago by neverpanic (Clemens Lang)

Resolution: wontfix
Status: newclosed

This isn't a problem, and we're not going to fix this.

Note: See TracTickets for help on using tickets.