distcc failure when using distributed building via xcodebuild
| Originator: | reedmangino | ||
| Number: | rdar://9681160 | Date Originated: | 6/27/2011 |
| Status: | open | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.0.2 |
| Classification: | Serious bug | Reproducible: | Always |
Summary:
Attempting to use distributed builds with Xcode 4 fails. Machines have both Xcode 3.2.6 and Xcode 4.0.2/Build 4A2002a (installed in that order). All machines are running OS X 10.6.7.
Steps to Reproduce:
1) Setup multiple machines to enable distributed builds (see the attached 'distributed build settings.png')
2) Unzip test.zip (attached), and use Terminal to cd to that directory.
3) run: 'defaults write com.apple.dt.Xcode XCDistributedBuildsVerboseLogging 1'
4) run xcodebuild
Expected Results:
main.m will be compiled in a distributed fashion by distcc
Actual Results:
rmangino-17mbp:test rmangino$ xcodebuild
distcc[3108] (dcc_parse_multiplier) ERROR: bad multiplier "/0,lzo,cpp" in host specification
distcc[3108] (dcc_show_hosts) CRITICAL! Failed to get host list
/Xcode4/usr/bin/pump: error: pump mode requested, but distcc hosts list does not contain any hosts with ',cpp' option
Extra xcode logging information:
6/27/11 12:07:54 PM xcodebuild[3100] [?T] Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-269/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCCommandLineToolSpecification.m:821
Details: Unable to get message category info for tool '/Xcode4/usr/bin/distcc'.
Reason: distcc[3158] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory
distcc[3158] (dcc_lock_one) ERROR: failed to lock
distcc[3158] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory
i686-apple-darwin10-llvm-gcc-4.2: no input files
distcc[3158] ERROR: compile (null) on localhost failed
distcc[3158] (dcc_get_top_dir) Warning: HOME is not set; can't find distcc directory
Object: <XCCompilerSpecificationClang: 0x200442da0>
Method: -messageCategoryInfoForExecutablePath:
Thread: <NSThread: 0x20072e1e0>{name = (null), num = 6}
Regression:
Notes:
Please see http://openradar.appspot.com/9228883 for another report of this issue.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!