This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
Not able to install solr Error: marshal data too short #23708
Comments
Weird. I can't find anything that would be holding a reference to a StringIO. |
Do you have http_proxy set? |
I do have http_proxy.. I am able to install postgres, git etc.. other softwares except this.. |
Yeah, apache downloads are a special case in Homebrew, and certain usage of http_proxy can break it due to an apparent bug in Ruby's open-uri library, see #17811 |
Here's a patch that replaces open-uri with curl: https://github.com/jacknagel/homebrew/compare/apache |
Pushed a commit that should resolve this. |
yeah.. worked.. thanks!! |
yriveiro
pushed a commit
to yriveiro/homebrew
that referenced
this issue
Nov 26, 2013
Ruby's OpenURI library is somewhat broken under 1.8 and chokes on otherwise valid values of http(s)_proxy. Use curl to get the mirror list instead. Fixes Homebrew#23708.
ehershey
pushed a commit
to ehershey/homebrew
that referenced
this issue
Apr 4, 2014
Ruby's OpenURI library is somewhat broken under 1.8 and chokes on otherwise valid values of http(s)_proxy. Use curl to get the mirror list instead. Fixes Homebrew#23708.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am getting the following error...
➜ ~ brew install solr
==> Downloading http://www.apache.org/dyn/closer.cgi?path=lucene/solr/4.5.1/solr-4.5.1.tgz
/usr/local/Library/Homebrew/build.rb:49:in
dump': no marshal_dump is defined for class StringIO (TypeError) from /usr/local/Library/Homebrew/build.rb:49:in
main'from /usr/local/Library/Homebrew/build.rb:12
from /usr/local/Library/Formula/solr.rb:23
Error: marshal data too short
Please report this bug:
https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/formula_installer.rb:454:in
load' /usr/local/Library/Homebrew/formula_installer.rb:454:in
build'/usr/local/Library/Homebrew/utils.rb:221:in
ignore_interrupts' /usr/local/Library/Homebrew/formula_installer.rb:449:in
build'/usr/local/Library/Homebrew/formula_installer.rb:212:in
install' /usr/local/Library/Homebrew/cmd/install.rb:88:in
install_formula'/usr/local/Library/Homebrew/cmd/install.rb:31:in
install' /usr/local/Library/Homebrew/cmd/install.rb:29:in
each'/usr/local/Library/Homebrew/cmd/install.rb:29:in
install' /usr/local/Library/brew.rb:95:in
send'/usr/local/Library/brew.rb:95
The text was updated successfully, but these errors were encountered: