[MacPorts] #35670: Port install with Xcode 4.4 doesn't work

MacPorts noreply at macports.org
Tue Aug 14 11:35:40 PDT 2012


#35670: Port install with Xcode 4.4 doesn't work
--------------------------------+-------------------------------------------
 Reporter:  dpawlows@…          |       Owner:  mojca.miklavec.lists@…        
     Type:  defect              |      Status:  new                           
 Priority:  Normal              |   Milestone:                                
Component:  ports               |     Version:  2.1.2                         
 Keywords:                      |        Port:  gnuplot                       
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => mojca.miklavec.lists@…
 * cc: dpawlows@… (removed)
 * cc: ryandesign@… (added)
  * port:  => gnuplot


Old description:

> I know that people are still trying to figure out all the issues with
> Xcode 4.3, but I had no choices but to move on to 4.4 as my hard drive
> died yesterday and was replaced.  I can install macports, but um unable
> to install any ports due to what seems like a privileges issue.  I.e.:
>
> sudo port install gnuplot
> ...
> --->  Fetching archive for aquaterm
> Error: org.macports.archivefetch for port aquaterm returned: could not
> set effective gid to 0
> Error: Failed to install aquaterm
> ...
>
> Relevant lines from the log file:
>
> :msg:archivefetch --->  Fetching archive for aquaterm
> :debug:archivefetch Executing org.macports.archivefetch (aquaterm)
> :debug:archivefetch Can't run archivefetch on this port without elevated
> privileges. Escalating privileges back to root.
> :error:archivefetch org.macports.archivefetch for port aquaterm returned:
> could not set effective gid to 0
> :debug:archivefetch Error code: NONE
> :debug:archivefetch Backtrace: could not set effective gid to 0
>     while executing
>

> So despite running it as root, I'm not running it as root?

New description:

 I know that people are still trying to figure out all the issues with
 Xcode 4.3, but I had no choices but to move on to 4.4 as my hard drive
 died yesterday and was replaced.  I can install macports, but um unable to
 install any ports due to what seems like a privileges issue.  I.e.:

 {{{
 sudo port install gnuplot
 ...
 --->  Fetching archive for aquaterm
 Error: org.macports.archivefetch for port aquaterm returned: could not set
 effective gid to 0
 Error: Failed to install aquaterm
 ...
 }}}

 Relevant lines from the log file:

 {{{
 :msg:archivefetch --->  Fetching archive for aquaterm
 :debug:archivefetch Executing org.macports.archivefetch (aquaterm)
 :debug:archivefetch Can't run archivefetch on this port without elevated
 privileges. Escalating privileges back to root.
 :error:archivefetch org.macports.archivefetch for port aquaterm returned:
 could not set effective gid to 0
 :debug:archivefetch Error code: NONE
 :debug:archivefetch Backtrace: could not set effective gid to 0
     while executing
 }}}

 So despite running it as root, I'm not running it as root?

--

Comment:

 Please remember to use WikiFormatting, to fill in the Port field, and to
 Cc the maintainer of that port. Cc'ing yourself is not needed when you are
 the reporter.

 Yes, despite you running as root (or using "`sudo`"), most of MacPorts
 does not run as root; it drops privileges to an unprivileged user (the
 "macports" user).

 MacPorts works fine with the versions of Xcode listed on our
 [https://www.macports.org/install.php install page], which includes 4.3
 and 4.4.

 Please "sudo port clean gnuplot", then try again, then attach the main.log
 file if it fails again, so that we can see everything that happened.

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


More information about the macports-tickets mailing list