Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only CLT 10.1 on 10.14 Mojave but flite install message Xcode out of date with no Xcode needed #6

Closed
MarioG-X opened this issue Nov 26, 2018 · 1 comment

Comments

@MarioG-X
Copy link

MarioG-X commented Nov 26, 2018

Installed Mojave 10.14.1 on a clean/new APFS volume, then immediately installed homebrew which installed Apple Command Line Tools 10.1, so there was never a previous Xcode or anything else installed on that machine. The command and wrong result is:

brew install FreeSWITCH/homebrew-freeswitch/flite
Error: Your Xcode (9.4.1) is too outdated. <- Xcode was never installed, just CLT 10.1 from HB
Please update to Xcode 10.1 (or delete it).
Xcode can be updated from the App Store.

Note that the other packages were fine, and.... I built flite from the download repo manually with ./configure. make, make install and it ran fine so there is no need for Xcode just the CLT. But in this case it thinks an old Xcode is installed when none was ever installed.

Original command was:
brew install autoconf automake curl FreeSWITCH/homebrew-freeswitch/flite jpeg ldns libsndfile libtiff libtool lua openssl opus pcre pkg-config speex speexdsp sqlite
And all other packages were fine.

I looked at the downloaded file from http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz and did a grep on "Xcode", "xcode" and other text from the error message and could not find anything. I have no idea where the error is coming from.

You can see only CLT 10.1 is installed:
Mac-mini:~ mario$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 10.1.0.0.1.1539992718
volume: /
location: /
install-time: 1543111254
groups: com.apple.FindSystemFiles.pkg-group

More here:
https://freeswitch.org/jira/browse/FS-11537

@MarioG-X MarioG-X changed the title HB installs CLT 10.1 on clean 10.14 Mojave but flite install message Xcode out of date with no Xcode installed Only CLT 10.1 on 10.14 Mojave but flite install message Xcode out of date with no Xcode needed Nov 27, 2018
@MarioG-X
Copy link
Author

Problem solved. It turns out the booted volume is 10.14.1, but a 10.13.6 partition was mounted that contained Xcode 9. There is no access to Xcode 9 from 10.14 but HB seems to search all mounted partitions. Once 10.13 was unmounted brew install flite worked! I have done this many years (since 2010) and never had this problem. What is different besides 10.14 is that the whole disk it now APFS. Previously it was HPFS and when I had old systems on multiple partitions there was never a problem like this. I suggest that HB or wherever these error messages come from add the location of the found xcode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant