[MacPorts] #65313: ports that change prefix fail to install without root privileges

MacPorts noreply at macports.org
Thu Jun 9 18:14:11 UTC 2022


#65313: ports that change prefix fail to install without root privileges
------------------------------+-----------------------------
  Reporter:  lyskov           |      Owner:  jmroot
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:  MacPorts Future
 Component:  base             |    Version:
Resolution:  fixed            |   Keywords:
      Port:  cmake-bootstrap  |
------------------------------+-----------------------------

Comment (by lyskov):

 I have tried apply path locally and do a clean rebuild: it fail again but
 now log a bit different, here is the tail of it:
 {{{
 :info:install a ./Users/abcde/prefix/macports.monterey.08.06.2022/libexec
 /cmake-bootstrap/bin/ccmake
 :info:install a ./Users/abcde/prefix/macports.monterey.08.06.2022/libexec
 /cmake-bootstrap/bin/cmake
 :info:install a ./Users/abcde/prefix/macports.monterey.08.06.2022/libexec
 /cmake-bootstrap/bin/cmakexbuild
 :info:install a ./Users/abcde/prefix/macports.monterey.08.06.2022/libexec
 /cmake-bootstrap/bin/ctest
 :info:install a ./Users/abcde/prefix/macports.monterey.08.06.2022/libexec
 /cmake-bootstrap/bin/cpack
 :debug:install Archive cmake-bootstrap-3.9.4_0.darwin_21.x86_64.tbz2
 packaged
 :debug:install removing file:
 /Users/abcde/prefix/macports.monterey.08.06.2022/var/macports/build/_Users_abcde_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/destroot/+STATE
 :debug:install removing file:
 /Users/abcde/prefix/macports.monterey.08.06.2022/var/macports/build/_Users_abcde_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/destroot/+PORTFILE
 :debug:install removing file:
 /Users/abcde/prefix/macports.monterey.08.06.2022/var/macports/build/_Users_abcde_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/destroot/+CONTENTS
 :debug:install removing file:
 /Users/abcde/prefix/macports.monterey.08.06.2022/var/macports/build/_Users_abcde_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/destroot/+DESC
 :debug:install removing file:
 /Users/abcde/prefix/macports.monterey.08.06.2022/var/macports/build/_Users_abcde_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/work/destroot/+COMMENT
 :debug:activate activate phase started at Thu Jun  9 12:01:52 MDT 2022
 :error:activate Failed to activate cmake-bootstrap: MacPorts requires root
 privileges for this action
 :debug:activate Error code: NONE
 :debug:activate Backtrace: MacPorts requires root privileges for this
 action
 :debug:activate     while executing
 :debug:activate "elevateToRoot "activate""
 :debug:activate     (procedure "portactivate::activate_start" line 5)
 :debug:activate     invoked from within
 :debug:activate "[ditem_key $ditem prerun] $targetname"
 :error:activate See
 /Users/abcde/prefix/macports.monterey.08.06.2022/var/macports/logs/_Users_abcde_prefix_macports.monterey.08.06.2022_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/main.log for details.

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65313#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list