Error installing rabbitmq-server via MacPorts on OS Mavericks

96 views
Skip to first unread message

AB

unread,
Sep 23, 2014, 3:24:05 PM9/23/14
to rabbitm...@googlegroups.com

Hi, all.

I'm equally new to both RabbitMQ and MacPorts.

Anyway, the Subject Says It All.

This is the error I'm getting.

Thank you for any help you can provide.


% sudo port install rabbitmq-server
--->  Computing dependencies for rabbitmq-server

--->  Dependencies to be installed: erlang gawk gettext expat libiconv gperf ncurses readline xz openssl zlib git curl curl-ca-bundle perl5 perl5.16 gdbm libidn pkgconfig p5.16-authen-sasl p5.16-digest-hmac p5.16-digest-sha1 p5.16-gssapi p5.16-error p5.16-net-smtp-ssl p5.16-io-socket-ssl p5.16-net-libidn p5.16-net-ssleay p5.16-term-readkey pcre autoconf m4 automake bzip2 libedit libtool python27 db46 db_select python_select sqlite3 rsync popt libxslt libxml2
--->  Fetching archive for expat
--->  Attempting to fetch expat-2.1.0_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/expat
--->  Attempting to fetch expat-2.1.0_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/expat
--->  Attempting to fetch expat-2.1.0_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/expat
--->  Fetching distfiles for expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://aarnet.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://citylan.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://garr.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://heanet.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://hivelocity.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://internode.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://jaist.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://kent.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://nchc.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://netcologne.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://optimate.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://softlayer-dal.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://switch.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://ufpr.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://waix.dl.sourceforge.net/project/expat/expat/2.1.0
--->  Attempting to fetch expat-2.1.0.tar.gz from http://distfiles.macports.org/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://cjj.kr.distfiles.macports.org/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://jog.id.distfiles.macports.org/macports/mpdistfiles/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://lil.fr.distfiles.macports.org/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://nue.de.distfiles.macports.org/macports/distfiles/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/expat
--->  Attempting to fetch expat-2.1.0.tar.gz from http://svn.macports.org/repository/macports/distfiles/expat
Error: org.macports.fetch for port expat returned: fetch failed
Error: Failed to install expat
Please see the log file for port expat for details:
   
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
Error: The following dependencies were not installed: erlang gawk gettext expat libiconv gperf ncurses readline xz openssl zlib git curl curl-ca-bundle perl5 perl5.16 gdbm libidn pkgconfig p5.16-authen-sasl p5.16-digest-hmac p5.16-digest-sha1 p5.16-gssapi p5.16-error p5.16-net-smtp-ssl p5.16-io-socket-ssl p5.16-net-libidn p5.16-net-ssleay p5.16-term-readkey pcre autoconf m4 automake bzip2 libedit libtool python27 db46 db_select python_select sqlite3 rsync popt libxslt libxml2
To report a bug, follow the instructions in the guide:
    http
://guide.macports.org/#project.tickets
Error: Processing of port rabbitmq-server failed


Here are the contents of the log file mentioned at the end of the above:


% cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
version
:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 501
:debug:main Executing org.macports.main (expat)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (expat)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Tue Sep 23 13:23:31 EDT 2014
:notice:fetch --->  Fetching distfiles for expat
:debug:fetch Executing org.macports.fetch (expat)
:info:fetch --->  expat-2.1.0.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/expat
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://aarnet.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Failed to connect to 2001:388:30bc:cafe::c0de: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://citylan.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Failed to connect to 2a03:1800:1:7::2: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Failed to connect to 2a01:e0d:1:8:58bf:fa88::1: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://garr.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Failed to connect to 2001:760:ffff:b0::34: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://heanet.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Failed to connect to 2001:770:18:aa40::c101:c142: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://hivelocity.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30035 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://internode.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30058 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://jaist.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Failed to connect to 2001:df0:2ed:feed::feed: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://kent.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30055 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://nchc.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Failed to connect to 2001:e10:ffff:1f02::17: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://netcologne.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Failed to connect to 2001:4dd0:1234:6::5f: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://optimate.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30048 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://softlayer-dal.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30048 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://superb-dca2.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30051 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://switch.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30057 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://ufpr.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Failed to connect to 2801:82:80ff:8000::3: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://waix.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30043 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30525 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30041 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://cjj.kr.distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30520 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/expat
:debug:fetch Fetching distfile failed: Failed to connect to 2001:760:ffff:b1::34: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30435 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://jog.id.distfiles.macports.org/macports/mpdistfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30433 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://lil.fr.distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Failed to connect to 2001:41d0:a:588b:1::2: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://nue.de.distfiles.macports.org/macports/distfiles/expat
:debug:fetch Fetching distfile failed: Failed to connect to 2001:638:a000:1021:21::1: No route to host
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30141 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30534 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30429 milliseconds
:notice:fetch --->  Attempting to fetch expat-2.1.0.tar.gz from http://svn.macports.org/repository/macports/distfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30019 milliseconds
:error:fetch org.macports.fetch for port expat returned: fetch failed
:debug:fetch Error code: NONE
:debug:fetch Backtrace: fetch failed
    while executing
