Oddity using Xcode 4.4 on OS 10.7.

Jeremy Huddleston Sequoia jeremyhu at macports.org
Thu Jul 26 09:31:23 PDT 2012


Hi William,

Can you please file a bug report at http://bugreport.apple.com including:

/var/log/system.log
/var/log/install.log
The output of otool -l /usr/bin/clang | grep uuid
The output of pkgutil --lsbom com.apple.pkg.DeveloperToolsCLI

Please let me know the radar number, so I can take a look at those logs and keep an eye on the bug.

Does installing the package from connect.apple.com fix it? (do this *after* getting the above info)

I'd be interested in hearing "me too"s or "works for me"s from others on 10.7 installing through XCode (as opposed to ML users or those going to connect.apple.com) to find out if this is a 1-off issue or something others are seeing.

Thanks,
Jeremy

On Jul 26, 2012, at 08:13, William Gallafent <william at gallaf.net> wrote:

> Hi All,
> 
> This is slightly OT, for which apologies, but might have an impact on
> a MacPorts installation, and I suspect people here might know how to
> fix it.
> 
> I'm running up-to-date Mac OS 10.7, and have just installed Xcode 4.4
> using the App Store. Next step is to install the Command Line Tools.
> 
> When I click on "Install" for the Command Line Tools in the
> Preferences/Downloads pane, a progress bar appears, and after a while
> changes to "Installed". A quick look in /var/log/install.log indicates
> that the installation succeeded. Last few lines follow:
> 
>> Jul 26 16:04:29 Humber installd[2842]: PackageKit: xpchelper
> --rebuild-cache --overlay
> /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At
> Startup/PKInstallSandbox-tmp/Root
> Jul 26 16:04:29 Humber installd[2842]: PackageKit: Executing script
> "preinstall" in /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup
> At Startup/PKInstallSandbox-tmp/Scripts/com.apple.pkg.DeveloperToolsCLI.0qBcl9
> Jul 26 16:04:30 Humber installd[2842]: PackageKit: Shoving
> /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At
> Startup/PKInstallSandbox-tmp/Root (3 items) to /
> Jul 26 16:05:23 Humber installd[2842]: PackageKit: Executing script
> "postinstall" in
> /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At
> Startup/PKInstallSandbox-tmp/Scripts/com.apple.pkg.DeveloperToolsCLI.0qBcl9
> Jul 26 16:05:23 Humber _securityagent[2875]: Running Install Scripts . . .
> Jul 26 16:05:23 Humber _securityagent[2877]: Begin script: postflight
> Jul 26 16:05:34 Humber _securityagent[2883]: End script: postflight
> Jul 26 16:05:34 Humber _securityagent[2884]: 1 Install Scripts run.
> Jul 26 16:05:34 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.BluetoothSDKLeo to /private/var/db/receipts
> Jul 26 16:05:34 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.clang to /private/var/db/receipts
> Jul 26 16:05:34 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.CoreAudioSDKLeo to /private/var/db/receipts
> Jul 26 16:05:34 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.DeveloperToolsCLI to /private/var/db/receipts
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.DevSDKLeo to /private/var/db/receipts
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.FireWireSDKLeo to /private/var/db/receipts
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.JavaSDKLeo to /private/var/db/receipts
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.llvm-gcc4.2 to /private/var/db/receipts
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.OpenGLSDKLeo to /private/var/db/receipts
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.QuickTimeSDKLeo to /private/var/db/receipts
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.WebKitSDKLeo to /private/var/db/receipts
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.X11DocumentationLeo to /private/var/db/receipts
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Writing receipt for
> com.apple.pkg.X11SDKLeo to /private/var/db/receipts
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Registered bundle
> file://localhost/usr/share/git-gui/lib/Git%20Gui.app/
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: Registered bundle
> file://localhost/System/Library/CoreServices/ManagedClient.app/
> Jul 26 16:05:36 Humber installd[2842]: PackageKit: ----- End install -----
> 
> However, my /usr/bin/clang is still the old version, and does not
> match the one below /Applications/Xcode.app:
> 
> Humber:RailEasy williamg$ /usr/bin/clang --version
> Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
> Target: x86_64-apple-darwin11.4.0
> Thread model: posix
> Humber:RailEasy williamg$
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> --version
> Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
> Target: x86_64-apple-darwin11.4.0
> Thread model: posix
> 
> Is this expected behaviour? It seems very odd to me. The other thing
> that's odd is that if I quit and restart Xcode, the Command Line Tools
> have an "Install" button again, instead of saying "Installed". So
> clearly Xcode doesn't think the installation has worked either.
> 
> Any help welcome!
> 
> -- 
> Bill Gallafent.
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users



More information about the macports-users mailing list