Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rabbitmq-server.spec'], chrootPath='/var/lib/mock/f33-build-292133-54811/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rabbitmq-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/rabbitmq-server-3.8.5-2.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rabbitmq-server.spec'], chrootPath='/var/lib/mock/f33-build-292133-54811/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rabbitmq-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gqEHdK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rabbitmq-server-3.8.5 + /usr/bin/xz -dc /builddir/build/SOURCES/rabbitmq-server_3.8.5.orig.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rabbitmq-server-3.8.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd deps/rabbit Patch #1 (rabbitmq-server-0001-Allow-guest-login-from-non-loopback-connections.patch): + echo 'Patch #1 (rabbitmq-server-0001-Allow-guest-login-from-non-loopback-connections.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + cd ../.. + cd deps/rabbit_common Patch #101 (rabbitmq-common-0001-Use-proto_dist-from-command-line.patch): + echo 'Patch #101 (rabbitmq-common-0001-Use-proto_dist-from-command-line.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/rabbit_nodes_common.erl Hunk #1 succeeded at 90 (offset 10 lines). + echo 'Patch #102 (rabbitmq-common-0002-force-python3.patch):' Patch #102 (rabbitmq-common-0002-force-python3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file codegen.py patching file development.post.mk Patch #201 (rabbitmq-server-release-0001-Partially-revert-Use-template-in-rabbitmq-script-wra.patch): + cd ../.. + echo 'Patch #201 (rabbitmq-server-release-0001-Partially-revert-Use-template-in-rabbitmq-script-wra.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scripts/rabbitmq-script-wrapper + cd deps/amqp10_common + echo 'Patch #301 (rabbitmq-amqp1.0-common-0001-force-python3.patch):' Patch #301 (rabbitmq-amqp1.0-common-0001-force-python3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file codegen.py patching file development.post.mk + cd ../.. + rm -f deps/amqp_client/src/rabbit_ct_client_helpers.erl deps/rabbit_common/src/rabbit_ct_broker_helpers.erl deps/rabbit_common/src/rabbit_ct_helpers.erl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Xc4ZtM + umask 022 + cd /builddir/build/BUILD + cd rabbitmq-server-3.8.5 + make -j4 VERSION=3.8.5 V=1 make: hostname: No such file or directory make: hostname: No such file or directory mkdir -p /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " In = \"deps/.hex/cache.erl\", Out = \"deps/.hex/cache.ets\", {ok, [Props, Entries]} = file:consult(In), Name = proplists:get_value(name, Props), Type = proplists:get_value(type, Props), Access = proplists:get_value(protection, Props), NamedTable = proplists:get_bool(named_table, Props), Keypos = proplists:get_value(keypos, Props), Heir = proplists:get_value(heir, Props), ReadConc = proplists:get_bool(read_concurrency, Props), WriteConc = proplists:get_bool(write_concurrency, Props), Compressed = proplists:get_bool(compressed, Props), Options0 = [ Type, Access, {keypos, Keypos}, {heir, Heir}, {read_concurrency, ReadConc}, {write_concurrency, WriteConc}], Options1 = case NamedTable of true -> [named_table | Options0]; false -> Options0 end, Options2 = case Compressed of true -> [compressed | Options0]; false -> Options0 end, Tab = ets:new(Name, Options2), [true = ets:insert(Tab, Entry) || Entry <- Entries], ok = ets:tab2file(Tab, Out), init:stop()." -- erlang.mk rm -f /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/apps.log /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log set -e; for dep in /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_common /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_client /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0 /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_cache /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_http /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_ldap /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_oauth2 /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_mechanism_ssl /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_sharding /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_trust_store /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_dispatch /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prometheus /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation_management /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel_management /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_top /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_tracing /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt_examples /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp_examples /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_aws /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd; do \ if grep -qs ^$dep$ /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; then \ :; \ else \ echo $dep >> /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; \ if [ -z "" ] && ! (echo "amqp_client amqp10_common amqp10_client rabbit rabbit_common rabbitmq_amqp1_0 rabbitmq_auth_backend_amqp rabbitmq_auth_backend_cache rabbitmq_auth_backend_http rabbitmq_auth_backend_ldap rabbitmq_auth_backend_oauth2 rabbitmq_auth_mechanism_ssl rabbitmq_aws rabbitmq_boot_steps_visualiser rabbitmq_cli rabbitmq_codegen rabbitmq_consistent_hash_exchange rabbitmq_ct_client_helpers rabbitmq_ct_helpers rabbitmq_delayed_message_exchange rabbitmq_dotnet_client rabbitmq_event_exchange rabbitmq_federation rabbitmq_federation_management rabbitmq_java_client rabbitmq_jms_client rabbitmq_jms_cts rabbitmq_jms_topic_exchange rabbitmq_lvc_exchange rabbitmq_management rabbitmq_management_agent rabbitmq_management_exchange rabbitmq_management_themes rabbitmq_message_timestamp rabbitmq_metronome rabbitmq_mqtt rabbitmq_objc_client rabbitmq_peer_discovery_aws rabbitmq_peer_discovery_common rabbitmq_peer_discovery_consul rabbitmq_peer_discovery_etcd rabbitmq_peer_discovery_k8s rabbitmq_prometheus rabbitmq_random_exchange rabbitmq_recent_history_exchange rabbitmq_routing_node_stamp rabbitmq_rtopic_exchange rabbitmq_server_release rabbitmq_sharding rabbitmq_shovel rabbitmq_shovel_management rabbitmq_stomp rabbitmq_toke rabbitmq_top rabbitmq_tracing rabbitmq_trust_store rabbitmq_web_dispatch rabbitmq_web_mqtt rabbitmq_web_mqtt_examples rabbitmq_web_stomp rabbitmq_web_stomp_examples rabbitmq_website" | grep -qw "$(basename "$dep")") && [ ! -L $dep ] && [ -f $dep/ebin/dep_built ]; then \ :; \ elif [ -f $dep/GNUmakefile ] || [ -f $dep/makefile ] || [ -f $dep/Makefile ]; then \ make -C $dep IS_DEP=1; \ if [ ! -L $dep ] && [ -d $dep/ebin ]; then touch $dep/ebin/dep_built; fi; \ else \ echo "Error: No Makefile to build dependency $dep." >&2; \ exit 2; \ fi \ fi \ done make[1]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common' make[1]: hostname: No such file or directory set -e; for dep in ; do \ if grep -qs ^$dep$ /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/apps.log; then \ :; \ else \ echo $dep >> /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/apps.log; \ make -C $dep IS_APP=1; \ fi \ done : set -e; for dep in /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_codegen /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation; do \ if grep -qs ^$dep$ /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; then \ :; \ else \ echo $dep >> /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; \ if [ -z "" ] && ! (echo "amqp_client amqp10_common amqp10_client rabbit rabbit_common rabbitmq_amqp1_0 rabbitmq_auth_backend_amqp rabbitmq_auth_backend_cache rabbitmq_auth_backend_http rabbitmq_auth_backend_ldap rabbitmq_auth_backend_oauth2 rabbitmq_auth_mechanism_ssl rabbitmq_aws rabbitmq_boot_steps_visualiser rabbitmq_cli rabbitmq_codegen rabbitmq_consistent_hash_exchange rabbitmq_ct_client_helpers rabbitmq_ct_helpers rabbitmq_delayed_message_exchange rabbitmq_dotnet_client rabbitmq_event_exchange rabbitmq_federation rabbitmq_federation_management rabbitmq_java_client rabbitmq_jms_client rabbitmq_jms_cts rabbitmq_jms_topic_exchange rabbitmq_lvc_exchange rabbitmq_management rabbitmq_management_agent rabbitmq_management_exchange rabbitmq_management_themes rabbitmq_message_timestamp rabbitmq_metronome rabbitmq_mqtt rabbitmq_objc_client rabbitmq_peer_discovery_aws rabbitmq_peer_discovery_common rabbitmq_peer_discovery_consul rabbitmq_peer_discovery_etcd rabbitmq_peer_discovery_k8s rabbitmq_prometheus rabbitmq_random_exchange rabbitmq_recent_history_exchange rabbitmq_routing_node_stamp rabbitmq_rtopic_exchange rabbitmq_server_release rabbitmq_sharding rabbitmq_shovel rabbitmq_shovel_management rabbitmq_stomp rabbitmq_toke rabbitmq_top rabbitmq_tracing rabbitmq_trust_store rabbitmq_web_dispatch rabbitmq_web_mqtt rabbitmq_web_mqtt_examples rabbitmq_web_stomp rabbitmq_web_stomp_examples rabbitmq_website" | grep -qw "$(basename "$dep")") && [ ! -L $dep ] && [ -f $dep/ebin/dep_built ]; then \ :; \ elif [ -f $dep/GNUmakefile ] || [ -f $dep/makefile ] || [ -f $dep/Makefile ]; then \ make -C $dep IS_DEP=1; \ if [ ! -L $dep ] && [ -d $dep/ebin ]; then touch $dep/ebin/dep_built; fi; \ else \ echo "Error: No Makefile to build dependency $dep." >&2; \ exit 2; \ fi \ fi \ done make[2]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager' set -e; for dep in /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush; do \ if grep -qs ^$dep$ /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; then \ :; \ else \ echo $dep >> /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; \ if [ -z "" ] && [ ! -L $dep ] && [ -f $dep/ebin/dep_built ]; then \ :; \ elif [ -f $dep/GNUmakefile ] || [ -f $dep/makefile ] || [ -f $dep/Makefile ]; then \ make -C $dep IS_DEP=1; \ if [ ! -L $dep ] && [ -d $dep/ebin ]; then touch $dep/ebin/dep_built; fi; \ else \ echo "Error: No Makefile to build dependency $dep." >&2; \ exit 2; \ fi \ fi \ done make[3]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush' make --no-print-directory goldrush.d erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " E = ets:new(makedep, [bag]), G = digraph:new([acyclic]), ErlFiles = lists:usort(string:tokens(\"src/glc.erl src/glc_code.erl src/glc_lib.erl src/glc_ops.erl src/glc_run.erl src/gr_app.erl src/gr_context.erl src/gr_counter.erl src/gr_counter_sup.erl src/gr_manager.erl src/gr_manager_sup.erl src/gr_param.erl src/gr_param_sup.erl src/gr_sup.erl src/gre.erl\", \" \")), DepsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps\", AppsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/apps\", DepsDirsSrc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/aten/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/base64url/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowboy/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cuttlefish/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gen_batch_server/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/getopt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gun/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ra/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_cache/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_http/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_ldap/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_oauth2/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_mechanism_ssl/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prelaunch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_sharding/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_top/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_tracing/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_trust_store/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_dispatch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/src\", DepsDirsInc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/include\", AppsDirsSrc = \"\", AppsDirsInc = \"\", DepsDirs = lists:usort(string:tokens(DepsDirsSrc++DepsDirsInc, \" \")), AppsDirs = lists:usort(string:tokens(AppsDirsSrc++AppsDirsInc, \" \")), Modules = [{list_to_atom(filename:basename(F, \".erl\")), F} || F <- ErlFiles], Add = fun (Mod, Dep) -> case lists:keyfind(Dep, 1, Modules) of false -> ok; {_, DepFile} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), ets:insert(E, {ModFile, DepFile}), digraph:add_vertex(G, Mod), digraph:add_vertex(G, Dep), digraph:add_edge(G, Mod, Dep) end end, AddHd = fun (F, Mod, DepFile) -> case file:open(DepFile, [read]) of {error, enoent} -> ok; {ok, Fd} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), case ets:match(E, {ModFile, DepFile}) of [] -> ets:insert(E, {ModFile, DepFile}), F(F, Fd, Mod,0); _ -> ok end end end, SearchHrl = fun F(_Hrl, []) -> {error,enoent}; F(Hrl, [Dir|Dirs]) -> HrlF = filename:join([Dir,Hrl]), case filelib:is_file(HrlF) of true -> {ok, HrlF}; false -> F(Hrl,Dirs) end end, Attr = fun (_F, Mod, behavior, Dep) -> Add(Mod, Dep); (_F, Mod, behaviour, Dep) -> Add(Mod, Dep); (_F, Mod, compile, {parse_transform, Dep}) -> Add(Mod, Dep); (_F, Mod, compile, Opts) when is_list(Opts) -> case proplists:get_value(parse_transform, Opts) of undefined -> ok; Dep -> Add(Mod, Dep) end; (F, Mod, include, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, include_lib, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, import, {Imp, _}) -> IsFile = case lists:keyfind(Imp, 1, Modules) of false -> false; {_, FilePath} -> filelib:is_file(FilePath) end, case IsFile of false -> ok; true -> Add(Mod, Imp) end; (_, _, _, _) -> ok end, MakeDepend = fun (F, Fd, Mod, StartLocation) -> {ok, Filename} = file:pid2name(Fd), case io:parse_erl_form(Fd, undefined, StartLocation) of {ok, AbsData, EndLocation} -> case AbsData of {attribute, _, Key, Value} -> Attr(F, Mod, Key, Value), F(F, Fd, Mod, EndLocation); _ -> F(F, Fd, Mod, EndLocation) end; {eof, _ } -> file:close(Fd); {error, ErrorDescription } -> file:close(Fd); {error, ErrorInfo, ErrorLocation} -> F(F, Fd, Mod, ErrorLocation) end, ok end, [begin Mod = list_to_atom(filename:basename(F, \".erl\")), case file:open(F, [read]) of {ok, Fd} -> MakeDepend(MakeDepend, Fd, Mod,0); {error, enoent} -> ok end end || F <- ErlFiles], Depend = sofs:to_external(sofs:relation_to_family(sofs:relation(ets:tab2list(E)))), CompileFirst = [X || X <- lists:reverse(digraph_utils:topsort(G)), [] =/= digraph:in_neighbours(G, X)], TargetPath = fun(Target) -> case lists:keyfind(Target, 1, Modules) of false -> \"\"; {_, DepFile} -> DirSubname = tl(string:tokens(filename:dirname(DepFile), \"/\")), string:join(DirSubname ++ [atom_to_list(Target)], \"/\") end end, ok = file:write_file(\"goldrush.d\", unicode:characters_to_binary([ \"# Generated by Erlang.mk. Edit at your own risk!\n\n\", [[F, \"::\", [[\" \", D] || D <- Deps], \"; @touch \$@\n\"] || {F, Deps} <- Depend], \"\nCOMPILE_FIRST +=\", [[\" \", TargetPath(CF)] || CF <- CompileFirst], \"\n\" ])), halt()" -- erlang.mk : make --no-print-directory app-build mkdir -p ebin/ erlc -v +debug_info -o ebin/ -pa ebin/ -I include/ src/glc.erl src/glc_code.erl src/glc_lib.erl src/glc_ops.erl src/glc_run.erl src/gr_app.erl src/gr_context.erl src/gr_counter.erl src/gr_counter_sup.erl src/gr_manager.erl src/gr_manager_sup.erl src/gr_param.erl src/gr_param_sup.erl src/gr_sup.erl src/gre.erl if [ -z "$(grep -e '^[^%]*{\s*modules\s*,' src/goldrush.app.src)" ]; then \ echo "Empty modules entry not found in goldrush.app.src. Please consult the erlang.mk documentation for instructions." >&2; \ exit 1; \ fi cat src/goldrush.app.src \ | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \['glc','glc_code','glc_lib','glc_ops','glc_run','gr_app','gr_context','gr_counter','gr_counter_sup','gr_manager','gr_manager_sup','gr_param','gr_param_sup','gr_sup','gre'\]}/" \ | sed "s/{id,[[:space:]]*\"git\"}/{id, \"\"}/" \ > ebin/goldrush.app : make[3]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush' make --no-print-directory lager.d erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " E = ets:new(makedep, [bag]), G = digraph:new([acyclic]), ErlFiles = lists:usort(string:tokens(\"src/error_logger_lager_h.erl src/lager.erl src/lager_app.erl src/lager_backend_throttle.erl src/lager_common_test_backend.erl src/lager_config.erl src/lager_console_backend.erl src/lager_crash_log.erl src/lager_default_formatter.erl src/lager_file_backend.erl src/lager_format.erl src/lager_handler_watcher.erl src/lager_handler_watcher_sup.erl src/lager_manager_killer.erl src/lager_msg.erl src/lager_rotator_behaviour.erl src/lager_rotator_default.erl src/lager_stdlib.erl src/lager_sup.erl src/lager_transform.erl src/lager_trunc_io.erl src/lager_util.erl\", \" \")), DepsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps\", AppsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/apps\", DepsDirsSrc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/aten/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/base64url/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowboy/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cuttlefish/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gen_batch_server/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/getopt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gun/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ra/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_cache/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_http/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_ldap/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_oauth2/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_mechanism_ssl/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prelaunch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_sharding/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_top/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_tracing/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_trust_store/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_dispatch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/src\", DepsDirsInc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/include\", AppsDirsSrc = \"\", AppsDirsInc = \"\", DepsDirs = lists:usort(string:tokens(DepsDirsSrc++DepsDirsInc, \" \")), AppsDirs = lists:usort(string:tokens(AppsDirsSrc++AppsDirsInc, \" \")), Modules = [{list_to_atom(filename:basename(F, \".erl\")), F} || F <- ErlFiles], Add = fun (Mod, Dep) -> case lists:keyfind(Dep, 1, Modules) of false -> ok; {_, DepFile} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), ets:insert(E, {ModFile, DepFile}), digraph:add_vertex(G, Mod), digraph:add_vertex(G, Dep), digraph:add_edge(G, Mod, Dep) end end, AddHd = fun (F, Mod, DepFile) -> case file:open(DepFile, [read]) of {error, enoent} -> ok; {ok, Fd} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), case ets:match(E, {ModFile, DepFile}) of [] -> ets:insert(E, {ModFile, DepFile}), F(F, Fd, Mod,0); _ -> ok end end end, SearchHrl = fun F(_Hrl, []) -> {error,enoent}; F(Hrl, [Dir|Dirs]) -> HrlF = filename:join([Dir,Hrl]), case filelib:is_file(HrlF) of true -> {ok, HrlF}; false -> F(Hrl,Dirs) end end, Attr = fun (_F, Mod, behavior, Dep) -> Add(Mod, Dep); (_F, Mod, behaviour, Dep) -> Add(Mod, Dep); (_F, Mod, compile, {parse_transform, Dep}) -> Add(Mod, Dep); (_F, Mod, compile, Opts) when is_list(Opts) -> case proplists:get_value(parse_transform, Opts) of undefined -> ok; Dep -> Add(Mod, Dep) end; (F, Mod, include, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, include_lib, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, import, {Imp, _}) -> IsFile = case lists:keyfind(Imp, 1, Modules) of false -> false; {_, FilePath} -> filelib:is_file(FilePath) end, case IsFile of false -> ok; true -> Add(Mod, Imp) end; (_, _, _, _) -> ok end, MakeDepend = fun (F, Fd, Mod, StartLocation) -> {ok, Filename} = file:pid2name(Fd), case io:parse_erl_form(Fd, undefined, StartLocation) of {ok, AbsData, EndLocation} -> case AbsData of {attribute, _, Key, Value} -> Attr(F, Mod, Key, Value), F(F, Fd, Mod, EndLocation); _ -> F(F, Fd, Mod, EndLocation) end; {eof, _ } -> file:close(Fd); {error, ErrorDescription } -> file:close(Fd); {error, ErrorInfo, ErrorLocation} -> F(F, Fd, Mod, ErrorLocation) end, ok end, [begin Mod = list_to_atom(filename:basename(F, \".erl\")), case file:open(F, [read]) of {ok, Fd} -> MakeDepend(MakeDepend, Fd, Mod,0); {error, enoent} -> ok end end || F <- ErlFiles], Depend = sofs:to_external(sofs:relation_to_family(sofs:relation(ets:tab2list(E)))), CompileFirst = [X || X <- lists:reverse(digraph_utils:topsort(G)), [] =/= digraph:in_neighbours(G, X)], TargetPath = fun(Target) -> case lists:keyfind(Target, 1, Modules) of false -> \"\"; {_, DepFile} -> DirSubname = tl(string:tokens(filename:dirname(DepFile), \"/\")), string:join(DirSubname ++ [atom_to_list(Target)], \"/\") end end, ok = file:write_file(\"lager.d\", unicode:characters_to_binary([ \"# Generated by Erlang.mk. Edit at your own risk!\n\n\", [[F, \"::\", [[\" \", D] || D <- Deps], \"; @touch \$@\n\"] || {F, Deps} <- Depend], \"\nCOMPILE_FIRST +=\", [[\" \", TargetPath(CF)] || CF <- CompileFirst], \"\n\" ])), halt()" -- erlang.mk : make --no-print-directory app-build mkdir -p ebin/ erlc -v +debug_info -Dtest_statem=1 -o ebin/ -pa ebin/ -I include/ src/lager_util.erl src/lager_transform.erl src/lager_rotator_behaviour.erl src/error_logger_lager_h.erl src/lager.erl src/lager_app.erl src/lager_backend_throttle.erl src/lager_common_test_backend.erl src/lager_config.erl src/lager_console_backend.erl src/lager_crash_log.erl src/lager_default_formatter.erl src/lager_file_backend.erl src/lager_format.erl src/lager_handler_watcher.erl src/lager_handler_watcher_sup.erl src/lager_manager_killer.erl src/lager_msg.erl src/lager_rotator_behaviour.erl src/lager_rotator_default.erl src/lager_stdlib.erl src/lager_sup.erl src/lager_transform.erl src/lager_trunc_io.erl src/lager_util.erl if [ -z "$(grep -e '^[^%]*{\s*modules\s*,' src/lager.app.src)" ]; then \ echo "Empty modules entry not found in lager.app.src. Please consult the erlang.mk documentation for instructions." >&2; \ exit 1; \ fi cat src/lager.app.src \ | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \['error_logger_lager_h','lager','lager_app','lager_backend_throttle','lager_common_test_backend','lager_config','lager_console_backend','lager_crash_log','lager_default_formatter','lager_file_backend','lager_format','lager_handler_watcher','lager_handler_watcher_sup','lager_manager_killer','lager_msg','lager_rotator_behaviour','lager_rotator_default','lager_stdlib','lager_sup','lager_transform','lager_trunc_io','lager_util'\]}/" \ | sed "s/{id,[[:space:]]*\"git\"}/{id, \"\"}/" \ > ebin/lager.app : make[2]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager' make[2]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx' make --no-print-directory jsx.d erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " E = ets:new(makedep, [bag]), G = digraph:new([acyclic]), ErlFiles = lists:usort(string:tokens(\"src/jsx.erl src/jsx_config.erl src/jsx_consult.erl src/jsx_decoder.erl src/jsx_encoder.erl src/jsx_parser.erl src/jsx_to_json.erl src/jsx_to_term.erl src/jsx_verify.erl\", \" \")), DepsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps\", AppsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/apps\", DepsDirsSrc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/aten/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/base64url/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowboy/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cuttlefish/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gen_batch_server/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/getopt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gun/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ra/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_cache/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_http/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_ldap/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_oauth2/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_mechanism_ssl/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prelaunch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_sharding/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_top/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_tracing/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_trust_store/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_dispatch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/src\", DepsDirsInc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/include\", AppsDirsSrc = \"\", AppsDirsInc = \"\", DepsDirs = lists:usort(string:tokens(DepsDirsSrc++DepsDirsInc, \" \")), AppsDirs = lists:usort(string:tokens(AppsDirsSrc++AppsDirsInc, \" \")), Modules = [{list_to_atom(filename:basename(F, \".erl\")), F} || F <- ErlFiles], Add = fun (Mod, Dep) -> case lists:keyfind(Dep, 1, Modules) of false -> ok; {_, DepFile} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), ets:insert(E, {ModFile, DepFile}), digraph:add_vertex(G, Mod), digraph:add_vertex(G, Dep), digraph:add_edge(G, Mod, Dep) end end, AddHd = fun (F, Mod, DepFile) -> case file:open(DepFile, [read]) of {error, enoent} -> ok; {ok, Fd} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), case ets:match(E, {ModFile, DepFile}) of [] -> ets:insert(E, {ModFile, DepFile}), F(F, Fd, Mod,0); _ -> ok end end end, SearchHrl = fun F(_Hrl, []) -> {error,enoent}; F(Hrl, [Dir|Dirs]) -> HrlF = filename:join([Dir,Hrl]), case filelib:is_file(HrlF) of true -> {ok, HrlF}; false -> F(Hrl,Dirs) end end, Attr = fun (_F, Mod, behavior, Dep) -> Add(Mod, Dep); (_F, Mod, behaviour, Dep) -> Add(Mod, Dep); (_F, Mod, compile, {parse_transform, Dep}) -> Add(Mod, Dep); (_F, Mod, compile, Opts) when is_list(Opts) -> case proplists:get_value(parse_transform, Opts) of undefined -> ok; Dep -> Add(Mod, Dep) end; (F, Mod, include, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, include_lib, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, import, {Imp, _}) -> IsFile = case lists:keyfind(Imp, 1, Modules) of false -> false; {_, FilePath} -> filelib:is_file(FilePath) end, case IsFile of false -> ok; true -> Add(Mod, Imp) end; (_, _, _, _) -> ok end, MakeDepend = fun (F, Fd, Mod, StartLocation) -> {ok, Filename} = file:pid2name(Fd), case io:parse_erl_form(Fd, undefined, StartLocation) of {ok, AbsData, EndLocation} -> case AbsData of {attribute, _, Key, Value} -> Attr(F, Mod, Key, Value), F(F, Fd, Mod, EndLocation); _ -> F(F, Fd, Mod, EndLocation) end; {eof, _ } -> file:close(Fd); {error, ErrorDescription } -> file:close(Fd); {error, ErrorInfo, ErrorLocation} -> F(F, Fd, Mod, ErrorLocation) end, ok end, [begin Mod = list_to_atom(filename:basename(F, \".erl\")), case file:open(F, [read]) of {ok, Fd} -> MakeDepend(MakeDepend, Fd, Mod,0); {error, enoent} -> ok end end || F <- ErlFiles], Depend = sofs:to_external(sofs:relation_to_family(sofs:relation(ets:tab2list(E)))), CompileFirst = [X || X <- lists:reverse(digraph_utils:topsort(G)), [] =/= digraph:in_neighbours(G, X)], TargetPath = fun(Target) -> case lists:keyfind(Target, 1, Modules) of false -> \"\"; {_, DepFile} -> DirSubname = tl(string:tokens(filename:dirname(DepFile), \"/\")), string:join(DirSubname ++ [atom_to_list(Target)], \"/\") end end, ok = file:write_file(\"jsx.d\", unicode:characters_to_binary([ \"# Generated by Erlang.mk. Edit at your own risk!\n\n\", [[F, \"::\", [[\" \", D] || D <- Deps], \"; @touch \$@\n\"] || {F, Deps} <- Depend], \"\nCOMPILE_FIRST +=\", [[\" \", TargetPath(CF)] || CF <- CompileFirst], \"\n\" ])), halt()" -- erlang.mk : make --no-print-directory app-build mkdir -p ebin/ erlc -v +debug_info -Dmaps_support=1 -o ebin/ -pa ebin/ -I include/ src/jsx.erl src/jsx_config.erl src/jsx_consult.erl src/jsx_decoder.erl src/jsx_encoder.erl src/jsx_parser.erl src/jsx_to_json.erl src/jsx_to_term.erl src/jsx_verify.erl Old inliner: threshold=0 functions=[{doublequote,5}, {singlequote,5}, {maybe_replace,2}, {format_number,1}, {handle_event,3}] if [ -z "$(grep -e '^[^%]*{\s*modules\s*,' src/jsx.app.src)" ]; then \ echo "Empty modules entry not found in jsx.app.src. Please consult the erlang.mk documentation for instructions." >&2; \ exit 1; \ fi cat src/jsx.app.src \ | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \['jsx','jsx_config','jsx_consult','jsx_decoder','jsx_encoder','jsx_parser','jsx_to_json','jsx_to_term','jsx_verify'\]}/" \ | sed "s/{id,[[:space:]]*\"git\"}/{id, \"\"}/" \ > ebin/jsx.app : make[2]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx' make[2]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch' make --no-print-directory ranch.d : erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " E = ets:new(makedep, [bag]), G = digraph:new([acyclic]), ErlFiles = lists:usort(string:tokens(\"src/ranch.erl src/ranch_acceptor.erl src/ranch_acceptors_sup.erl src/ranch_app.erl src/ranch_conns_sup.erl src/ranch_crc32c.erl src/ranch_listener_sup.erl src/ranch_protocol.erl src/ranch_proxy_header.erl src/ranch_server.erl src/ranch_ssl.erl src/ranch_sup.erl src/ranch_tcp.erl src/ranch_transport.erl\", \" \")), DepsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps\", AppsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/apps\", DepsDirsSrc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/aten/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/base64url/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowboy/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cuttlefish/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gen_batch_server/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/getopt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gun/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ra/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_cache/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_http/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_ldap/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_oauth2/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_mechanism_ssl/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prelaunch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_sharding/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_top/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_tracing/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_trust_store/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_dispatch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/src\", DepsDirsInc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/include\", AppsDirsSrc = \"\", AppsDirsInc = \"\", DepsDirs = lists:usort(string:tokens(DepsDirsSrc++DepsDirsInc, \" \")), AppsDirs = lists:usort(string:tokens(AppsDirsSrc++AppsDirsInc, \" \")), Modules = [{list_to_atom(filename:basename(F, \".erl\")), F} || F <- ErlFiles], Add = fun (Mod, Dep) -> case lists:keyfind(Dep, 1, Modules) of false -> ok; {_, DepFile} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), ets:insert(E, {ModFile, DepFile}), digraph:add_vertex(G, Mod), digraph:add_vertex(G, Dep), digraph:add_edge(G, Mod, Dep) end end, AddHd = fun (F, Mod, DepFile) -> case file:open(DepFile, [read]) of {error, enoent} -> ok; {ok, Fd} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), case ets:match(E, {ModFile, DepFile}) of [] -> ets:insert(E, {ModFile, DepFile}), F(F, Fd, Mod,0); _ -> ok end end end, SearchHrl = fun F(_Hrl, []) -> {error,enoent}; F(Hrl, [Dir|Dirs]) -> HrlF = filename:join([Dir,Hrl]), case filelib:is_file(HrlF) of true -> {ok, HrlF}; false -> F(Hrl,Dirs) end end, Attr = fun (_F, Mod, behavior, Dep) -> Add(Mod, Dep); (_F, Mod, behaviour, Dep) -> Add(Mod, Dep); (_F, Mod, compile, {parse_transform, Dep}) -> Add(Mod, Dep); (_F, Mod, compile, Opts) when is_list(Opts) -> case proplists:get_value(parse_transform, Opts) of undefined -> ok; Dep -> Add(Mod, Dep) end; (F, Mod, include, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, include_lib, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, import, {Imp, _}) -> IsFile = case lists:keyfind(Imp, 1, Modules) of false -> false; {_, FilePath} -> filelib:is_file(FilePath) end, case IsFile of false -> ok; true -> Add(Mod, Imp) end; (_, _, _, _) -> ok end, MakeDepend = fun (F, Fd, Mod, StartLocation) -> {ok, Filename} = file:pid2name(Fd), case io:parse_erl_form(Fd, undefined, StartLocation) of {ok, AbsData, EndLocation} -> case AbsData of {attribute, _, Key, Value} -> Attr(F, Mod, Key, Value), F(F, Fd, Mod, EndLocation); _ -> F(F, Fd, Mod, EndLocation) end; {eof, _ } -> file:close(Fd); {error, ErrorDescription } -> file:close(Fd); {error, ErrorInfo, ErrorLocation} -> F(F, Fd, Mod, ErrorLocation) end, ok end, [begin Mod = list_to_atom(filename:basename(F, \".erl\")), case file:open(F, [read]) of {ok, Fd} -> MakeDepend(MakeDepend, Fd, Mod,0); {error, enoent} -> ok end end || F <- ErlFiles], Depend = sofs:to_external(sofs:relation_to_family(sofs:relation(ets:tab2list(E)))), CompileFirst = [X || X <- lists:reverse(digraph_utils:topsort(G)), [] =/= digraph:in_neighbours(G, X)], TargetPath = fun(Target) -> case lists:keyfind(Target, 1, Modules) of false -> \"\"; {_, DepFile} -> DirSubname = tl(string:tokens(filename:dirname(DepFile), \"/\")), string:join(DirSubname ++ [atom_to_list(Target)], \"/\") end end, ok = file:write_file(\"ranch.d\", unicode:characters_to_binary([ \"# Generated by Erlang.mk. Edit at your own risk!\n\n\", [[F, \"::\", [[\" \", D] || D <- Deps], \"; @touch \$@\n\"] || {F, Deps} <- Depend], \"\nCOMPILE_FIRST +=\", [[\" \", TargetPath(CF)] || CF <- CompileFirst], \"\n\" ])), halt()" -- erlang.mk : make --no-print-directory app-build mkdir -p ebin/ erlc -v +debug_info +warn_export_vars +warn_shadow_vars +warn_obsolete_guard -o ebin/ -pa ebin/ -I include/ src/ranch_transport.erl src/ranch.erl src/ranch_acceptor.erl src/ranch_acceptors_sup.erl src/ranch_app.erl src/ranch_conns_sup.erl src/ranch_crc32c.erl src/ranch_listener_sup.erl src/ranch_protocol.erl src/ranch_proxy_header.erl src/ranch_server.erl src/ranch_ssl.erl src/ranch_sup.erl src/ranch_tcp.erl src/ranch_transport.erl if [ -z "$(grep -e '^[^%]*{\s*modules\s*,' src/ranch.app.src)" ]; then \ echo "Empty modules entry not found in ranch.app.src. Please consult the erlang.mk documentation for instructions." >&2; \ exit 1; \ fi cat src/ranch.app.src \ | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \['ranch','ranch_acceptor','ranch_acceptors_sup','ranch_app','ranch_conns_sup','ranch_crc32c','ranch_listener_sup','ranch_protocol','ranch_proxy_header','ranch_server','ranch_ssl','ranch_sup','ranch_tcp','ranch_transport'\]}/" \ | sed "s/{id,[[:space:]]*\"git\"}/{id, \"\"}/" \ > ebin/ranch.app : make[2]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch' make[2]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon' make --no-print-directory recon.d erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " E = ets:new(makedep, [bag]), G = digraph:new([acyclic]), ErlFiles = lists:usort(string:tokens(\"src/recon.erl src/recon_alloc.erl src/recon_lib.erl src/recon_map.erl src/recon_rec.erl src/recon_trace.erl\", \" \")), DepsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps\", AppsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/apps\", DepsDirsSrc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/aten/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/base64url/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowboy/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cuttlefish/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gen_batch_server/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/getopt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gun/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ra/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_cache/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_http/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_ldap/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_oauth2/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_mechanism_ssl/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prelaunch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_sharding/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_top/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_tracing/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_trust_store/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_dispatch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/src\", DepsDirsInc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/include\", AppsDirsSrc = \"\", AppsDirsInc = \"\", DepsDirs = lists:usort(string:tokens(DepsDirsSrc++DepsDirsInc, \" \")), AppsDirs = lists:usort(string:tokens(AppsDirsSrc++AppsDirsInc, \" \")), Modules = [{list_to_atom(filename:basename(F, \".erl\")), F} || F <- ErlFiles], Add = fun (Mod, Dep) -> case lists:keyfind(Dep, 1, Modules) of false -> ok; {_, DepFile} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), ets:insert(E, {ModFile, DepFile}), digraph:add_vertex(G, Mod), digraph:add_vertex(G, Dep), digraph:add_edge(G, Mod, Dep) end end, AddHd = fun (F, Mod, DepFile) -> case file:open(DepFile, [read]) of {error, enoent} -> ok; {ok, Fd} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), case ets:match(E, {ModFile, DepFile}) of [] -> ets:insert(E, {ModFile, DepFile}), F(F, Fd, Mod,0); _ -> ok end end end, SearchHrl = fun F(_Hrl, []) -> {error,enoent}; F(Hrl, [Dir|Dirs]) -> HrlF = filename:join([Dir,Hrl]), case filelib:is_file(HrlF) of true -> {ok, HrlF}; false -> F(Hrl,Dirs) end end, Attr = fun (_F, Mod, behavior, Dep) -> Add(Mod, Dep); (_F, Mod, behaviour, Dep) -> Add(Mod, Dep); (_F, Mod, compile, {parse_transform, Dep}) -> Add(Mod, Dep); (_F, Mod, compile, Opts) when is_list(Opts) -> case proplists:get_value(parse_transform, Opts) of undefined -> ok; Dep -> Add(Mod, Dep) end; (F, Mod, include, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, include_lib, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, import, {Imp, _}) -> IsFile = case lists:keyfind(Imp, 1, Modules) of false -> false; {_, FilePath} -> filelib:is_file(FilePath) end, case IsFile of false -> ok; true -> Add(Mod, Imp) end; (_, _, _, _) -> ok end, MakeDepend = fun (F, Fd, Mod, StartLocation) -> {ok, Filename} = file:pid2name(Fd), case io:parse_erl_form(Fd, undefined, StartLocation) of {ok, AbsData, EndLocation} -> case AbsData of {attribute, _, Key, Value} -> Attr(F, Mod, Key, Value), F(F, Fd, Mod, EndLocation); _ -> F(F, Fd, Mod, EndLocation) end; {eof, _ } -> file:close(Fd); {error, ErrorDescription } -> file:close(Fd); {error, ErrorInfo, ErrorLocation} -> F(F, Fd, Mod, ErrorLocation) end, ok end, [begin Mod = list_to_atom(filename:basename(F, \".erl\")), case file:open(F, [read]) of {ok, Fd} -> MakeDepend(MakeDepend, Fd, Mod,0); {error, enoent} -> ok end end || F <- ErlFiles], Depend = sofs:to_external(sofs:relation_to_family(sofs:relation(ets:tab2list(E)))), CompileFirst = [X || X <- lists:reverse(digraph_utils:topsort(G)), [] =/= digraph:in_neighbours(G, X)], TargetPath = fun(Target) -> case lists:keyfind(Target, 1, Modules) of false -> \"\"; {_, DepFile} -> DirSubname = tl(string:tokens(filename:dirname(DepFile), \"/\")), string:join(DirSubname ++ [atom_to_list(Target)], \"/\") end end, ok = file:write_file(\"recon.d\", unicode:characters_to_binary([ \"# Generated by Erlang.mk. Edit at your own risk!\n\n\", [[F, \"::\", [[\" \", D] || D <- Deps], \"; @touch \$@\n\"] || {F, Deps} <- Depend], \"\nCOMPILE_FIRST +=\", [[\" \", TargetPath(CF)] || CF <- CompileFirst], \"\n\" ])), halt()" -- erlang.mk : make --no-print-directory app-build mkdir -p ebin/ erlc -v +debug_info -o ebin/ -pa ebin/ -I include/ src/recon.erl src/recon_alloc.erl src/recon_lib.erl src/recon_map.erl src/recon_rec.erl src/recon_trace.erl Old inliner: threshold=0 functions=[{insert,2},{merge,2}] if [ -z "$(grep -e '^[^%]*{\s*modules\s*,' src/recon.app.src)" ]; then \ echo "Empty modules entry not found in recon.app.src. Please consult the erlang.mk documentation for instructions." >&2; \ exit 1; \ fi cat src/recon.app.src \ | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \['recon','recon_alloc','recon_lib','recon_map','recon_rec','recon_trace'\]}/" \ | sed "s/{id,[[:space:]]*\"git\"}/{id, \"\"}/" \ > ebin/recon.app : make[2]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon' make[2]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation' make --no-print-directory credentials_obfuscation.d erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " E = ets:new(makedep, [bag]), G = digraph:new([acyclic]), ErlFiles = lists:usort(string:tokens(\"src/credentials_obfuscation.erl src/credentials_obfuscation_app.erl src/credentials_obfuscation_pbe.erl src/credentials_obfuscation_sup.erl src/credentials_obfuscation_svc.erl\", \" \")), DepsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps\", AppsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/apps\", DepsDirsSrc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/aten/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/base64url/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowboy/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cuttlefish/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gen_batch_server/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/getopt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gun/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ra/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_cache/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_http/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_ldap/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_oauth2/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_mechanism_ssl/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prelaunch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_sharding/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_top/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_tracing/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_trust_store/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_dispatch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/src\", DepsDirsInc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/include\", AppsDirsSrc = \"\", AppsDirsInc = \"\", DepsDirs = lists:usort(string:tokens(DepsDirsSrc++DepsDirsInc, \" \")), AppsDirs = lists:usort(string:tokens(AppsDirsSrc++AppsDirsInc, \" \")), Modules = [{list_to_atom(filename:basename(F, \".erl\")), F} || F <- ErlFiles], Add = fun (Mod, Dep) -> case lists:keyfind(Dep, 1, Modules) of false -> ok; {_, DepFile} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), ets:insert(E, {ModFile, DepFile}), digraph:add_vertex(G, Mod), digraph:add_vertex(G, Dep), digraph:add_edge(G, Mod, Dep) end end, AddHd = fun (F, Mod, DepFile) -> case file:open(DepFile, [read]) of {error, enoent} -> ok; {ok, Fd} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), case ets:match(E, {ModFile, DepFile}) of [] -> ets:insert(E, {ModFile, DepFile}), F(F, Fd, Mod,0); _ -> ok end end end, SearchHrl = fun F(_Hrl, []) -> {error,enoent}; F(Hrl, [Dir|Dirs]) -> HrlF = filename:join([Dir,Hrl]), case filelib:is_file(HrlF) of true -> {ok, HrlF}; false -> F(Hrl,Dirs) end end, Attr = fun (_F, Mod, behavior, Dep) -> Add(Mod, Dep); (_F, Mod, behaviour, Dep) -> Add(Mod, Dep); (_F, Mod, compile, {parse_transform, Dep}) -> Add(Mod, Dep); (_F, Mod, compile, Opts) when is_list(Opts) -> case proplists:get_value(parse_transform, Opts) of undefined -> ok; Dep -> Add(Mod, Dep) end; (F, Mod, include, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, include_lib, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, import, {Imp, _}) -> IsFile = case lists:keyfind(Imp, 1, Modules) of false -> false; {_, FilePath} -> filelib:is_file(FilePath) end, case IsFile of false -> ok; true -> Add(Mod, Imp) end; (_, _, _, _) -> ok end, MakeDepend = fun (F, Fd, Mod, StartLocation) -> {ok, Filename} = file:pid2name(Fd), case io:parse_erl_form(Fd, undefined, StartLocation) of {ok, AbsData, EndLocation} -> case AbsData of {attribute, _, Key, Value} -> Attr(F, Mod, Key, Value), F(F, Fd, Mod, EndLocation); _ -> F(F, Fd, Mod, EndLocation) end; {eof, _ } -> file:close(Fd); {error, ErrorDescription } -> file:close(Fd); {error, ErrorInfo, ErrorLocation} -> F(F, Fd, Mod, ErrorLocation) end, ok end, [begin Mod = list_to_atom(filename:basename(F, \".erl\")), case file:open(F, [read]) of {ok, Fd} -> MakeDepend(MakeDepend, Fd, Mod,0); {error, enoent} -> ok end end || F <- ErlFiles], Depend = sofs:to_external(sofs:relation_to_family(sofs:relation(ets:tab2list(E)))), CompileFirst = [X || X <- lists:reverse(digraph_utils:topsort(G)), [] =/= digraph:in_neighbours(G, X)], TargetPath = fun(Target) -> case lists:keyfind(Target, 1, Modules) of false -> \"\"; {_, DepFile} -> DirSubname = tl(string:tokens(filename:dirname(DepFile), \"/\")), string:join(DirSubname ++ [atom_to_list(Target)], \"/\") end end, ok = file:write_file(\"credentials_obfuscation.d\", unicode:characters_to_binary([ \"# Generated by Erlang.mk. Edit at your own risk!\n\n\", [[F, \"::\", [[\" \", D] || D <- Deps], \"; @touch \$@\n\"] || {F, Deps} <- Depend], \"\nCOMPILE_FIRST +=\", [[\" \", TargetPath(CF)] || CF <- CompileFirst], \"\n\" ])), halt()" -- erlang.mk : make --no-print-directory app-build mkdir -p ebin/ erlc -v +debug_info -o ebin/ -pa ebin/ -I include/ src/credentials_obfuscation.erl src/credentials_obfuscation_app.erl src/credentials_obfuscation_pbe.erl src/credentials_obfuscation_sup.erl src/credentials_obfuscation_svc.erl src/credentials_obfuscation_pbe.erl:115: Warning: crypto:block_encrypt/4 is deprecated and will be removed in OTP 24; use use crypto:crypto_one_time/5, crypto:crypto_one_time_aead/6,7 or crypto:crypto_(dyn_iv)?_init + crypto:crypto_(dyn_iv)?_update + crypto:crypto_final instead src/credentials_obfuscation_pbe.erl:127: Warning: crypto:block_decrypt/4 is deprecated and will be removed in OTP 24; use use crypto:crypto_one_time/5, crypto:crypto_one_time_aead/6,7 or crypto:crypto_(dyn_iv)?_init + crypto:crypto_(dyn_iv)?_update + crypto:crypto_final instead if [ -z "$(grep -e '^[^%]*{\s*modules\s*,' src/credentials_obfuscation.app.src)" ]; then \ echo "Empty modules entry not found in credentials_obfuscation.app.src. Please consult the erlang.mk documentation for instructions." >&2; \ exit 1; \ fi cat src/credentials_obfuscation.app.src \ | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \['credentials_obfuscation','credentials_obfuscation_app','credentials_obfuscation_pbe','credentials_obfuscation_sup','credentials_obfuscation_svc'\]}/" \ | sed "s/{id,[[:space:]]*\"git\"}/{id, \"\"}/" \ > ebin/credentials_obfuscation.app : make[2]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation' make --no-print-directory rabbit_common.d make[2]: hostname: No such file or directory env PYTHONPATH=/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_codegen \ python3 /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/codegen.py --ignore-conflicts header \ /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_codegen/amqp-rabbitmq-0.9.1.json /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_codegen/credit_extension.json /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_codegen/amqp-rabbitmq-0.8.json include/rabbit_framing.hrl env PYTHONPATH=/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_codegen \ python3 /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/codegen.py body /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_codegen/amqp-rabbitmq-0.8.json src/rabbit_framing_amqp_0_8.erl env PYTHONPATH=/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_codegen \ python3 /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/codegen.py body /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_codegen/amqp-rabbitmq-0.9.1.json /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_codegen/credit_extension.json src/rabbit_framing_amqp_0_9_1.erl erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " E = ets:new(makedep, [bag]), G = digraph:new([acyclic]), ErlFiles = lists:usort(string:tokens(\"src/app_utils.erl src/code_version.erl src/credit_flow.erl src/delegate.erl src/delegate_sup.erl src/file_handle_cache.erl src/file_handle_cache_stats.erl src/gen_server2.erl src/lager_forwarder_backend.erl src/mirrored_supervisor.erl src/mnesia_sync.erl src/pmon.erl src/priority_queue.erl src/rabbit_amqp_connection.erl src/rabbit_amqqueue_common.erl src/rabbit_auth_backend_dummy.erl src/rabbit_auth_mechanism.erl src/rabbit_authn_backend.erl src/rabbit_authz_backend.erl src/rabbit_basic_common.erl src/rabbit_binary_generator.erl src/rabbit_binary_parser.erl src/rabbit_cert_info.erl src/rabbit_channel_common.erl src/rabbit_command_assembler.erl src/rabbit_control_misc.erl src/rabbit_core_metrics.erl src/rabbit_data_coercion.erl src/rabbit_env.erl src/rabbit_error_logger_handler.erl src/rabbit_event.erl src/rabbit_exchange_type.erl src/rabbit_heartbeat.erl src/rabbit_http_util.erl src/rabbit_json.erl src/rabbit_log.erl src/rabbit_log_ra_shim.erl src/rabbit_misc.erl src/rabbit_msg_store_index.erl src/rabbit_net.erl src/rabbit_nodes_common.erl src/rabbit_numerical.erl src/rabbit_password_hashing.erl src/rabbit_pbe.erl src/rabbit_peer_discovery_backend.erl src/rabbit_policy_validator.erl src/rabbit_queue_collector.erl src/rabbit_registry.erl src/rabbit_registry_class.erl src/rabbit_resource_monitor_misc.erl src/rabbit_runtime.erl src/rabbit_runtime_parameter.erl src/rabbit_semver.erl src/rabbit_semver_parser.erl src/rabbit_ssl_options.erl src/rabbit_types.erl src/rabbit_writer.erl src/supervisor2.erl src/vm_memory_monitor.erl src/worker_pool.erl src/worker_pool_sup.erl src/worker_pool_worker.erl\", \" \")), DepsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps\", AppsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/apps\", DepsDirsSrc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/aten/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/base64url/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowboy/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cuttlefish/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gen_batch_server/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/getopt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gun/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ra/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_cache/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_http/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_ldap/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_oauth2/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_mechanism_ssl/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prelaunch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_sharding/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_top/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_tracing/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_trust_store/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_dispatch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/src\", DepsDirsInc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/include\", AppsDirsSrc = \"\", AppsDirsInc = \"\", DepsDirs = lists:usort(string:tokens(DepsDirsSrc++DepsDirsInc, \" \")), AppsDirs = lists:usort(string:tokens(AppsDirsSrc++AppsDirsInc, \" \")), Modules = [{list_to_atom(filename:basename(F, \".erl\")), F} || F <- ErlFiles], Add = fun (Mod, Dep) -> case lists:keyfind(Dep, 1, Modules) of false -> ok; {_, DepFile} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), ets:insert(E, {ModFile, DepFile}), digraph:add_vertex(G, Mod), digraph:add_vertex(G, Dep), digraph:add_edge(G, Mod, Dep) end end, AddHd = fun (F, Mod, DepFile) -> case file:open(DepFile, [read]) of {error, enoent} -> ok; {ok, Fd} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), case ets:match(E, {ModFile, DepFile}) of [] -> ets:insert(E, {ModFile, DepFile}), F(F, Fd, Mod,0); _ -> ok end end end, SearchHrl = fun F(_Hrl, []) -> {error,enoent}; F(Hrl, [Dir|Dirs]) -> HrlF = filename:join([Dir,Hrl]), case filelib:is_file(HrlF) of true -> {ok, HrlF}; false -> F(Hrl,Dirs) end end, Attr = fun (_F, Mod, behavior, Dep) -> Add(Mod, Dep); (_F, Mod, behaviour, Dep) -> Add(Mod, Dep); (_F, Mod, compile, {parse_transform, Dep}) -> Add(Mod, Dep); (_F, Mod, compile, Opts) when is_list(Opts) -> case proplists:get_value(parse_transform, Opts) of undefined -> ok; Dep -> Add(Mod, Dep) end; (F, Mod, include, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, include_lib, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, import, {Imp, _}) -> IsFile = case lists:keyfind(Imp, 1, Modules) of false -> false; {_, FilePath} -> filelib:is_file(FilePath) end, case IsFile of false -> ok; true -> Add(Mod, Imp) end; (_, _, _, _) -> ok end, MakeDepend = fun (F, Fd, Mod, StartLocation) -> {ok, Filename} = file:pid2name(Fd), case io:parse_erl_form(Fd, undefined, StartLocation) of {ok, AbsData, EndLocation} -> case AbsData of {attribute, _, Key, Value} -> Attr(F, Mod, Key, Value), F(F, Fd, Mod, EndLocation); _ -> F(F, Fd, Mod, EndLocation) end; {eof, _ } -> file:close(Fd); {error, ErrorDescription } -> file:close(Fd); {error, ErrorInfo, ErrorLocation} -> F(F, Fd, Mod, ErrorLocation) end, ok end, [begin Mod = list_to_atom(filename:basename(F, \".erl\")), case file:open(F, [read]) of {ok, Fd} -> MakeDepend(MakeDepend, Fd, Mod,0); {error, enoent} -> ok end end || F <- ErlFiles], Depend = sofs:to_external(sofs:relation_to_family(sofs:relation(ets:tab2list(E)))), CompileFirst = [X || X <- lists:reverse(digraph_utils:topsort(G)), [] =/= digraph:in_neighbours(G, X)], TargetPath = fun(Target) -> case lists:keyfind(Target, 1, Modules) of false -> \"\"; {_, DepFile} -> DirSubname = tl(string:tokens(filename:dirname(DepFile), \"/\")), string:join(DirSubname ++ [atom_to_list(Target)], \"/\") end end, ok = file:write_file(\"rabbit_common.d\", unicode:characters_to_binary([ \"# Generated by Erlang.mk. Edit at your own risk!\n\n\", [[F, \"::\", [[\" \", D] || D <- Deps], \"; @touch \$@\n\"] || {F, Deps} <- Depend], \"\nCOMPILE_FIRST +=\", [[\" \", TargetPath(CF)] || CF <- CompileFirst], \"\n\" ])), halt()" -- erlang.mk : make --no-print-directory app-build make[2]: hostname: No such file or directory mkdir -p ebin/ erlc -v +debug_info +warn_export_vars +warn_shadow_vars +warn_obsolete_guard +'{parse_transform,lager_transform}' +'{lager_extra_sinks,[rabbit_log,rabbit_log_channel,rabbit_log_connection,rabbit_log_feature_flags,rabbit_log_federation,rabbit_log_ldap,rabbit_log_mirroring,rabbit_log_prelaunch,rabbit_log_queue,rabbit_log_ra,rabbit_log_shovel,rabbit_log_upgrade]}' -o ebin/ -pa ebin/ -I include/ src/rabbit_registry_class.erl src/gen_server2.erl src/rabbit_authz_backend.erl src/rabbit_authn_backend.erl src/app_utils.erl src/code_version.erl src/credit_flow.erl src/delegate.erl src/delegate_sup.erl src/file_handle_cache.erl src/file_handle_cache_stats.erl src/gen_server2.erl src/lager_forwarder_backend.erl src/mirrored_supervisor.erl src/mnesia_sync.erl src/pmon.erl src/priority_queue.erl src/rabbit_amqp_connection.erl src/rabbit_amqqueue_common.erl src/rabbit_auth_backend_dummy.erl src/rabbit_auth_mechanism.erl src/rabbit_authn_backend.erl src/rabbit_authz_backend.erl src/rabbit_basic_common.erl src/rabbit_binary_generator.erl src/rabbit_binary_parser.erl src/rabbit_cert_info.erl src/rabbit_channel_common.erl src/rabbit_command_assembler.erl src/rabbit_control_misc.erl src/rabbit_core_metrics.erl src/rabbit_data_coercion.erl src/rabbit_env.erl src/rabbit_error_logger_handler.erl src/rabbit_event.erl src/rabbit_exchange_type.erl src/rabbit_framing_amqp_0_8.erl src/rabbit_framing_amqp_0_9_1.erl src/rabbit_heartbeat.erl src/rabbit_http_util.erl src/rabbit_json.erl src/rabbit_log.erl src/rabbit_log_ra_shim.erl src/rabbit_misc.erl src/rabbit_msg_store_index.erl src/rabbit_net.erl src/rabbit_nodes_common.erl src/rabbit_numerical.erl src/rabbit_password_hashing.erl src/rabbit_pbe.erl src/rabbit_peer_discovery_backend.erl src/rabbit_policy_validator.erl src/rabbit_queue_collector.erl src/rabbit_registry.erl src/rabbit_registry_class.erl src/rabbit_resource_monitor_misc.erl src/rabbit_runtime.erl src/rabbit_runtime_parameter.erl src/rabbit_semver.erl src/rabbit_semver_parser.erl src/rabbit_ssl_options.erl src/rabbit_types.erl src/rabbit_writer.erl src/supervisor2.erl src/vm_memory_monitor.erl src/worker_pool.erl src/worker_pool_sup.erl src/worker_pool_worker.erl printf '{application, '\''rabbit_common'\'', [\n {description, "Modules shared by rabbitmq-server and rabbitmq-erlang-client"},\n {vsn, "3.8.5"},\n {id, ""},\n {modules, ['\''app_utils'\'','\''code_version'\'','\''credit_flow'\'','\''delegate'\'','\''delegate_sup'\'','\''file_handle_cache'\'','\''file_handle_cache_stats'\'','\''gen_server2'\'','\''lager_forwarder_backend'\'','\''mirrored_supervisor'\'','\''mnesia_sync'\'','\''pmon'\'','\''priority_queue'\'','\''rabbit_amqp_connection'\'','\''rabbit_amqqueue_common'\'','\''rabbit_auth_backend_dummy'\'','\''rabbit_auth_mechanism'\'','\''rabbit_authn_backend'\'','\''rabbit_authz_backend'\'','\''rabbit_basic_common'\'','\''rabbit_binary_generator'\'','\''rabbit_binary_parser'\'','\''rabbit_cert_info'\'','\''rabbit_channel_common'\'','\''rabbit_command_assembler'\'','\''rabbit_control_misc'\'','\''rabbit_core_metrics'\'','\''rabbit_data_coercion'\'','\''rabbit_env'\'','\''rabbit_error_logger_handler'\'','\''rabbit_event'\'','\''rabbit_exchange_type'\'','\''rabbit_framing_amqp_0_8'\'','\''rabbit_framing_amqp_0_9_1'\'','\''rabbit_heartbeat'\'','\''rabbit_http_util'\'','\''rabbit_json'\'','\''rabbit_log'\'','\''rabbit_log_ra_shim'\'','\''rabbit_misc'\'','\''rabbit_msg_store_index'\'','\''rabbit_net'\'','\''rabbit_nodes_common'\'','\''rabbit_numerical'\'','\''rabbit_password_hashing'\'','\''rabbit_pbe'\'','\''rabbit_peer_discovery_backend'\'','\''rabbit_policy_validator'\'','\''rabbit_queue_collector'\'','\''rabbit_registry'\'','\''rabbit_registry_class'\'','\''rabbit_resource_monitor_misc'\'','\''rabbit_runtime'\'','\''rabbit_runtime_parameter'\'','\''rabbit_semver'\'','\''rabbit_semver_parser'\'','\''rabbit_ssl_options'\'','\''rabbit_types'\'','\''rabbit_writer'\'','\''supervisor2'\'','\''vm_memory_monitor'\'','\''worker_pool'\'','\''worker_pool_sup'\'','\''worker_pool_worker'\'']},\n {registered, []},\n {applications, [kernel,stdlib,compiler,crypto,public_key,sasl,ssl,syntax_tools,tools,xmerl,lager,jsx,ranch,recon,credentials_obfuscation]},\n {env, []},\n %%%% Hex.pm package informations.\n {licenses, ["MPL 1.1"]},\n {links, [\n {"Website", "https://www.rabbitmq.com/"},\n {"GitHub", "https://github.com/rabbitmq/rabbitmq-common"}\n ]},\n {build_tools, ["make", "rebar3"]},\n {files, [\n "erlang.mk",\n "git-revisions.txt",\n "include",\n "LICENSE*",\n "Makefile",\n "rabbitmq-components.mk",\n "README",\n "README.md",\n "src",\n "mk"\n ]}\n]}.' \ > ebin/rabbit_common.app if ! erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " case file:consult(\"ebin/rabbit_common.app\") of {ok, _} -> halt(); _ -> halt(1) end" -- erlang.mk; then \ echo "The .app file produced is invalid. Please verify the value of PROJECT_ENV." >&2; \ exit 1; \ fi : make[1]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common' make[1]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit' make[1]: hostname: No such file or directory make[1]: hostname: No such file or directory set -e; for dep in /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/apps/rabbitmq_prelaunch ; do \ mkdir -p $dep/ebin; \ done : set -e; for dep in /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/apps/rabbitmq_prelaunch ; do \ if grep -qs ^$dep$ /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/apps.log; then \ :; \ else \ echo $dep >> /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/apps.log; \ make -C $dep IS_APP=1; \ fi \ done make[2]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/apps/rabbitmq_prelaunch' set -e; for dep in /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager; do \ if grep -qs ^$dep$ /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; then \ :; \ else \ echo $dep >> /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; \ if [ -z "" ] && ! (echo "amqp_client amqp10_common amqp10_client rabbit rabbit_common rabbitmq_amqp1_0 rabbitmq_auth_backend_amqp rabbitmq_auth_backend_cache rabbitmq_auth_backend_http rabbitmq_auth_backend_ldap rabbitmq_auth_backend_oauth2 rabbitmq_auth_mechanism_ssl rabbitmq_aws rabbitmq_boot_steps_visualiser rabbitmq_cli rabbitmq_codegen rabbitmq_consistent_hash_exchange rabbitmq_ct_client_helpers rabbitmq_ct_helpers rabbitmq_delayed_message_exchange rabbitmq_dotnet_client rabbitmq_event_exchange rabbitmq_federation rabbitmq_federation_management rabbitmq_java_client rabbitmq_jms_client rabbitmq_jms_cts rabbitmq_jms_topic_exchange rabbitmq_lvc_exchange rabbitmq_management rabbitmq_management_agent rabbitmq_management_exchange rabbitmq_management_themes rabbitmq_message_timestamp rabbitmq_metronome rabbitmq_mqtt rabbitmq_objc_client rabbitmq_peer_discovery_aws rabbitmq_peer_discovery_common rabbitmq_peer_discovery_consul rabbitmq_peer_discovery_etcd rabbitmq_peer_discovery_k8s rabbitmq_prometheus rabbitmq_random_exchange rabbitmq_recent_history_exchange rabbitmq_routing_node_stamp rabbitmq_rtopic_exchange rabbitmq_server_release rabbitmq_sharding rabbitmq_shovel rabbitmq_shovel_management rabbitmq_stomp rabbitmq_toke rabbitmq_top rabbitmq_tracing rabbitmq_trust_store rabbitmq_web_dispatch rabbitmq_web_mqtt rabbitmq_web_mqtt_examples rabbitmq_web_stomp rabbitmq_web_stomp_examples rabbitmq_website" | grep -qw "$(basename "$dep")") && [ ! -L $dep ] && [ -f $dep/ebin/dep_built ]; then \ :; \ elif [ -f $dep/GNUmakefile ] || [ -f $dep/makefile ] || [ -f $dep/Makefile ]; then \ make -C $dep IS_DEP=1; \ if [ ! -L $dep ] && [ -d $dep/ebin ]; then touch $dep/ebin/dep_built; fi; \ else \ echo "Error: No Makefile to build dependency $dep." >&2; \ exit 2; \ fi \ fi \ done : make --no-print-directory rabbitmq_prelaunch.d erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " E = ets:new(makedep, [bag]), G = digraph:new([acyclic]), ErlFiles = lists:usort(string:tokens(\"src/rabbit_boot_state.erl src/rabbit_boot_state_sup.erl src/rabbit_boot_state_systemd.erl src/rabbit_prelaunch.erl src/rabbit_prelaunch_app.erl src/rabbit_prelaunch_conf.erl src/rabbit_prelaunch_dist.erl src/rabbit_prelaunch_early_logging.erl src/rabbit_prelaunch_erlang_compat.erl src/rabbit_prelaunch_errors.erl src/rabbit_prelaunch_sighandler.erl src/rabbit_prelaunch_sup.erl\", \" \")), DepsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps\", AppsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/apps/rabbitmq_prelaunch/apps\", DepsDirsSrc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/aten/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/base64url/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowboy/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cuttlefish/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gen_batch_server/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/getopt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gun/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ra/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_cache/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_http/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_ldap/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_oauth2/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_mechanism_ssl/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prelaunch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_sharding/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_top/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_tracing/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_trust_store/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_dispatch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/src\", DepsDirsInc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/include\", AppsDirsSrc = \"\", AppsDirsInc = \"\", DepsDirs = lists:usort(string:tokens(DepsDirsSrc++DepsDirsInc, \" \")), AppsDirs = lists:usort(string:tokens(AppsDirsSrc++AppsDirsInc, \" \")), Modules = [{list_to_atom(filename:basename(F, \".erl\")), F} || F <- ErlFiles], Add = fun (Mod, Dep) -> case lists:keyfind(Dep, 1, Modules) of false -> ok; {_, DepFile} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), ets:insert(E, {ModFile, DepFile}), digraph:add_vertex(G, Mod), digraph:add_vertex(G, Dep), digraph:add_edge(G, Mod, Dep) end end, AddHd = fun (F, Mod, DepFile) -> case file:open(DepFile, [read]) of {error, enoent} -> ok; {ok, Fd} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), case ets:match(E, {ModFile, DepFile}) of [] -> ets:insert(E, {ModFile, DepFile}), F(F, Fd, Mod,0); _ -> ok end end end, SearchHrl = fun F(_Hrl, []) -> {error,enoent}; F(Hrl, [Dir|Dirs]) -> HrlF = filename:join([Dir,Hrl]), case filelib:is_file(HrlF) of true -> {ok, HrlF}; false -> F(Hrl,Dirs) end end, Attr = fun (_F, Mod, behavior, Dep) -> Add(Mod, Dep); (_F, Mod, behaviour, Dep) -> Add(Mod, Dep); (_F, Mod, compile, {parse_transform, Dep}) -> Add(Mod, Dep); (_F, Mod, compile, Opts) when is_list(Opts) -> case proplists:get_value(parse_transform, Opts) of undefined -> ok; Dep -> Add(Mod, Dep) end; (F, Mod, include, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, include_lib, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, import, {Imp, _}) -> IsFile = case lists:keyfind(Imp, 1, Modules) of false -> false; {_, FilePath} -> filelib:is_file(FilePath) end, case IsFile of false -> ok; true -> Add(Mod, Imp) end; (_, _, _, _) -> ok end, MakeDepend = fun (F, Fd, Mod, StartLocation) -> {ok, Filename} = file:pid2name(Fd), case io:parse_erl_form(Fd, undefined, StartLocation) of {ok, AbsData, EndLocation} -> case AbsData of {attribute, _, Key, Value} -> Attr(F, Mod, Key, Value), F(F, Fd, Mod, EndLocation); _ -> F(F, Fd, Mod, EndLocation) end; {eof, _ } -> file:close(Fd); {error, ErrorDescription } -> file:close(Fd); {error, ErrorInfo, ErrorLocation} -> F(F, Fd, Mod, ErrorLocation) end, ok end, [begin Mod = list_to_atom(filename:basename(F, \".erl\")), case file:open(F, [read]) of {ok, Fd} -> MakeDepend(MakeDepend, Fd, Mod,0); {error, enoent} -> ok end end || F <- ErlFiles], Depend = sofs:to_external(sofs:relation_to_family(sofs:relation(ets:tab2list(E)))), CompileFirst = [X || X <- lists:reverse(digraph_utils:topsort(G)), [] =/= digraph:in_neighbours(G, X)], TargetPath = fun(Target) -> case lists:keyfind(Target, 1, Modules) of false -> \"\"; {_, DepFile} -> DirSubname = tl(string:tokens(filename:dirname(DepFile), \"/\")), string:join(DirSubname ++ [atom_to_list(Target)], \"/\") end end, ok = file:write_file(\"rabbitmq_prelaunch.d\", unicode:characters_to_binary([ \"# Generated by Erlang.mk. Edit at your own risk!\n\n\", [[F, \"::\", [[\" \", D] || D <- Deps], \"; @touch \$@\n\"] || {F, Deps} <- Depend], \"\nCOMPILE_FIRST +=\", [[\" \", TargetPath(CF)] || CF <- CompileFirst], \"\n\" ])), halt()" -- erlang.mk : make --no-print-directory app-build erlc -v +debug_info +warn_export_vars +warn_shadow_vars +warn_obsolete_guard -pa /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/_build/dev/lib/rabbitmqctl/ebin +'{parse_transform,lager_transform}' +'{lager_extra_sinks,[rabbit_log,rabbit_log_channel,rabbit_log_connection,rabbit_log_feature_flags,rabbit_log_federation,rabbit_log_ldap,rabbit_log_mirroring,rabbit_log_prelaunch,rabbit_log_queue,rabbit_log_ra,rabbit_log_shovel,rabbit_log_upgrade]}' -o ebin/ -pa ebin/ -I include/ src/rabbit_boot_state.erl src/rabbit_boot_state_sup.erl src/rabbit_boot_state_systemd.erl src/rabbit_prelaunch.erl src/rabbit_prelaunch_app.erl src/rabbit_prelaunch_conf.erl src/rabbit_prelaunch_dist.erl src/rabbit_prelaunch_early_logging.erl src/rabbit_prelaunch_erlang_compat.erl src/rabbit_prelaunch_errors.erl src/rabbit_prelaunch_sighandler.erl src/rabbit_prelaunch_sup.erl printf '{application, '\''rabbitmq_prelaunch'\'', [\n {description, "RabbitMQ prelaunch setup"},\n {vsn, "3.8.5"},\n {id, ""},\n {modules, ['\''rabbit_boot_state'\'','\''rabbit_boot_state_sup'\'','\''rabbit_boot_state_systemd'\'','\''rabbit_prelaunch'\'','\''rabbit_prelaunch_app'\'','\''rabbit_prelaunch_conf'\'','\''rabbit_prelaunch_dist'\'','\''rabbit_prelaunch_early_logging'\'','\''rabbit_prelaunch_erlang_compat'\'','\''rabbit_prelaunch_errors'\'','\''rabbit_prelaunch_sighandler'\'','\''rabbit_prelaunch_sup'\'']},\n {registered, [rabbitmq_prelaunch_sup]},\n {applications, [kernel,stdlib,rabbit_common,lager]},\n {mod, {rabbit_prelaunch_app, []}},\n {env, []}\n]}.' \ > ebin/rabbitmq_prelaunch.app if ! erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " case file:consult(\"ebin/rabbitmq_prelaunch.app\") of {ok, _} -> halt(); _ -> halt(1) end" -- erlang.mk; then \ echo "The .app file produced is invalid. Please verify the value of PROJECT_ENV." >&2; \ exit 1; \ fi : make[2]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/apps/rabbitmq_prelaunch' set -e; for dep in /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cuttlefish /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ra /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli; do \ if grep -qs ^$dep$ /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; then \ :; \ else \ echo $dep >> /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; \ if [ -z "" ] && ! (echo "amqp_client amqp10_common amqp10_client rabbit rabbit_common rabbitmq_amqp1_0 rabbitmq_auth_backend_amqp rabbitmq_auth_backend_cache rabbitmq_auth_backend_http rabbitmq_auth_backend_ldap rabbitmq_auth_backend_oauth2 rabbitmq_auth_mechanism_ssl rabbitmq_aws rabbitmq_boot_steps_visualiser rabbitmq_cli rabbitmq_codegen rabbitmq_consistent_hash_exchange rabbitmq_ct_client_helpers rabbitmq_ct_helpers rabbitmq_delayed_message_exchange rabbitmq_dotnet_client rabbitmq_event_exchange rabbitmq_federation rabbitmq_federation_management rabbitmq_java_client rabbitmq_jms_client rabbitmq_jms_cts rabbitmq_jms_topic_exchange rabbitmq_lvc_exchange rabbitmq_management rabbitmq_management_agent rabbitmq_management_exchange rabbitmq_management_themes rabbitmq_message_timestamp rabbitmq_metronome rabbitmq_mqtt rabbitmq_objc_client rabbitmq_peer_discovery_aws rabbitmq_peer_discovery_common rabbitmq_peer_discovery_consul rabbitmq_peer_discovery_etcd rabbitmq_peer_discovery_k8s rabbitmq_prometheus rabbitmq_random_exchange rabbitmq_recent_history_exchange rabbitmq_routing_node_stamp rabbitmq_rtopic_exchange rabbitmq_server_release rabbitmq_sharding rabbitmq_shovel rabbitmq_shovel_management rabbitmq_stomp rabbitmq_toke rabbitmq_top rabbitmq_tracing rabbitmq_trust_store rabbitmq_web_dispatch rabbitmq_web_mqtt rabbitmq_web_mqtt_examples rabbitmq_web_stomp rabbitmq_web_stomp_examples rabbitmq_website" | grep -qw "$(basename "$dep")") && [ ! -L $dep ] && [ -f $dep/ebin/dep_built ]; then \ :; \ elif [ -f $dep/GNUmakefile ] || [ -f $dep/makefile ] || [ -f $dep/Makefile ]; then \ make -C $dep IS_DEP=1; \ if [ ! -L $dep ] && [ -d $dep/ebin ]; then touch $dep/ebin/dep_built; fi; \ else \ echo "Error: No Makefile to build dependency $dep." >&2; \ exit 2; \ fi \ fi \ done make[2]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli' make[2]: hostname: No such file or directory make[2]: hostname: No such file or directory set -e; for dep in /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli; do \ if grep -qs ^$dep$ /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; then \ :; \ else \ echo $dep >> /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; \ if [ -z "" ] && ! (echo "amqp_client amqp10_common amqp10_client rabbit rabbit_common rabbitmq_amqp1_0 rabbitmq_auth_backend_amqp rabbitmq_auth_backend_cache rabbitmq_auth_backend_http rabbitmq_auth_backend_ldap rabbitmq_auth_backend_oauth2 rabbitmq_auth_mechanism_ssl rabbitmq_aws rabbitmq_boot_steps_visualiser rabbitmq_cli rabbitmq_codegen rabbitmq_consistent_hash_exchange rabbitmq_ct_client_helpers rabbitmq_ct_helpers rabbitmq_delayed_message_exchange rabbitmq_dotnet_client rabbitmq_event_exchange rabbitmq_federation rabbitmq_federation_management rabbitmq_java_client rabbitmq_jms_client rabbitmq_jms_cts rabbitmq_jms_topic_exchange rabbitmq_lvc_exchange rabbitmq_management rabbitmq_management_agent rabbitmq_management_exchange rabbitmq_management_themes rabbitmq_message_timestamp rabbitmq_metronome rabbitmq_mqtt rabbitmq_objc_client rabbitmq_peer_discovery_aws rabbitmq_peer_discovery_common rabbitmq_peer_discovery_consul rabbitmq_peer_discovery_etcd rabbitmq_peer_discovery_k8s rabbitmq_prometheus rabbitmq_random_exchange rabbitmq_recent_history_exchange rabbitmq_routing_node_stamp rabbitmq_rtopic_exchange rabbitmq_server_release rabbitmq_sharding rabbitmq_shovel rabbitmq_shovel_management rabbitmq_stomp rabbitmq_toke rabbitmq_top rabbitmq_tracing rabbitmq_trust_store rabbitmq_web_dispatch rabbitmq_web_mqtt rabbitmq_web_mqtt_examples rabbitmq_web_stomp rabbitmq_web_stomp_examples rabbitmq_website" | grep -qw "$(basename "$dep")") && [ ! -L $dep ] && [ -f $dep/ebin/dep_built ]; then \ :; \ elif [ -f $dep/GNUmakefile ] || [ -f $dep/makefile ] || [ -f $dep/Makefile ]; then \ make -C $dep IS_DEP=1; \ if [ ! -L $dep ] && [ -d $dep/ebin ]; then touch $dep/ebin/dep_built; fi; \ else \ echo "Error: No Makefile to build dependency $dep." >&2; \ exit 2; \ fi \ fi \ done make[3]: Entering directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli' set -e; for dep in /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon; do \ if grep -qs ^$dep$ /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; then \ :; \ else \ echo $dep >> /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/deps.log; \ if [ -z "" ] && [ ! -L $dep ] && [ -f $dep/ebin/dep_built ]; then \ :; \ elif [ -f $dep/GNUmakefile ] || [ -f $dep/makefile ] || [ -f $dep/Makefile ]; then \ make -C $dep IS_DEP=1; \ if [ ! -L $dep ] && [ -d $dep/ebin ]; then touch $dep/ebin/dep_built; fi; \ else \ echo "Error: No Makefile to build dependency $dep." >&2; \ exit 2; \ fi \ fi \ done make --no-print-directory observer_cli.d if test -d ../.hex; then \ echo y | mix make_all_in_src_archive; \ else \ echo y | mix make_all; \ fi : erl +A1 -noinput -boot no_dot_erlang -pz /builddir/build/BUILD/rabbitmq-server-3.8.5/.erlang.mk/rebar/ebin -eval " E = ets:new(makedep, [bag]), G = digraph:new([acyclic]), ErlFiles = lists:usort(string:tokens(\"src/observer_cli.erl src/observer_cli_application.erl src/observer_cli_escriptize.erl src/observer_cli_ets.erl src/observer_cli_help.erl src/observer_cli_inet.erl src/observer_cli_lib.erl src/observer_cli_mnesia.erl src/observer_cli_plugin.erl src/observer_cli_port.erl src/observer_cli_process.erl src/observer_cli_store.erl src/observer_cli_system.erl\", \" \")), DepsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps\", AppsDir = \"/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/apps\", DepsDirsSrc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp10_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/aten/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/base64url/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowboy/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cuttlefish/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gen_batch_server/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/getopt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/goldrush/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/gun/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jsx/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ra/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_cache/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_http/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_ldap/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_backend_oauth2/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_auth_mechanism_ssl/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_aws/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prelaunch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_prometheus/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_sharding/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel_management/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_top/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_tracing/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_trust_store/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_dispatch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_mqtt_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_web_stomp_examples/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/ranch/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/recon/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/src /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/src\", DepsDirsInc = \" /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/accept/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/amqp_client/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/cowlib/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/credentials_obfuscation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/eetcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/jose/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/lager/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/prometheus/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_amqp1_0/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_aws/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_consistent_hash_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_event_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_federation/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_jms_topic_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_management_agent/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_mqtt/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_common/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_consul/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_etcd/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_peer_discovery_k8s/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_random_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_recent_history_exchange/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_shovel/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_stomp/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/stdout_formatter/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/syslog/include /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/sysmon_handler/include\", AppsDirsSrc = \"\", AppsDirsInc = \"\", DepsDirs = lists:usort(string:tokens(DepsDirsSrc++DepsDirsInc, \" \")), AppsDirs = lists:usort(string:tokens(AppsDirsSrc++AppsDirsInc, \" \")), Modules = [{list_to_atom(filename:basename(F, \".erl\")), F} || F <- ErlFiles], Add = fun (Mod, Dep) -> case lists:keyfind(Dep, 1, Modules) of false -> ok; {_, DepFile} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), ets:insert(E, {ModFile, DepFile}), digraph:add_vertex(G, Mod), digraph:add_vertex(G, Dep), digraph:add_edge(G, Mod, Dep) end end, AddHd = fun (F, Mod, DepFile) -> case file:open(DepFile, [read]) of {error, enoent} -> ok; {ok, Fd} -> {_, ModFile} = lists:keyfind(Mod, 1, Modules), case ets:match(E, {ModFile, DepFile}) of [] -> ets:insert(E, {ModFile, DepFile}), F(F, Fd, Mod,0); _ -> ok end end end, SearchHrl = fun F(_Hrl, []) -> {error,enoent}; F(Hrl, [Dir|Dirs]) -> HrlF = filename:join([Dir,Hrl]), case filelib:is_file(HrlF) of true -> {ok, HrlF}; false -> F(Hrl,Dirs) end end, Attr = fun (_F, Mod, behavior, Dep) -> Add(Mod, Dep); (_F, Mod, behaviour, Dep) -> Add(Mod, Dep); (_F, Mod, compile, {parse_transform, Dep}) -> Add(Mod, Dep); (_F, Mod, compile, Opts) when is_list(Opts) -> case proplists:get_value(parse_transform, Opts) of undefined -> ok; Dep -> Add(Mod, Dep) end; (F, Mod, include, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, include_lib, Hrl) -> case SearchHrl(Hrl, [\"src\", \"include\",AppsDir,DepsDir]++AppsDirs++DepsDirs) of {ok, FoundHrl} -> AddHd(F, Mod, FoundHrl); {error, _} -> false end; (F, Mod, import, {Imp, _}) -> IsFile = case lists:keyfind(Imp, 1, Modules) of false -> false; {_, FilePath} -> filelib:is_file(FilePath) end, case IsFile of false -> ok; true -> Add(Mod, Imp) end; (_, _, _, _) -> ok end, MakeDepend = fun (F, Fd, Mod, StartLocation) -> {ok, Filename} = file:pid2name(Fd), case io:parse_erl_form(Fd, undefined, StartLocation) of {ok, AbsData, EndLocation} -> case AbsData of {attribute, _, Key, Value} -> Attr(F, Mod, Key, Value), F(F, Fd, Mod, EndLocation); _ -> F(F, Fd, Mod, EndLocation) end; {eof, _ } -> file:close(Fd); {error, ErrorDescription } -> file:close(Fd); {error, ErrorInfo, ErrorLocation} -> F(F, Fd, Mod, ErrorLocation) end, ok end, [begin Mod = list_to_atom(filename:basename(F, \".erl\")), case file:open(F, [read]) of {ok, Fd} -> MakeDepend(MakeDepend, Fd, Mod,0); {error, enoent} -> ok end end || F <- ErlFiles], Depend = sofs:to_external(sofs:relation_to_family(sofs:relation(ets:tab2list(E)))), CompileFirst = [X || X <- lists:reverse(digraph_utils:topsort(G)), [] =/= digraph:in_neighbours(G, X)], TargetPath = fun(Target) -> case lists:keyfind(Target, 1, Modules) of false -> \"\"; {_, DepFile} -> DirSubname = tl(string:tokens(filename:dirname(DepFile), \"/\")), string:join(DirSubname ++ [atom_to_list(Target)], \"/\") end end, ok = file:write_file(\"observer_cli.d\", unicode:characters_to_binary([ \"# Generated by Erlang.mk. Edit at your own risk!\n\n\", [[F, \"::\", [[\" \", D] || D <- Deps], \"; @touch \$@\n\"] || {F, Deps} <- Depend], \"\nCOMPILE_FIRST +=\", [[\" \", TargetPath(CF)] || CF <- CompileFirst], \"\n\" ])), halt()" -- erlang.mk warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell) : make --no-print-directory app-build mkdir -p ebin/ erlc -v +debug_info -o ebin/ -pa ebin/ -I include/ src/observer_cli.erl src/observer_cli_application.erl src/observer_cli_escriptize.erl src/observer_cli_ets.erl src/observer_cli_help.erl src/observer_cli_inet.erl src/observer_cli_lib.erl src/observer_cli_mnesia.erl src/observer_cli_plugin.erl src/observer_cli_port.erl src/observer_cli_process.erl src/observer_cli_store.erl src/observer_cli_system.erl Resolving Hex dependencies... Dependency resolution completed: Unchanged: csv 2.3.1 json 1.2.5 observer_cli 1.5.4 parallel_stream 1.0.6 recon 2.5.1 stdout_formatter 0.2.3 * Getting json (Hex package) * Getting csv (Hex package) * Getting stdout_formatter (Hex package) * Getting observer_cli (Hex package) * Getting recon (Hex package) * Getting parallel_stream (Hex package) ==> stdout_formatter Compiling 4 files (.erl) Inlining: inline_size=24 inline_effort=150 Generated stdout_formatter app warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted, and quotes should only be used to introduce keywords with foreign characters in them /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/deps/parallel_stream/mix.exs:17 ==> parallel_stream Compiling 11 files (.ex) warning: Stream.chunk/4 is deprecated. Use Stream.chunk_every/4 instead lib/parallel_stream/producer.ex:16 Generated parallel_stream app ==> json Compiling 13 files (.ex) if [ -z "$(grep -e '^[^%]*{\s*modules\s*,' src/observer_cli.app.src)" ]; then \ echo "Empty modules entry not found in observer_cli.app.src. Please consult the erlang.mk documentation for instructions." >&2; \ exit 1; \ fi cat src/observer_cli.app.src \ | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \['observer_cli','observer_cli_application','observer_cli_escriptize','observer_cli_ets','observer_cli_help','observer_cli_inet','observer_cli_lib','observer_cli_mnesia','observer_cli_plugin','observer_cli_port','observer_cli_process','observer_cli_store','observer_cli_system'\]}/" \ | sed "s/{id,[[:space:]]*\"git\"}/{id, \"\"}/" \ > ebin/observer_cli.app : make[3]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli' Generated json app ==> recon Compiling 6 files (.erl) Generated recon app ==> csv Compiling 10 files (.ex) Generated csv app ==> observer_cli Compiling 13 files (.erl) Generated observer_cli app ==> rabbitmqctl ** (Mix) You're trying to run :rabbitmqctl on Elixir v1.7.3 but it has declared in its mix.exs file it supports only Elixir >= 1.8.0 and < 1.11.0 make[2]: *** [Makefile:100: escript/rabbitmqctl] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli' make[1]: *** [erlang.mk:4504: deps] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit' make: *** [erlang.mk:4504: deps] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Xc4ZtM (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Xc4ZtM (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rabbitmq-server.spec