Opened 2 years ago

Closed 2 years ago

#65514 closed defect (duplicate)

cmake-bootstrap fails to install with non-root installation

Reported by: 0xdd-co Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: arm64 Cc:
Port: cmake-bootstrap

Description

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.

Change History (2)

comment:1 Changed 2 years ago by kencu (Ken)

It is unfortunate that anything requires cmake-bootstrap on a current arm system.

What is asking for it?

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Component: portsbase
Port: cmake-bootstrap added
Resolution: duplicate
Status: newclosed

Duplicate of #65313.

Note: See TracTickets for help on using tickets.