Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#52428 closed defect (fixed)

port install rabbitmq-server - failed

Reported by: gulios@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: rabbitmq-server

Description

--->  Computing dependencies for rabbitmq-server
--->  Building rabbitmq-server
Error: org.macports.build for port rabbitmq-server returned: command execution failed
Please see the log file for port rabbitmq-server for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port rabbitmq-server failed

From /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/main.log

:notice:build --->  Building rabbitmq-server
:debug:build Executing org.macports.build (rabbitmq-server)
:debug:build port disallows a parallel build
:debug:build Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
HOME='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/work'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.12'
VERSION='3.5.7'
:debug:build Assembled command: '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'
:debug:build Executing command line:  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
:info:build 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'
:info:build erlc -o ebin -I include -Wall +warn_export_vars -v +debug_info   -Duse_specs -DINSTR_MOD=gm -pa ebin src/gen_server2.erl
:info:build src/gen_server2.erl:231: syntax error before: '/'
:info:build src/gen_server2.erl:233: syntax error before: '/'
:info:build src/gen_server2.erl:234: syntax error before: '/'
:info:build src/gen_server2.erl:235: syntax error before: '/'
:info:build src/gen_server2.erl:229: Warning: type gs2_state() is unused
:info:build 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.
:info:build 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.
:info:build 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.
:info:build src/gen_server2.erl:763: Warning: random:uniform_s/2: the 'random' module is deprecated; use the 'rand' module instead
:info:build make: *** [ebin/gen_server2.beam] Error 1
:info:build 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'
:info:build 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
:info:build Exit code: 2
:error:build org.macports.build for port rabbitmq-server returned: command execution failed
:debug:build Error code: CHILDSTATUS 36794 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for rabbitmq-server: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port rabbitmq-server for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/main.log

Attachments (1)

rabbitmq-server.patch (6.1 KB) - added by seanfarley (Sean Farley) 4 years ago.
update rabbitmq to newest version; should fix compiling errors

Download all attachments as: .zip

Change History (9)

comment:1 Changed 4 years ago by ryandesign (Ryan Schmidt)

Keywords: rabbitmq removed
Owner: changed from macports-tickets@… to hayder.net@…

Confirmed on OS X El Capitan with Xcode 7.3.1.

comment:2 Changed 4 years ago by seanfarley (Sean Farley)

Owner: changed from hayder.net@… to sean@…
Status: newassigned

I'm working on a fix for this now.

Changed 4 years ago by seanfarley (Sean Farley)

Attachment: rabbitmq-server.patch added

update rabbitmq to newest version; should fix compiling errors

comment:3 Changed 4 years ago by gulios@…

There is still version in repositories

rabbitmq-server @3.5.7 (net)
    The RabbitMQ AMQP Server

Can you push it to public?
Thx

Last edited 4 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:4 Changed 4 years ago by seanfarley (Sean Farley)

Well, I'm waiting to see if anyone has any feedback. I'll push it up soon.

comment:5 Changed 4 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

Fixed in r153377

comment:6 Changed 4 years ago by gulios@…

Thank you, installation works fine.

There is another issue(maybe connected to port or version) It's not possible to enable management plugin.

sudo rabbitmq-plugins enable rabbitmq_management
Error: {cannot_read_enabled_plugins_file,
           "/opt/local/lib/rabbitmq/lib/rabbitmq_server-3.6.5/etc/rabbitmq/enabled_plugins",
           eisdir}

Thx again!

comment:7 Changed 4 years ago by seanfarley (Sean Farley)

Can you open another ticket for that? I don't have the time right now but will try to figure it out later.

comment:8 Changed 4 years ago by gulios@…

ok, #52475

Thx

Last edited 4 years ago by ryandesign (Ryan Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.