-
Notifications
You must be signed in to change notification settings - Fork 18k
misc/dist: OS X install fails without explanation on Xcode license issue #6132
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
Labels
ExpertNeeded
FrozenDueToAge
Suggested
Issues that may be good for new contributors looking for work to do.
Milestone
Comments
Labels changed: added priority-soon, go1.2, os-macosx, removed priority-triage, go1.2maybe. Owner changed to @adg. Status changed to Accepted. |
Comment 3 by mksql@yahoo.com: I assume the repro would be to somehow "unlicense" Xcode. But its odd that I had been using it before installing 1.1.2, and had been using a .pkg installed 1.1.1 with no problem. IMO the fix is for the installer to emit information as to _why_ the install failed, instead of requiring the use to look in the OS X console for error messages. |
Issue #6195 has been merged into this issue. |
Comment 7 by jim@superluckycasino.com: I can confirm that the installation still fails after running: xcodebuild -license But subsequently succeeds if you run: sudo xcodebuild -license |
Duplicate of issue #5874? Revision dcc14ba7a1e5 seems to address failures of `xcodebuild -version`. Are you still able to reproduce if you apply revision dcc14ba7a1e5 and recreate the package? |
Duplicate of issue #5874? Revision dcc14ba7a1e5 seems to address failures of `xcodebuild -version`. Are you still able to reproduce if you apply revision dcc14ba7a1e5 and recreate the package? |
Issue #6256 has been merged into this issue. |
Proposal: remove installation of Xcode files from the binary distribution. Reasoning: If most people are using Xcode 4+ nowadays, there's no compelling reason to copy the files in mist/xcode/4 since it makes no difference to the environment. (The go4xcode.sh script must be run.) Will Xcode 5 bring more breakage? It would be nice if the go1.2 binary distribution just works, even when Xcode 5 has been released. Basically: https://golang.org/cl/12858049/ |
Need to look at the postinstall for go1.1.2: https://code.google.com/p/go/source/browse/misc/dist/darwin/scripts/postinstall?name=go1.1.2 Exit status of `cp $GOROOT/misc/xcode/* $XCODE_MISC_DIR` will be 1. This issue was addressed by revision dcc14ba7a1e5. Hence, it is fixed in tip and ready for go1.2. I'd consider removing the Xcode files altogether though, as per comment #14. Need to apply revision dcc14ba7a1e5 to go1.1.2 and create a new package to resolve issue for go1.1.2. |
Remove Xcode file installation step because: 1. It makes little to no difference for Xcode 4 users to have the files from misc/dist/xcode/4/ installed in a Xcode directory. go4xcode.sh must be run in order to get syntax coloring to work. The user is probably more likely to find $GOROOT/misc/dist/xcode/4/go4xcode.sh rather than the same file placed in an Xcode library. It makes sense to copy the files for Xcode 3, where it's just a matter of copying the files into the right location to make syntax coloring available in the IDE. However, most people use Xcode 4 instead of 3 now? (soon 5?) 2. The user gets no choice of whether to install these files or not. It's like saying "We've detected that vim is available on your system. Lets automagically setup syntax coloring for you! [copying files ...]" |
This issue was closed by revision 8869cc1. Status changed to Fixed. |
Issue #6316 has been merged into this issue. |
For newbies (like me). Execute .pkg installer for Go v1.1.2 (on a machine with v.1.1.1 installed and working) fails on OSX 10.8.5 To resolve on OSX 10.8.5 the latest XCode installation is not complete. Run XCode and install 5 remaining tools. Now the .pkg installer for Go v1.1.2 will successfully complete. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
ExpertNeeded
FrozenDueToAge
Suggested
Issues that may be good for new contributors looking for work to do.
by mksql@yahoo.com:
The text was updated successfully, but these errors were encountered: