Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370639 - net-misc/rabbitmq-server-2.4.1 with dev-lang/erlang-14.2.3 - src/rabbit_networking.erl:49: type hostname() undefined
Summary: net-misc/rabbitmq-server-2.4.1 with dev-lang/erlang-14.2.3 - src/rabbit_netwo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 08:37 UTC by Ilia Glazkov
Modified: 2011-07-25 09:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Added version restriction to ebuild (rabbitmq-server-2.4.1-r1.ebuild,2.23 KB, text/plain)
2011-06-08 08:38 UTC, Ilia Glazkov
Details
build.log of failing compilation (build.log,8.99 KB, text/plain)
2011-06-10 06:27 UTC, Ilia Glazkov
Details
emerge --info (emerge_info,14.33 KB, text/plain)
2011-06-10 06:28 UTC, Ilia Glazkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilia Glazkov 2011-06-08 08:37:51 UTC
Latest (for ~amd64) rabbitmq-server-2.4.1 doesn't build with latest Erlang version R14B03, which is mentioned at:
http://groups.google.com/group/rabbitmq-discuss/browse_thread/thread/93131cb2c1e7773c
http://stackoverflow.com/questions/6186974/error-building-rabbitmq-server

So there should be version restriction in rabbitmq-server ebuild like '<=dev-lang/erlang-14.2.2-r1'.

Reproducible: Always

Steps to Reproduce:
1. emerge rabbitmq-server
Actual Results:  
Build fails with:
src/rabbit_networking.erl:49: type hostname() undefined
src/rabbit_networking.erl:71: type ip_port() undefined
make: *** [ebin/rabbit_networking.beam] Error 1

Expected Results:  
Installed rabbitmq.
Comment 1 Ilia Glazkov 2011-06-08 08:38:52 UTC
Created attachment 276255 [details]
Added version restriction to ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-09 22:58:03 UTC
Comment on attachment 276255 [details]
Added version restriction to ebuild

No need to add an entire ebuild. Even a patch (unified diff) would be too much.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-09 22:59:06 UTC
1) Please attach the entire build log showingbthe failure.
2) Please attach your `emerge --info' output.
3) Then reopen this bug report.
Comment 4 Ilia Glazkov 2011-06-10 06:27:41 UTC
Created attachment 276451 [details]
build.log of failing compilation
Comment 5 Ilia Glazkov 2011-06-10 06:28:20 UTC
Created attachment 276453 [details]
emerge --info
Comment 6 Ilia Glazkov 2011-06-10 06:37:57 UTC
Added requested files and reopening bug
Comment 7 Dmitry Suloev 2011-06-29 17:31:44 UTC
Same problem on ~amd64 and ~x86
Comment 8 Dmitry Suloev 2011-06-29 17:39:55 UTC
Problem solved in RabbitMQ 2.5.0: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2011-June/013248.html
Comment 9 Dmitry Suloev 2011-06-29 17:46:42 UTC
As a temporary solution may be masked by all the above ebuild Erlang version 14.2.2-r1.
Comment 10 Alexandru Scvortov 2011-07-18 07:39:31 UTC
(In reply to comment #8)
> Problem solved in RabbitMQ 2.5.0:
> http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2011-June/013248.html

And 2.5.1, which was released a few weeks ago.  Filed bug 375533 to get that into Portage.
Comment 11 Benedikt Böhm (RETIRED) gentoo-dev 2011-07-25 09:36:17 UTC
DEPEND for 2.4.1 has been fixed, and 2.5.1 is in the tree too