This repository has been archived by the owner. It is now read-only.

Our-Boxen fails to install #421

Closed
TheEricMiller opened this Issue Oct 14, 2013 · 10 comments

Comments

Projects
None yet
9 participants
@TheEricMiller

The base/standard/vanilla 'our-boxen' install fails. Errors point to brew & nginx dependencies. The machine (Retina, 15-inch, Early 2013) is running latest OSX 10.8.5 fresh install on a fully encrypted and formatted disk.

Some things I have noticed:

  • I can not run $ brew list in same terminal window that I tried installing boxen.
  • I can open a new tab and the 'brew' command works.
  • If I manually install ALL nginx/dependencies doing $ brew install X then the boxen run shows up-to-date.

Gist of output bellow.
-E

https://gist.github.com/TheEricMiller/6979405

https://github.com/TheEricMiller/treater-boxen
https://github.com/TheEricMiller/treater-boxen-web
https://treater-boxen-web.herokuapp.com

Processor 2.7 GHz Intel Core i7
Software OS X 10.8.5 (12F45)


Error: Could not update: Execution of 'brew boxen-install boxen/brews/nginx' returned 130: ==> Installing dependencies for nginx: pcre
==> Installing nginx dependency: pcre

Error: /Stage[main]/Nginx/Package[boxen/brews/nginx]/ensure: change from absent to 1.2.7-boxen1 failed: Could not update: Execution of 'brew boxen-install boxen/brews/nginx' returned 130: ==> Installing dependencies for nginx: pcre

Error: Execution of 'brew boxen-install ack' returned 130: 

Error: /Stage[main]//Node[default]/Package[ack]/ensure: change from absent to present failed: Execution of 'brew boxen-install ack' returned 130: 
@TheEricMiller

This comment has been minimized.

Show comment
Hide comment
@TheEricMiller

TheEricMiller Oct 24, 2013

Any thoughts or updates?
Commenting out these lines allowed be to run it successfully on a clean install of 10.9 Macricks:

Puppetfile ~>
# github "nginx",      "1.4.2"
# github "nodejs",     "3.2.9"

manifests/site.pp ~>
# include nginx
...
# if $::root_encrypted == 'no' {
#   fail('Please enable full disk encryption and try again')
# }
...
# include nodejs::v0_4
# include nodejs::v0_6
# include nodejs::v0_8
# include nodejs::v0_10
...
# include ruby::1_8_7
# include ruby::1_9_2
# include ruby::1_9_3

Any thoughts or updates?
Commenting out these lines allowed be to run it successfully on a clean install of 10.9 Macricks:

Puppetfile ~>
# github "nginx",      "1.4.2"
# github "nodejs",     "3.2.9"

manifests/site.pp ~>
# include nginx
...
# if $::root_encrypted == 'no' {
#   fail('Please enable full disk encryption and try again')
# }
...
# include nodejs::v0_4
# include nodejs::v0_6
# include nodejs::v0_8
# include nodejs::v0_10
...
# include ruby::1_8_7
# include ruby::1_9_2
# include ruby::1_9_3
@tommy-donorschoose

This comment has been minimized.

Show comment
Hide comment
@tommy-donorschoose

tommy-donorschoose Jan 31, 2014

eric any update on this? I was running boxen as a proof of concept with the nodejs / ruby / and ngnix includes commented out of site.pp ------ and when I added back the ruby in stalls, I'm seeing this same error.

eric any update on this? I was running boxen as a proof of concept with the nodejs / ruby / and ngnix includes commented out of site.pp ------ and when I added back the ruby in stalls, I'm seeing this same error.

@dgoodlad

This comment has been minimized.

Show comment
Hide comment
@dgoodlad

dgoodlad Feb 28, 2014

Member

@TheEricMiller Those homebrew errors are pretty odd, and without the output from homebrew itself (e.g. the install log) there's not much we can do about it. If you're still interested in pursuing this, could you bring your boxen repo up-to-date with the current our-boxen example, then gist the install logs from the failed brew runs?

Until then, I'm going to close this issue off, since it's been languishing for far too long. Please feel free to re-open if you do decide to investigate 😄

Member

dgoodlad commented Feb 28, 2014

@TheEricMiller Those homebrew errors are pretty odd, and without the output from homebrew itself (e.g. the install log) there's not much we can do about it. If you're still interested in pursuing this, could you bring your boxen repo up-to-date with the current our-boxen example, then gist the install logs from the failed brew runs?

Until then, I'm going to close this issue off, since it's been languishing for far too long. Please feel free to re-open if you do decide to investigate 😄

@dgoodlad dgoodlad closed this Feb 28, 2014

@agenteo

This comment has been minimized.

Show comment
Hide comment
@agenteo

agenteo Mar 20, 2014

I am having the same issue today. Here's the output of boxen --debug

