[MacPorts] #36276: ghc-bootstrap requires root privileges?

MacPorts noreply at macports.org
Fri Sep 21 11:39:30 PDT 2012


#36276: ghc-bootstrap requires root privileges?
---------------------+--------------------------------
 Reporter:  mtb19@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.1.2
 Keywords:           |       Port:
---------------------+--------------------------------
 I have a local, single-user installation of MacPorts (in
 "${HOME}/ports/..."). I recently tried to perform a "port -v upgrade
 outdated" and found that the build required root privileges. Here is the
 log:



 {{{
 version:1
 :debug:main ghc-bootstrap has no conflicts
 :debug:main Executing org.macports.main (ghc-bootstrap)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.archivefetch (ghc-bootstrap)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (ghc-bootstrap)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (ghc-bootstrap)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.extract (ghc-bootstrap)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.patch (ghc-bootstrap)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.configure (ghc-bootstrap)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.build (ghc-bootstrap)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.destroot (ghc-bootstrap)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:install install phase started at Fri Sep 21 11:30:39 PDT 2012
 :notice:install --->  Installing ghc-bootstrap @7.0.4_0
 :error:install org.macports.install for port ghc-bootstrap returned:
 MacPorts requires root privileges for this action
 :debug:install Error code: NONE
 :debug:install Backtrace: MacPorts requires root privileges for this
 action
     while executing
 "elevateToRoot "install""
     (procedure "portinstall::install_start" line 11)
     invoked from within
 "[ditem_key $ditem prerun] $targetname"
 :info:install Warning: targets not executed for ghc-bootstrap:
 org.macports.activate org.macports.install
 :notice:install Please see the log file for port ghc-bootstrap for
 details:
 /.../ports/var/macports/logs/_..._ports_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_ghc-bootstrap/ghc-bootstrap/main.log
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36276>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list