ukris / typhoonae

Automatically exported from code.google.com/p/typhoonae
0 stars 0 forks source link

Buildout takes a long time to download erlang #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Running buildout
2. Observe the amount of time it takes to download erlang

What is the expected output? What do you see instead?
The file that buildout tries to download takes much longer than what should 
be expected of 57MB (under 1 minute seems fair for a 20mbit connection), 
instead of the 40 minutes I just tested now.

What version of the product are you using? On what operating system?
Most recent pull as of the time of issue creation (rev 99bf0ce7da).
Tested on Ubuntu 9.10 running within VirtualBox, aswell as an Eee PC 900 
also running Ubuntu 9.10.

Please provide any additional information below.
The problem seems to be that the file is downloaded from the erlang servers 
at a very slow speed due to a problem on it's end (possibly slow 
connection, cheap hosting, etc). Perhaps include the file with Typhoon, or 
host it in the Google code project (assuming it is legal to do so) is a 
potential solution.

Original issue reported on code.google.com by Noah.Mci...@gmail.com on 30 Apr 2010 at 6:33

GoogleCodeExporter commented 9 years ago
Still evaluating if it'd be the best to abandon Erlang completely from the 
buildout and rather set it as a 
requirement like Python and Java.

Original comment by tobias.r...@gmail.com on 1 May 2010 at 7:19

GoogleCodeExporter commented 9 years ago
As discussed in this 
http://groups.google.com/group/typhoonae/browse_thread/thread/d456fa16dc3e5cd6 
thread, I've removed Erlang from our default buildout configuration (trunk).

On Linux use a package management system to install Erlang (e.g. for Debian 
install erlang-nox and erlang-
dev). In order to build Erlang on Mac OS X Snow Leopard from source set the 
following environment variables 
CFLAGS=-m64 LDFLAGS=-m64.

Original comment by tobias.r...@gmail.com on 9 May 2010 at 11:59

GoogleCodeExporter commented 9 years ago

Original comment by tobias.r...@gmail.com on 10 May 2010 at 12:00

GoogleCodeExporter commented 9 years ago
Erlang is no longer part of our buildout.cfg (release 0.1.5).

Original comment by tobias.r...@gmail.com on 9 Jul 2010 at 9:59

GoogleCodeExporter commented 9 years ago
i get this error on mac snow leopard when i run the 0.1.5 buildout:

erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin 
src/rabbit_exchange.erl
src/rabbit_exchange.erl:100: badly formed define: missing closing right 
parenthesis
src/rabbit_exchange.erl:169: undefined macro 'INFO_KEYS'
src/rabbit_exchange.erl:185: undefined macro 'INFO_KEYS'
src/rabbit_exchange.erl:37: function info/1 undefined
src/rabbit_exchange.erl:37: function info_keys/0 undefined
src/rabbit_exchange.erl:71: spec for undefined function 
rabbit_exchange:info_keys/0
src/rabbit_exchange.erl:72: spec for undefined function rabbit_exchange:info/1
src/rabbit_exchange.erl:189: function info/1 undefined
src/rabbit_exchange.erl:538: Warning: regexp:split/2: the regexp module is 
deprecated (will be removed in R15A); use the re module instead
make: *** [ebin/rabbit_exchange.beam] Error 1
While:
  Installing rabbitmq.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/Users/pepe/DEV/typhoonae-buildout-0.1.5/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/buildout.py", line 1660, in main
    getattr(buildout, command)(args)
  File "/Users/pepe/DEV/typhoonae-buildout-0.1.5/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/buildout.py", line 532, in install
    installed_files = self[part]._call(recipe.install)
  File "/Users/pepe/DEV/typhoonae-buildout-0.1.5/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/buildout.py", line 1204, in _call
    return f()
  File "/Users/pepe/DEV/typhoonae-buildout-0.1.5/eggs/rod.recipe.rabbitmq-1.1.1-py2.6.egg/rod/recipe/rabbitmq/__init__.py", line 220, in install
    return self.install_rabbitmq()
  File "/Users/pepe/DEV/typhoonae-buildout-0.1.5/eggs/rod.recipe.rabbitmq-1.1.1-py2.6.egg/rod/recipe/rabbitmq/__init__.py", line 207, in install_rabbitmq
    raise Exception("building RabbitMQ failed")