"portfetch::fetchfiles"
    (procedure "portfetch::fetch_main" line 17)
    invoked from within
"portfetch::fetch_main org.macports.fetch"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:fetch Warning: targets not executed for expat: org.macports.activate org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:fetch Failed to install expat
:debug:fetch Registry error: libxml2 not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:fetch Please see the log file for port expat for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log




Michael Klishin

unread,
Sep 23, 2014, 3:30:06 PM9/23/14
to rabbitm...@googlegroups.com, AB
On 23 September 2014 at 23:24:14, AB (angst...@comcast.net) wrote:
> :debug:fetch Executing org.macports.fetch (expat)
> :info:fetch ---> expat-2.1.0.tar.gz doesn't seem to exist
> in /opt/local/var/macports/distfiles/expat
> :notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz
> from http://aarnet.dl.sourceforge.net/project/expat/expat/2.1.0
> :debug:fetch Fetching distfile failed: Failed to connect to
> 2001:388:30bc:cafe::c0de: No route to host
> :notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz
> from http://citylan.dl.sourceforge.net/project/expat/expat/2.1.0
> :debug:fetch Fetching distfile failed: Failed to connect to
> 2a03:1800:1:7::2: No route to host
> :notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz
> from http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0
> :debug:fetch Fetching distfile failed: Failed to connect to
> 2a01:e0d:1:8:58bf:fa88::1: No route to host
> :notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz
> from http://garr.dl.sourceforge.net/project/expat/expat/2.1.0

Your machine can't route traffic to garr.dl.sourceforge.net.
It may be a [likely temporary]  SourceForge or your network configuration issue.

Either way, I really recommend using Homebrew instead of MacPorts.
--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Alvaro Videla

unread,
Sep 23, 2014, 3:33:37 PM9/23/14
to AB, rabbitm...@googlegroups.com
Hi,

As the message says:

Error: org.macports.fetch for port expat returned: fetch failed
Error: Failed to install expat

So for some reason "expat" can't be installed. 

Is there a reason why you don't use homebrew?

In any case, we also provide a tarball that you can just download and run: http://www.rabbitmq.com/install-standalone-mac.html

Regards,

Alvaro

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

AB

unread,
Sep 23, 2014, 4:18:36 PM9/23/14
to rabbitm...@googlegroups.com, angst...@comcast.net

FWIW, I discovered that when I click on all the sourceforge.net links in my original post, I get rerouted to a new sourceforge.net directory.

Not knowing anything about how MacPorts "ports" files are written, is it possible that they are pointing to an old directory structure or something?

Also, as for MacPorts, it's what was suggested to me (in a non-dogmatic way) for doing package management stuff on a Mac.

Is it a clunker and should I be looking into Homebrew instead?

(But it still probably behoove the Rabbit people to look at their MacPort install link...)

Thanks again!

Michael Klishin

unread,
Sep 23, 2014, 4:21:14 PM9/23/14
to rabbitm...@googlegroups.com, AB
 On 24 September 2014 at 00:18:42, AB (angst...@comcast.net) wrote:
> Not knowing anything about how MacPorts "ports" files are written,
> is it possible that they are pointing to an old directory structure
> or something?

Yes, MacPorts are not actively used these days, so it can be out of date.

> Also, as for MacPorts, it's what was suggested to me (in a non-dogmatic
> way) for doing package management stuff on a Mac.
>
> Is it a clunker and should I be looking into Homebrew instead?

Homebrew is what 95+% of developers I know use on OS X. It has a *very* active
community.

> (But it still probably behoove the Rabbit people to look at their
> MacPort install link...)

We do not maintain the MacPorts port. We do try to keep Homebrew's RabbitMQ
formula up-to-date, though it also wasn't developed by us.
Reply all
Reply to author
Forward
0 new messages