Reputation: 11
I would like to start working on my own RabbitMQ plugin, but I cannot build https://github.com/rabbitmq/rabbitmq-public-umbrella from source code on clean installation of Ubuntu 16.04. I have installed everything neccessary as described in https://www.rabbitmq.com/plugin-development.html.
Every time I hit make co
I receive following error:
make[2]: Entering directory '/opt/rabbitmq/rabbitmq-public-umbrella/deps/rabbit_common'
DEP lager
tar: /opt/rabbitmq/rabbitmq-public-umbrella/.erlang.mk/hex/lager.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
erlang.mk:4710: recipe for target '/opt/rabbitmq/rabbitmq-public-umbrella/deps/lager' failed
make[2]: *** [/opt/rabbitmq/rabbitmq-public-umbrella/deps/lager] Error 2
It happens randomly for every dependency which is expected to be in /.erlang.mk/hex/ directory (lager, ranch, jsx), but this directory is empty (no tar file downloaded). The same issue persist when I try to build some existing plugin like https://github.com/rabbitmq/rabbitmq-auth-backend-http on its own.
I am sure I was able to compile the code successfully two days ago and tar files were downloaded to /.erlang.mk/hex/ when running make. I am new to Erlang and all the development tools related to it, so maybe I am missing something.
It's possible that hex.pm is not working? I tried everything - restarting the machine, make distclean, I did even create a new VM with Ubuntu on other network but the issue persists.
Upvotes: 1
Views: 1347
Reputation: 11
It started working today, it was probably an issue with some server providing third party-dependencies (like hex)
Upvotes: 0