Exception: building RabbitMQ failed

i have erlang installed on my machine

Original comment by a.schmi...@gmail.com on 22 Jul 2010 at 7:41

GoogleCodeExporter commented 9 years ago
This has very likely to do with the Erlang version. It is recommended to use 
R13B04. Have you installed the new R15A?

See this thread 
http://groups.google.com/group/rabbitmq-discuss/browse_thread/thread/956dee51d2c
0b378 for further information.

Thanks for reporting this!

Original comment by tobias.r...@gmail.com on 22 Jul 2010 at 7:56

GoogleCodeExporter commented 9 years ago
no i have R13B04 active

Original comment by a.schmi...@gmail.com on 22 Jul 2010 at 9:12

GoogleCodeExporter commented 9 years ago
Unfortunately, I cannot reproduce this issue on two different boxes running 
Snow Leopard. Could you provide some more details about the exact version of 
Erlang and how you installed it?

Thanks in advance!

Original comment by tobias.r...@gmail.com on 23 Jul 2010 at 3:28

GoogleCodeExporter commented 9 years ago
hey im really sorry for the delayed answer.
right now i have R14A_0 R13B04_0+darwin_10 installed via port and i still stuck 
here:

Installing rabbitmq.
rod.recipe.rabbitmq: RabbitMQ distribution already downloaded.
rod.recipe.rabbitmq: RabbitMQ already installed.
erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin 
src/rabbit_exchange.erl
src/rabbit_exchange.erl:100: badly formed define: missing closing right 
parenthesis
src/rabbit_exchange.erl:169: undefined macro 'INFO_KEYS'
src/rabbit_exchange.erl:185: undefined macro 'INFO_KEYS'
src/rabbit_exchange.erl:37: function info/1 undefined
src/rabbit_exchange.erl:37: function info_keys/0 undefined
src/rabbit_exchange.erl:71: spec for undefined function 
rabbit_exchange:info_keys/0
src/rabbit_exchange.erl:72: spec for undefined function rabbit_exchange:info/1
src/rabbit_exchange.erl:189: function info/1 undefined
src/rabbit_exchange.erl:538: Warning: regexp:split/2: the regexp module is 
deprecated (will be removed in R15A); use the re module instead
make: *** [ebin/rabbit_exchange.beam] Error 1
While:
  Installing rabbitmq.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/Users/pepe/DEV/typhoonaetest/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/buildout.py", line 1660, in main
    getattr(buildout, command)(args)
  File "/Users/pepe/DEV/typhoonaetest/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/buildout.py", line 532, in install
    installed_files = self[part]._call(recipe.install)
  File "/Users/pepe/DEV/typhoonaetest/eggs/zc.buildout-1.4.3-py2.6.egg/zc/buildout/buildout.py", line 1204, in _call
    return f()
  File "/Users/pepe/DEV/typhoonaetest/eggs/rod.recipe.rabbitmq-1.1.4-py2.6.egg/rod/recipe/rabbitmq/__init__.py", line 223, in install
    return self.install_rabbitmq()
  File "/Users/pepe/DEV/typhoonaetest/eggs/rod.recipe.rabbitmq-1.1.4-py2.6.egg/rod/recipe/rabbitmq/__init__.py", line 210, in install_rabbitmq
    raise Exception("building RabbitMQ failed")
Exception: building RabbitMQ failed

Original comment by a.schmi...@gmail.com on 23 Aug 2010 at 4:57

GoogleCodeExporter commented 9 years ago
I'm not very familiar with the MacPorts project. However, have you tried 
building Erlang from source as described here 
http://jboxer.com/2010/01/installing-erlang-on-snow-leopard/?

Original comment by tobias.r...@gmail.com on 23 Aug 2010 at 5:08