Versions up until 3.5.3 emerged fine on this sytem. See attachaged log, the interesting part seems to be : src/rabbit_net.erl:27: can't find include lib "ssl/src/ssl_api.hrl" Reproducible: Always
Created attachment 424246 [details] build.log
still valid as of net-misc/rabbitmq-server-3.6.1
Thomas, sorry for the delay here. Is your erlang package compiled with the ssl USE flag ? Please check by running : $ equery u erlang I think the ebuild may be missing this dependency
*** Bug 589052 has been marked as a duplicate of this bug. ***
FYI I've added the ssl dependency to erlang in 3.6.5 ebuild and dropped the other 3.6 ebuilds as some other bugs got reported about them too.
Yes, it seems my erlang was built with ssl: verdi ~ # equery u erlang ... + + ssl : Add support for Secure Socket Layer connections and also: verdi ~ # genlop -i erlang ... USE="smp ssl -compat-ethread -doc -emacs -halfword -hipe -java -kpoll -odbc -sctp -tk -wxwidgets"
I tried the last ebuild, it still fails: >>> '/usr/unsecure/tmp/portage/net-misc/rabbitmq-server-3.6.5/temp/build.log' ... GEN src/rabbit_framing_amqp_0_9_1.erl DEPEND rabbit_common.d ERLC app_utils.erl code_version.erl credit_flow.erl gen_server2.erl mirrored_supervisor.erl mochijson2.erl pmon.erl priority_queue.erl rabbit_amqqueue.erl rabbit_auth_backend_dummy.erl rabbit_auth_backend_internal.erl rabbit_auth_mechanism.erl rabbit_authn_backend.erl rabbit_authz_backend.erl rabbit_backing_queue.erl rabbit_basic.erl rabbit_binary_generator.erl rabbit_binary_parser.erl rabbit_channel.erl rabbit_channel_interceptor.erl rabbit_command_assembler.erl rabbit_control_misc.erl rabbit_ct_broker_helpers.erl rabbit_ct_helpers.erl rabbit_data_coercion.erl rabbit_error_logger_handler.erl rabbit_event.erl rabbit_exchange_decorator.erl rabbit_exchange_type.erl rabbit_framing_amqp_0_8.erl rabbit_framing_amqp_0_9_1.erl rabbit_health_check.erl rabbit_heartbeat.erl rabbit_misc.erl rabbit_msg_store_index.erl rabbit_net.erl rabbit_networking.erl rabbit_nodes.erl rabbit_password_hashing.erl rabbit_policy_validator.erl rabbit_queue_collector.erl rabbit_queue_decorator.erl rabbit_queue_master_locator.erl rabbit_reader.erl rabbit_runtime_parameter.erl rabbit_types.erl rabbit_writer.erl rand_compat.erl ssl_compat.erl supervisor2.erl time_compat.erl src/rabbit_net.erl:27: can't find include lib "ssl/src/ssl_api.hrl" src/rabbit_net.erl:94: record sslsocket undefined src/rabbit_net.erl:104: record sslsocket undefined src/rabbit_net.erl:109: record sslsocket undefined src/rabbit_net.erl:114: record sslsocket undefined
hmmm so I still can't reproduce this bug and I have still no clue what's wrong :(
My erlang version was stuck at 15.2.3.1 because of another package (ejabberd). Upgrading to the last stable (18.3 as of today) brings the much needed file: verdi portage # equery files erlang |grep ssl_api /usr/lib64/erlang/lib/ssl-7.3/src/ssl_api.hrl So i guess the real problem is just that rabbitmq-server requires a recent enough version or erlang, and that this dependancy is not well set in the ebuild. To be clear: dev-lang/erlang-15.2.3.1 was not enough dev-lang/erlang-18.3 is ok
Thanks, since 18 is the minimal version in tree now, closing.