Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Update CLT pkg id for 10.10 and last two for 10.9 #30296

Closed
wants to merge 1 commit into from

Conversation

dakcarto
Copy link
Contributor

Adds the CLT pkg id for 10.10, and also for 10.9's mavericks_june_2014 (released June 2nd) and later.

This fixes issues where MacOS::CLT.installed? was failing to find that the CLT were installed. This would be where users had uninstalled a previous CLT and updated to latest (what I did), or where the CLT were a first-time install.

Appears to fix #29954 and #22816. I ran into the python formula hashlib issue using superenv, but it worked with stdenv, which led me to realize that MacOS::CLT.installed? was not resolving for latest CLT package installs on 10.9. Not sure what other current issues it may fix.

@@ -147,6 +147,8 @@ module CLT
STANDALONE_PKG_ID = "com.apple.pkg.DeveloperToolsCLILeo"
FROM_XCODE_PKG_ID = "com.apple.pkg.DeveloperToolsCLI"
MAVERICKS_PKG_ID = "com.apple.pkg.CLTools_Executables"
# also com.apple.pkg.CLTools_Base for >= mavericks_june_2014
YOSEMITE_PKG_ID = "com.apple.pkg.CLTools_Base"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we just change the names for both of these PKG_IDs above if they don't just apply to e.g. Mavericks. Will have a look/think. Great find here though, thanks!

@MikeMcQuaid
Copy link
Member

Pulled a slightly different version, thanks!

@MikeMcQuaid
Copy link
Member

Reopening because I screwed up my version. 😢

@dakcarto
Copy link
Contributor Author

@MikeMcQuaid Thanks! Just found out it had been affecting some formulae in my tap as well.

@dakcarto dakcarto deleted the clt_pkg-id branch June 20, 2014 17:13
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

python on 10.10 DP w/ CLT: "C compiler cannot create executables"
2 participants