Opened 12 years ago

Closed 12 years ago

#35445 closed defect (invalid)

macports 2.1.2 fails on MacOS 10.8, usually because xcodebuild

Reported by: garnould@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.2
Keywords: mountainlion Cc:
Port:

Description

Hi there,

On a clean 10.8 install, XCode 4.4, commandline tools installs, "xcodebuild -licence" and also "xcode-select -switch /correct/path/to/Developper done, I am battling with macports to do its job. Usually, "xcodebuild" commands are stalled so that I have to relaunch those commands manually under a "macports" shell (sudo -u macports /bin/bash). When doing so, the same commands work perfectly. I met this kind of trouble lots of time while trying to install apple-gcc42 for example.

Change History (1)

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

Keywords: mountainlion added; xcodebuild removed
Resolution: invalid
Status: newclosed

Running xcodebuild in a shell manually isn't the same as installing with MacPorts, because most environment variables MacPorts sets aren't present when you run it manually.

If you have any concrete example where this happens, please open a bug report for the failing port, assign it to the maintainer (if any) and attach the main.log. There's not much we can do without this.

Note: See TracTickets for help on using tickets.