[MacPorts] #65313: cmake-bootstrap require root privileges

MacPorts noreply at macports.org
Wed Jun 8 22:25:59 UTC 2022


#65313: cmake-bootstrap require root privileges
--------------------+--------------------------------------
 Reporter:  lyskov  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  cmake-bootstrap @3.9.4_0
--------------------+--------------------------------------
 With MacPorts installed in user home dir (with `--with-no-root-privileges`
 flag) cmake-bootstrap at 3.9.4_0 installation fails on 'installing' step.
 Here is the snippet from the log. Thanks,
 {{{
 :debug:clean Starting logging for cmake-bootstrap @3.9.4_0
 :debug:sysinfo macOS 12.4 (darwin/21.5.0) arch i386
 :debug:sysinfo MacPorts 2.7.2
 :debug:sysinfo Xcode none
 :debug:sysinfo SDK 12
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
 :debug:clean Privilege de-escalation not attempted as not running as root.
 :debug:main Executing org.macports.main (cmake-bootstrap)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:archivefetch archivefetch phase started at Wed Jun  8 15:09:11 MDT
 2022
 :debug:archivefetch Executing org.macports.archivefetch (cmake-bootstrap)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.fetch (cmake-
 bootstrap)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.checksum (cmake-
 bootstrap)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.extract (cmake-
 bootstrap)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.patch (cmake-
 bootstrap)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.configure (cmake-
 bootstrap)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.build (cmake-
 bootstrap)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.destroot (cmake-
 bootstrap)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:install install phase started at Wed Jun  8 15:09:11 MDT 2022
 :notice:install --->  Installing cmake-bootstrap @3.9.4_0
 :error:install Failed to install cmake-bootstrap: MacPorts requires root
 privileges for this action
 :debug:install Error code: NONE
 :debug:install Backtrace: MacPorts requires root privileges for this
 action
 :debug:install     while executing
 :debug:install "elevateToRoot "install""
 :debug:install     (procedure "portinstall::install_start" line 10)
 :debug:install     invoked from within
 :debug:install "[ditem_key $ditem prerun] $targetname"
 }}}

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


More information about the macports-tickets mailing list