[MacPorts] #51894: rabbitmq-server @3.5.7: build fails with erlang 19.0

MacPorts noreply at macports.org
Sat Jul 23 13:06:17 PDT 2016


#51894: rabbitmq-server @3.5.7: build fails with erlang 19.0
-----------------------------+--------------------------------
 Reporter:  md14-macports@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.3.4
 Keywords:                   |       Port:  rabbitmq-server
-----------------------------+--------------------------------
 The rabbitmq-server @3.5.7 port does not build after upgrading to erlang
 @19.0.

 {{{
 $ port -vs install rabbitmq-server
 ...
 echo
 src/app_utils.erl:src/background_gc.erl:src/credit_flow.erl:src/delegate.erl:src/delegate_sup.erl:src/dtree.erl:src/file_handle_cache.erl:src/file_handle_cache_stats.erl:src/gatherer.erl:src/gen_server2.erl:src/gm.erl:src/lqueue.erl:src/mirrored_supervisor.erl:src/mirrored_supervisor_sups.erl:src/mnesia_sync.erl:src/mochijson2.erl:src/mochinum.erl:src/pg2_fixed.erl:src/pg_local.erl:src/pmon.erl:src/priority_queue.erl:src/rabbit.erl:src/rabbit_access_control.erl:src/rabbit_alarm.erl:src/rabbit_amqqueue.erl:src/rabbit_amqqueue_process.erl:src/rabbit_amqqueue_sup.erl:src/rabbit_amqqueue_sup_sup.erl:src/rabbit_auth_backend_dummy.erl:src/rabbit_auth_backend_internal.erl:src/rabbit_auth_mechanism.erl:src/rabbit_auth_mechanism_amqplain.erl:src/rabbit_auth_mechanism_cr_demo.erl:src/rabbit_auth_mechanism_plain.erl:src/rabbit_authn_backend.erl:src/rabbit_authz_backend.erl:src/rabbit_autoheal.erl:src/rabbit_backing_queue.erl:src/rabbit_basic.erl:src/rabbit_binary_generator.erl:src/rabbit_binary_parser.erl:src/rabbit_binding.erl:src/rabbit_channel.erl:src/rabbit_channel_interceptor.erl:src/rabbit_channel_sup.erl:src/rabbit_channel_sup_sup.erl:src/rabbit_cli.erl:src/rabbit_client_sup.erl:src/rabbit_command_assembler.erl:src/rabbit_connection_helper_sup.erl:src/rabbit_connection_sup.erl:src/rabbit_control_main.erl:src/rabbit_ctl_misc.erl:src/rabbit_dead_letter.erl:src/rabbit_diagnostics.erl:src/rabbit_direct.erl:src/rabbit_disk_monitor.erl:src/rabbit_epmd_monitor.erl:src/rabbit_error_logger.erl:src/rabbit_error_logger_file_h.erl:src/rabbit_event.erl:src/rabbit_exchange.erl:src/rabbit_exchange_decorator.erl:src/rabbit_exchange_type.erl:src/rabbit_exchange_type_direct.erl:src/rabbit_exchange_type_fanout.erl:src/rabbit_exchange_type_headers.erl:src/rabbit_exchange_type_invalid.erl:src/rabbit_exchange_type_topic.erl:src/rabbit_file.erl:src/rabbit_framing.erl:src/rabbit_guid.erl:src/rabbit_heartbeat.erl:src/rabbit_limiter.erl:src/rabbit_log.erl:src/rabbit_memory_monitor.erl:src/rabbit_mirror_queue_coordinator.erl:src/rabbit_mirror_queue_master.erl:src/rabbit_mirror_queue_misc.erl:src/rabbit_mirror_queue_mode.erl:src/rabbit_mirror_queue_mode_all.erl:src/rabbit_mirror_queue_mode_exactly.erl:src/rabbit_mirror_queue_mode_nodes.erl:src/rabbit_mirror_queue_slave.erl:src/rabbit_mirror_queue_sync.erl:src/rabbit_misc.erl:src/rabbit_mnesia.erl:src/rabbit_mnesia_rename.erl:src/rabbit_msg_file.erl:src/rabbit_msg_store.erl:src/rabbit_msg_store_ets_index.erl:src/rabbit_msg_store_gc.erl:src/rabbit_msg_store_index.erl:src/rabbit_net.erl:src/rabbit_networking.erl:src/rabbit_node_monitor.erl:src/rabbit_nodes.erl:src/rabbit_parameter_validation.erl:src/rabbit_plugins.erl:src/rabbit_plugins_main.erl:src/rabbit_policies.erl:src/rabbit_policy.erl:src/rabbit_policy_validator.erl:src/rabbit_prelaunch.erl:src/rabbit_prequeue.erl:src/rabbit_priority_queue.erl:src/rabbit_queue_collector.erl:src/rabbit_queue_consumers.erl:src/rabbit_queue_decorator.erl:src/rabbit_queue_index.erl:src/rabbit_reader.erl:src/rabbit_recovery_terms.erl:src/rabbit_registry.erl:src/rabbit_restartable_sup.erl:src/rabbit_router.erl:src/rabbit_runtime_parameter.erl:src/rabbit_runtime_parameters.erl:src/rabbit_sasl_report_file_h.erl:src/rabbit_ssl.erl:src/rabbit_sup.erl:src/rabbit_table.erl:src/rabbit_trace.erl:src/rabbit_types.erl:src/rabbit_upgrade.erl:src/rabbit_upgrade_functions.erl:src/rabbit_variable_queue.erl:src/rabbit_version.erl:src/rabbit_vhost.erl:src/rabbit_vm.erl:src/rabbit_writer.erl:src/ssl_compat.erl:src/supervised_lifecycle.erl:src/supervisor2.erl:src/tcp_acceptor.erl:src/tcp_acceptor_sup.erl:src/tcp_listener.erl:src/tcp_listener_sup.erl:src/time_compat.erl:src/truncate.erl:src/vm_memory_monitor.erl:src/worker_pool.erl:src/worker_pool_sup.erl:src/worker_pool_worker.erl:src/rabbit_framing_amqp_0_9_1.erl:src/rabbit_framing_amqp_0_8.erl:src/rabbit_ctl_usage.erl:src/rabbit_plugins_usage.erl:include/gm_specs.hrl:include/rabbit.hrl:include/rabbit_cli.hrl:include/rabbit_msg_store.hrl:include/rabbit_framing.hrl:
 | escript generate_deps deps.mk ebin
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/work
 /rabbitmq-server-3.5.7'
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/work
 /rabbitmq-server-3.5.7'
 escript generate_app ebin/rabbit_app.in ebin/rabbit.app src
 erlc -o ebin -I include -Wall +warn_export_vars -v +debug_info
 -Duse_specs -DINSTR_MOD=gm -pa ebin src/app_utils.erl
 erlc -o ebin -I include -Wall +warn_export_vars -v +debug_info
 -Duse_specs -DINSTR_MOD=gm -pa ebin src/gen_server2.erl
 src/gen_server2.erl:231: syntax error before: '/'
 src/gen_server2.erl:233: syntax error before: '/'
 src/gen_server2.erl:234: syntax error before: '/'
 src/gen_server2.erl:235: syntax error before: '/'
 src/gen_server2.erl:229: Warning: type gs2_state() is unused
 src/gen_server2.erl:627: Warning: erlang:now/0: Deprecated BIF. See the
 "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for
 more information.
 src/gen_server2.erl:698: Warning: erlang:now/0: Deprecated BIF. See the
 "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for
 more information.
 src/gen_server2.erl:706: Warning: erlang:now/0: Deprecated BIF. See the
 "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for
 more information.
 src/gen_server2.erl:763: Warning: random:uniform_s/2: the 'random' module
 is deprecated; use the 'rand' module instead
 make: *** [ebin/gen_server2.beam] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/work
 /rabbitmq-server-3.5.7'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/work
 /rabbitmq-server-3.5.7" && /usr/bin/make -w all PYTHON=python2.7
 Exit code: 2
 Error: org.macports.build for port rabbitmq-server returned: command
 execution failed
 }}}

 The current version of RabbitMQ is 3.6.3, so maybe this problem has been
 fixed upstream.

-- 
Ticket URL: <https://trac.macports.org/ticket/51894>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list