gotthardp/rabbitmq-email

Make command fails with curl error "Could not resolve host: www.hunnysoft.com"

fetican opened this issue · 1 comments

Hello,

Make command fails with the following output.

erlang.mk:5551: warning: overriding recipe for target '/rabbitmq-email/deps/amqp_client'
erlang.mk:5101: warning: ignoring old recipe for target '/rabbitmq-email/deps/amqp_client'
erlang.mk:5551: warning: overriding recipe for target '/rabbitmq-email/deps/eiconv'
erlang.mk:5101: warning: ignoring old recipe for target '/rabbitmq-email/deps/eiconv'
 DEP    rabbit_common (master)
ln -s /rabbitmq-email/.erlang.mk/rabbitmq-server/deps/rabbit_common /rabbitmq-email/deps/rabbit_common;
erlang.mk:5551: warning: overriding recipe for target '/rabbitmq-email/deps/amqp_client'
erlang.mk:5101: warning: ignoring old recipe for target '/rabbitmq-email/deps/amqp_client'
erlang.mk:5551: warning: overriding recipe for target '/rabbitmq-email/deps/eiconv'
erlang.mk:5101: warning: ignoring old recipe for target '/rabbitmq-email/deps/eiconv'
 GEN    test/system_SUITE_data/samples.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.hunnysoft.com
make: *** [Makefile:32: test/system_SUITE_data/samples.zip] Error 6

When I remove the following lines from the Makefile, I can successfully compile and plugin works perfectly.

# --------------------------------------------------------------------
# Testing.
# --------------------------------------------------------------------

test-build:: test/system_SUITE_data/samples.zip

test/system_SUITE_data/samples.zip:
	$(gen_verbose) curl -L http://www.hunnysoft.com/mime/samples/samples.zip --output $@
	$(gen_verbose) unzip $@ -d $(@D) || true

.PHONY: delete-test/system_SUITE_data/samples.zip
delete-test/system_SUITE_data/samples.zip:
	$(gen_verbose) rm -rf system_SUITE_data/samples*

distclean:: delete-test/system_SUITE_data/samples.zip
	@:

I think "http://www.hunnysoft.com/mime/samples/samples.zip" should be replaced with a working one.

Thanks.

Fixed by #59. Thank you for using RabbitMQ and this plugin!