Issues doing a port upgrade with Xcode 4.3

Eric Cronin ecronin at macports.org
Fri Feb 17 06:28:48 PST 2012


On 17.02.2012 09:04, Stefan Scheidt wrote:
> Hi,
>
> I'm using OS X 10.7.3 and MacPorts 2.0.3.
> I just upgraded to Xcode 4.3 and now have problems doing a "sudo port
> upgrade outdated".
>
> Here's what I did:
>
> (1) Install Xcode 4.3 via App Store
> (2) Move /Developer to trash by Xcode 4.3 after first start of Xcode
> 4.3
> (3) Download Command Line Tools via Xcode 4.3 preferences
> (4) tried a "sudo port upgrade outdated", causing a "Warning:
> xcodebuild exists but failed to execute" and a "Error: Target
> org.macports.configure returned: configure failure: shell command
> failed" while port tried to upgrade serf1
> (5) "sudo /usr/bin/xcode-select -switch
> /Applications/Xcode.app/Contents/Developer"
>
> Now I get:
>
> ---> Computing dependencies for serf1
> ---> Configuring serf1

run

port -n upgrade --force apr

and then try updating serf1 again.  serf1 is using apr to get the path
to cc, and apr has an outdated path cached that no longer exists.


More information about the macports-users mailing list