Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564042 - net-im/ejabberd-15.03 fails to build with erlang-18.0
Summary: net-im/ejabberd-15.03 fails to build with erlang-18.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-25 09:49 UTC by Alexander Sergeyev
Modified: 2016-06-07 22:45 UTC (History)
4 users (show)

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


Attachments
failed ejabberd build log (build.log,18.19 KB, text/x-log)
2015-10-25 09:49 UTC, Alexander Sergeyev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Sergeyev 2015-10-25 09:49:17 UTC
Created attachment 415426 [details]
failed ejabberd build log

The last available version of ejabberd in portage (15.03) uses deprecated and removed from erlang-18 (it is in portage) feature:

Actual error message (full build.log is attached):
/var/tmp/portage/net-im/ejabberd-15.03-r1/work/ejabberd-15.03/deps/p1_stun/src/stun_listener.erl:39: type dict() undefined
ERROR: compile failed while processing /var/tmp/portage/net-im/ejabberd-15.03-r1/work/ejabberd-15.03/deps/p1_stun: rebar_abort

The corresponding bug could be found there: https://github.com/processone/ejabberd/issues/640
The bug is apparently closed after version ejabberd-15.07. Could a new ebuild for the version be added to portage tree?
Comment 1 Alexander Sergeyev 2015-10-25 10:09:07 UTC
As far as I can see the version bump is already in progress (bug #549724).

ejabberd-15.03 builds successfully with older version of erlang, so the following version restriction should be added: <dev-lang/erlang-18.0.
Comment 2 Amadeusz Żołnowski (RETIRED) gentoo-dev 2016-06-07 22:45:15 UTC
ejabberd-16.04 builds fine with erlang-18.3. All not stable versions of ejabberd below 16.04 are going to be removed in few days.