pivotal-sprout / sprout-wrap

Pivotal Labs uses this project with sprout, soloist and librarian-chef to build developer workstations
The Unlicense
157 stars 250 forks source link

Problems with fresh run on Mavericks #30

Closed hannesjohansson closed 10 years ago

hannesjohansson commented 10 years ago

Hi,

Not sure if this is a bug, but when running sprout wrap according to the instructions and on a fresh version of OSX Maverics you get the following message:

[2014-01-08T17:36:01+01:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 11.6.0
[2014-01-08T17:36:02+01:00] INFO: *** Chef 11.6.0 ***
Unable to find any JVMs matching version "(null)".
No Java runtime present, try --request to install.

The installation seems to run on however, so I am curious what the JVM is needed for?

I also got a command timeout when installing QT:

Generated at 2014-01-08 18:02:08 +0100
Mixlib::ShellOut::CommandTimeout: package[qt] (sprout-osx-apps::qt line 3) had an error: Mixlib::ShellOut::CommandTimeout: command timed out:
---- Begin output of brew install --HEAD qt ----
STDOUT: ==> Cloning git://gitorious.org/qt/qt.git
==> Checking out branch 4.8
==> ./configure -prefix /usr/local/Cellar/qt/HEAD -system-zlib -confirm-license -opensource -nomake demos -nomake examples -cocoa -fast -release -no-3dnow -no-ssse3 -L/opt/X11/lib -I/opt/X11/include -platform unsupported/macx-clang-libc++ -no-qt3support -nomake docs -arch x86_64
==> make
STDERR: Cloning into '/Library/Caches/Homebrew/qt--git'...
hiremaga commented 10 years ago

@hannesjohansson is this still an issue?

gal-at-aljazeera commented 10 years ago

I got this about a month ago on a fresh Mavericks, but on the last 4 Mavericks installs it did not happen any more.

When it did happen, I got past it by doing

brew install qt

and then re-running sproutwrap

jimmida commented 10 years ago

Is there a way to set the Timeout to be longer if I'm setting up a workstation where internet connection is slow?

lifeiscontent commented 10 years ago

@hiremaga I'm getting this issue now:

https://gist.github.com/lifeiscontent/c8dbbd25a4961575be95

hiremaga commented 10 years ago

This bug is a little too open ended to ping down so I'm going to close it. Let's open more specific issues (e.g. #36) in its place if required.