Closed Bug 764964 Opened 12 years ago Closed 12 years ago

Thunderbird.mdimporter fails to build on 10.8 because of xcrun error

Categories

(Thunderbird :: Build Config, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Nomis101, Unassigned)

References

Details

I currently don't no why, but on 10.8 thunderbird.mdimporter fails to build with:

/usr/bin/xcodebuild -project TBSpotlight.xcodeproj -target thunderbird -configuration Release GCC_VERSION="" SYMROOT=build ARCHS="x86_64" SDKROOT="/Developer/SDKs/MacOSX10.8.sdk" MACOSX_DEPLOYMENT_TARGET="10.6"
xcrun: Error: failed to exec real xcrun. (No such file or directory)
mkdir -p ../../../../mozilla/dist/package
/Developer/comm-central/obj-x86_64-apple-darwin12.0.0/mozilla/config/nsinstall -L /Developer/comm-central/obj-x86_64-apple-darwin12.0.0/mail/components/search/mdimporter "build/Release/thunderbird.mdimporter" ../../../../mozilla/dist/package
/Developer/comm-central/obj-x86_64-apple-darwin12.0.0/mozilla/config/nsinstall: cannot access build/Release/thunderbird.mdimporter: No such file or directory
make[7]: *** [libs] Error 1
make[6]: *** [libs] Error 2
make[5]: *** [libs] Error 2
make[4]: *** [libs_tier_platform] Error 2
make[3]: *** [tier_platform] Error 2
make[2]: *** [default] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2


This is with 10.8 DP4, Xcode 4.5 DP1 and Command Line Tools for Xcode 4.5 (ML version).
I fixed this. This was not a TB problem, it was a problem with the new Xcode version. I've fixed this for me with
$ sudo xcode-select -switch /Developer/Xcode44-DP6.app/Contents/Developer
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.