[MacPorts] #33845: I don't exec sudo port -v selfupdate in lion
MacPorts
noreply at macports.org
Sat Mar 31 16:58:28 PDT 2012
#33845: I don't exec sudo port -v selfupdate in lion
-----------------------------+----------------------------------------------
Reporter: amatasc@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Resolution: invalid | Keywords:
Port: |
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):
* priority: High => Normal
* status: new => closed
* resolution: => invalid
Old description:
> amatasc:~ amatasc$ sudo port -v selupdate
> Password:
> Warning: xcodebuild exists but failed to execute
> Unrecognized action "selupdate"
> amatasc:~ amatasc$ echo $PATH
> /opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
> amatasc:~ amatasc$ sudo port install gcc
> Warning: xcodebuild exists but failed to execute
> Error: Port gcc not found
> To report a bug, see <http://guide.macports.org/#project.tickets>
> amatasc:~ amatasc$ port -nR upgrade --force foo
> Error: Insufficient privileges to write to MacPorts install prefix.
> amatasc:~ amatasc$ sudo port -nR upgrade --force foo
> Warning: xcodebuild exists but failed to execute
> Error: foo is not installed
> To report a bug, see <http://guide.macports.org/#project.tickets>
> amatasc:~ amatasc$
New description:
{{{
amatasc:~ amatasc$ sudo port -v selupdate
Password:
Warning: xcodebuild exists but failed to execute
Unrecognized action "selupdate"
amatasc:~ amatasc$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
amatasc:~ amatasc$ sudo port install gcc
Warning: xcodebuild exists but failed to execute
Error: Port gcc not found
To report a bug, see <http://guide.macports.org/#project.tickets>
amatasc:~ amatasc$ port -nR upgrade --force foo
Error: Insufficient privileges to write to MacPorts install prefix.
amatasc:~ amatasc$ sudo port -nR upgrade --force foo
Warning: xcodebuild exists but failed to execute
Error: foo is not installed
To report a bug, see <http://guide.macports.org/#project.tickets>
amatasc:~ amatasc$
}}}
--
Comment:
1. You misspelled "selfupdate"
2. There is no port called "gcc"
3. There is no port called "foo"
And most importantly, there is something wrong with your xcodebuild
command, which could be because you did not install Xcode, or did not
install it correctly.
None of this suggests any problem in MacPorts, but rather a problem in the
configuration of your system or your understanding of how to use MacPorts.
Please write to the macports-users mailing list if you require assistance
sorting this out.
--
Ticket URL: <https://trac.macports.org/ticket/33845#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list