[MacPorts] #65514: cmake-bootstrap fails to install with non-root installation

MacPorts noreply at macports.org
Thu Jul 21 18:29:14 UTC 2022


#65514: cmake-bootstrap fails to install with non-root installation
---------------------+--------------------
 Reporter:  0xdd-co  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:  arm64    |       Port:
---------------------+--------------------
 I have a non-root installation of MacPorts in my home folder. While trying
 to upgrade fish, cmake-bootstrap fails with the following error:


 {{{
 --->  Cleaning pkgconfig
 --->  Fetching distfiles for cmake-bootstrap
 --->  Verifying checksums for cmake-bootstrap
 --->  Extracting cmake-bootstrap
 --->  Applying patches to cmake-bootstrap
 --->  Configuring cmake-bootstrap
 --->  Building cmake-bootstrap
 --->  Staging cmake-bootstrap into destroot
 --->  Installing cmake-bootstrap @3.9.6_0
 Error: Failed to install cmake-bootstrap: MacPorts requires root
 privileges for this action
 Error: See
 /Users/user/.macports/var/macports/logs/_Users_user_.macports_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
 bootstrap/main.log for details.
 Error: Problem while installing cmake-bootstrap
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 }}}

 Log file is below:

 {{{
 :debug:main Starting logging for cmake-bootstrap @3.9.6_0
 :debug:sysinfo macOS 12.4 (darwin/21.5.0) arch arm
 :debug:sysinfo MacPorts 2.7.2
 :debug:sysinfo Xcode 13.4.1
 :debug:sysinfo SDK 12
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
 :debug:main cmake-bootstrap has no conflicts
 :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 Thu Jul 21 10:28:39 EDT
 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 Thu Jul 21 10:28:40 EDT 2022
 :notice:install --->  Installing cmake-bootstrap @3.9.6_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"
 :error:install See
 /Users/user/.macports/var/macports/logs/_Users_user_.macports_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/65514>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list