https://gist.github.com/agenteo/9663729

OSX 10.9.2

I can provide more info if you need.

agenteo commented Mar 20, 2014

I am having the same issue today. Here's the output of boxen --debug

https://gist.github.com/agenteo/9663729

OSX 10.9.2

I can provide more info if you need.

@ecowden

This comment has been minimized.

Show comment
Hide comment
@ecowden

ecowden Mar 20, 2014

We're getting this issue today as well:

Debug: Executing 'brew boxen-install boxen/brews/nginx'
Error: Could not update: Execution of 'brew boxen-install boxen/brews/nginx' returned 1: ==> Installing nginx dependency: pcre
Installing pcre from S3...
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Error: /opt/boxen/homebrew/Cellar/pcre/8.34 is not a directory
Warning: Bottle installation failed: building from source.
Warning: Nothing was installed to /opt/boxen/homebrew/Cellar/pcre/8.34
Error: /opt/boxen/homebrew/Cellar/pcre/8.34 is not a directory

Error: /Stage[main]/Nginx/Package[boxen/brews/nginx]/ensure: change from absent to 1.4.4-boxen1 failed: Could not update: Execution of 'brew boxen-install boxen/brews/nginx' returned 1: ==> Installing nginx dependency: pcre
Installing pcre from S3...
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Error: /opt/boxen/homebrew/Cellar/pcre/8.34 is not a directory
Warning: Bottle installation failed: building from source.
Warning: Nothing was installed to /opt/boxen/homebrew/Cellar/pcre/8.34
Error: /opt/boxen/homebrew/Cellar/pcre/8.34 is not a directory

ecowden commented Mar 20, 2014

We're getting this issue today as well:

Debug: Executing 'brew boxen-install boxen/brews/nginx'
Error: Could not update: Execution of 'brew boxen-install boxen/brews/nginx' returned 1: ==> Installing nginx dependency: pcre
Installing pcre from S3...
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Error: /opt/boxen/homebrew/Cellar/pcre/8.34 is not a directory
Warning: Bottle installation failed: building from source.
Warning: Nothing was installed to /opt/boxen/homebrew/Cellar/pcre/8.34
Error: /opt/boxen/homebrew/Cellar/pcre/8.34 is not a directory

Error: /Stage[main]/Nginx/Package[boxen/brews/nginx]/ensure: change from absent to 1.4.4-boxen1 failed: Could not update: Execution of 'brew boxen-install boxen/brews/nginx' returned 1: ==> Installing nginx dependency: pcre
Installing pcre from S3...
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Error: /opt/boxen/homebrew/Cellar/pcre/8.34 is not a directory
Warning: Bottle installation failed: building from source.
Warning: Nothing was installed to /opt/boxen/homebrew/Cellar/pcre/8.34
Error: /opt/boxen/homebrew/Cellar/pcre/8.34 is not a directory
@aghassipour

This comment has been minimized.

Show comment
Hide comment
@aghassipour

aghassipour Mar 24, 2014

Seeing the same error here (tar: Unrecognized archive format)

Seeing the same error here (tar: Unrecognized archive format)

@digitalsadhu

This comment has been minimized.

Show comment
Hide comment
@digitalsadhu

digitalsadhu Mar 25, 2014

Same issue for me on a fresh boxen/our-boxen install on a fresh mavericks install with Xcode 5.1

Same issue for me on a fresh boxen/our-boxen install on a fresh mavericks install with Xcode 5.1

@tfnico

This comment has been minimized.

Show comment
Hide comment
@tfnico

tfnico Apr 1, 2014

I got past this by doing

brew install pcre

and letting boxen run again.

tfnico commented Apr 1, 2014

I got past this by doing

brew install pcre

and letting boxen run again.

@ppp-master

This comment has been minimized.

Show comment
Hide comment
@ppp-master

ppp-master Apr 5, 2014

Same issue as above, on a brand new Macbook pro with Mavericks and Xcode 5.1

@tfnico 's solution fixed it for me! Thanks!

Same issue as above, on a brand new Macbook pro with Mavericks and Xcode 5.1

@tfnico 's solution fixed it for me! Thanks!

@dgoodlad

This comment has been minimized.

Show comment
Hide comment
@dgoodlad

dgoodlad Apr 16, 2014

Member

This is a very different issue from the originally reported issue (yes, it manifests as pcre not installing, but it's unrelated). The recent bumps to the puppet-homebrew module (to >= 1.6.2) should have fixed it. If you have further problems with this, please go ahead and open a new issue

Member

dgoodlad commented Apr 16, 2014

This is a very different issue from the originally reported issue (yes, it manifests as pcre not installing, but it's unrelated). The recent bumps to the puppet-homebrew module (to >= 1.6.2) should have fixed it. If you have further problems with this, please go ahead and open a new issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.