Opened 12 years ago

Last modified 11 years ago

#35670 new defect

Port install with Xcode 4.4 doesn't work — at Version 2

Reported by: dpawlows@… Owned by: mojca.miklavec.lists@…
Priority: Normal Milestone:
Component: base Version: 2.1.2
Keywords: Cc: ryandesign@…
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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?

Change History (2)

comment:1 Changed 12 years ago by dpawlows@…

Cc: dpawlows@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; dpawlows@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to mojca.miklavec.lists@…
Port: gnuplot added

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 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.

Note: See TracTickets for help on using tickets.