I was following the instructions of building from source. After I gave my github credentials, I got an error message fatal: repository 'https://github.com/rabbitmq/rabbitmq-stream-management.git/' not found. The link needs to be updated?
ubuntu@ip-172-31-63-96:~/rabbitmq-cloudwatch-exporter$ make dist
git clone https://github.com/ninenines/erlang.mk .erlang.mk.build
Cloning into '.erlang.mk.build'...
remote: Enumerating objects: 8844, done.
remote: Total 8844 (delta 0), reused 0 (delta 0), pack-reused 8844
Receiving objects: 100% (8844/8844), 5.35 MiB | 9.27 MiB/s, done.
Resolving deltas: 100% (5724/5724), done.
Checking connectivity... done.
if [ -f build.config ]; then cp build.config .erlang.mk.build; fi
cd .erlang.mk.build && make
make[1]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/.erlang.mk.build'
2018/12/03: Relx has been updated to v3.27.0.
2018/12/03: Dependencies are no longer always rebuilt by
default. Please check the documentation for
information. A quick fix if this causes an
issue is to add `FULL = 1` at the top of your
Makefile.
2018/12/06: Change the default COVER_DATA_DIR to be the
same as COVER_REPORT_DIR.
2019/06/20: `list-deps` now includes local applications
found in the `APPS_DIR` directory.
2020/03/25: The `-lerl_interface` argument has been removed
from the default `LDLIBS`. This is an old library
that is getting removed in OTP-23 and should no
longer be used. Note that the default still includes
`-lei` which is part of the Erlang/OTP Erl_Interface
*application* but is built as a separate C library.
The removal only applies to `-lerl_interface` itself.
2020/06/18: Concuerror integration has been added. It is
currently minimal but usable. Experimentation
and feedback is welcome.
2020/11/30: Support for publishing Hex releases and docs
has been added. It is currently experimental.
Feedback is more than welcome.
make[1]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/.erlang.mk.build'
cp .erlang.mk.build/erlang.mk ./erlang.mk
rm -rf .erlang.mk.build
git clone https://github.com/rabbitmq/rabbitmq-common .rabbitmq-components.mk.build
Cloning into '.rabbitmq-components.mk.build'...
remote: Enumerating objects: 9616, done.
remote: Total 9616 (delta 0), reused 0 (delta 0), pack-reused 9616
Receiving objects: 100% (9616/9616), 3.52 MiB | 0 bytes/s, done.
Resolving deltas: 100% (6708/6708), done.
Checking connectivity... done.
cp .rabbitmq-components.mk.build/mk/rabbitmq-components.mk ./rabbitmq-components.mk
rm -rf .rabbitmq-components.mk.build
DEP rabbit (master)
DEP rabbitmq_management (master) [85/1612]
DEP rabbitmq_management_agent (master)
DEP lager_cloudwatch (0.1.1)
No beam files found.
Recompile: src/rebar
Recompile: src/rebar_abnfc_compiler
Recompile: src/rebar_app_utils
Recompile: src/rebar_appups
Recompile: src/rebar_asn1_compiler
Recompile: src/rebar_base_compiler
Recompile: src/rebar_cleaner
Recompile: src/rebar_config
Recompile: src/rebar_core
Recompile: src/rebar_cover_utils
Recompile: src/rebar_ct
src/rebar_ct.erl:291: Warning: crypto:rand_uniform/2 is deprecated; use rand:rand_uniform/1 instead
Recompile: src/rebar_deps
Recompile: src/rebar_dia_compiler
Recompile: src/rebar_dialyzer
Recompile: src/rebar_edoc
Recompile: src/rebar_erlc_compiler
Recompile: src/rebar_erlydtl_compiler
Recompile: src/rebar_escripter
Recompile: src/rebar_eunit
src/rebar_eunit.erl:282: Warning: crypto:rand_uniform/2 is deprecated; use rand:rand_uniform/1 instead
Recompile: src/rebar_file_utils
Recompile: src/rebar_getopt
Recompile: src/rebar_lfe_compiler
Recompile: src/rebar_log
Recompile: src/rebar_metacmds
Recompile: src/rebar_mustache
Recompile: src/rebar_neotoma_compiler
Recompile: src/rebar_otp_app
Recompile: src/rebar_otp_appup
Recompile: src/rebar_port_compiler
Recompile: src/rebar_proto_compiler
Recompile: src/rebar_proto_gpb_compiler
Recompile: src/rebar_protobuffs_compiler
Recompile: src/rebar_qc
Recompile: src/rebar_rand_compat
Recompile: src/rebar_rel_utils
Recompile: src/rebar_reltool
Recompile: src/rebar_require_vsn
Recompile: src/rebar_shell
Recompile: src/rebar_subdirs
Recompile: src/rebar_templater
Recompile: src/rebar_upgrade
Recompile: src/rebar_utils
Recompile: src/rebar_xref
Recompile: src/rmemo
==> rebar (compile)
==> rebar (escriptize)
Congratulations! You now have a self-contained script called "rebar" in
your current working directory. Place this script anywhere in your path
and you can use rebar to build OTP-compliant apps.
/home/ubuntu/rabbitmq-cloudwatch-exporter
make[1]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbit_common'
DEP rabbitmq_codegen (master)
DEP lager (3.8.0)
DEP jsx (2.11.0)
DEP ranch (1.7.1)
DEP recon (2.5.1)
DEP credentials_obfuscation (2.2.0)
make[2]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/lager'
DEP goldrush (0.1.9)
make[3]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/goldrush'
make[3]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/goldrush'
make[2]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/lager'
make[2]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/jsx'
make[2]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/jsx'
make[2]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/ranch'
make[2]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/ranch'
make[2]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/recon'
make[2]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/recon'
make[2]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/credentials_obfuscation'
make[2]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/credentials_obfuscation'
make[1]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbit_common'
make[1]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbit'
DEP rabbitmq_amqp1_0 (master)
DEP rabbitmq_auth_backend_cache (master)
DEP rabbitmq_auth_backend_http (master)
DEP rabbitmq_auth_backend_ldap (master)
DEP rabbitmq_auth_backend_oauth2 (master)
DEP rabbitmq_auth_mechanism_ssl (master)
DEP rabbitmq_consistent_hash_exchange (master)
DEP rabbitmq_event_exchange (master)
DEP rabbitmq_federation (master)
DEP rabbitmq_federation_management (master)
DEP rabbitmq_jms_topic_exchange (master)
DEP rabbitmq_mqtt (master)
DEP rabbitmq_peer_discovery_aws (master)
DEP rabbitmq_peer_discovery_common (master)
DEP rabbitmq_peer_discovery_consul (master)
DEP rabbitmq_peer_discovery_etcd (master)
DEP rabbitmq_peer_discovery_k8s (master)
DEP rabbitmq_prometheus (master)
DEP rabbitmq_random_exchange (master)
DEP rabbitmq_recent_history_exchange (master)
DEP rabbitmq_sharding (master)
DEP rabbitmq_shovel (master)
DEP rabbitmq_shovel_management (master)
DEP rabbitmq_stomp (master)
DEP rabbitmq_stream (master)
DEP rabbitmq_stream_management (master)
Username:
Password:
remote: Repository not found.
fatal: repository 'https://github.com/rabbitmq/rabbitmq-stream-management.git/' not found
/bin/sh: 1: cd: can't cd to /home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbitmq_stream_management
erlang.mk:5087: recipe for target '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbitmq_stream_management' failed
make[1]: *** [/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbitmq_stream_management] Error 2
make[1]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbit'
erlang.mk:8069: recipe for target '/home/ubuntu/rabbitmq-cloudwatch-exporter/.erlang.mk/recursive-deps-list.log' failed
make: *** [/home/ubuntu/rabbitmq-cloudwatch-exporter/.erlang.mk/recursive-deps-list.log] Error 2
ubuntu@ip-172-31-63-96:~/rabbitmq-cloudwatch-exporter$ sudo make dist
make[1]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbit_common'
make[2]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/lager'
make[3]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/goldrush'
make[3]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/goldrush'
make[2]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/lager'
make[2]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/jsx'
make[2]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/jsx'
make[2]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/ranch'
make[2]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/ranch'
make[2]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/recon'
make[2]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/recon'
make[2]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/credentials_obfuscation'
make[2]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/credentials_obfuscation'
make[1]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbit_common'
make[1]: Entering directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbit'
DEP rabbitmq_stream_management (master)
Username:
Password:
remote: Repository not found.
fatal: repository 'https://github.com/rabbitmq/rabbitmq-stream-management.git/' not found
/bin/sh: 1: cd: can't cd to /home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbitmq_stream_management
erlang.mk:5087: recipe for target '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbitmq_stream_management' failed
make[1]: *** [/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbitmq_stream_management] Error 2
make[1]: Leaving directory '/home/ubuntu/rabbitmq-cloudwatch-exporter/deps/rabbit'
erlang.mk:8069: recipe for target '/home/ubuntu/rabbitmq-cloudwatch-exporter/.erlang.mk/recursive-deps-list.log' failed
make: *** [/home/ubuntu/rabbitmq-cloudwatch-exporter/.erlang.mk/recursive-deps-list.log] Error 2
This is an ongoing issue for all RMQ plugins AFAIK. The RMQ devs changed the repository topology and the build logic and they are still discussing how to move forward. Until then, we cannot build this and other related plugins.
I was following the instructions of building from source. After I gave my github credentials, I got an error message
fatal: repository 'https://github.com/rabbitmq/rabbitmq-stream-management.git/' not found
. The link needs to be updated?