Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554296 - net-im/ejabberd-15.03-r1: build failed with old erlang
Summary: net-im/ejabberd-15.03-r1: build failed with old erlang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-09 06:41 UTC by Semen Panevin
Modified: 2016-06-07 22:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Semen Panevin 2015-07-09 06:41:36 UTC
src/ejabberd_auth_odbc.erl:86: function binary_to_integer/1 undefined
src/ejabberd_auth_odbc.erl:171: function integer_to_binary/1 undefined
src/ejabberd_auth_odbc.erl:207: function integer_to_binary/1 undefined
src/ejabberd_auth_odbc.erl:281: function binary_to_integer/1 undefined
src/ejabberd_auth_odbc.erl:442: function integer_to_binary/1 undefined
src/ejabberd_auth_odbc.erl:456: function integer_to_binary/1 undefined
src/ejabberd_auth_odbc.erl:30: Warning: behaviour ejabberd_auth undefined
ERROR: compile failed while processing /var/tmp/portage/net-im/ejabberd-15.03-r1/work/ejabberd-15.03: rebar_abort
Makefile:84: recipe for target 'deps/.built' failed
make: *** [deps/.built] Error 1
 * ERROR: net-im/ejabberd-15.03-r1::gentoo failed (compile phase):
 *   emake failed


dev-lang/erlang-15.2.3.1

Here https://www.ejabberd.im/node/24819 it is said that it is already fixed in ejabberd but gentoo repo still doesn't have these changes

Reproducible: Always

Steps to Reproduce:
ACCEPT_KEYWORDS="~x86" emerge ejabberd
Actual Results:  
build failed

Expected Results:  
build successful

Guys, come on! People can't update ejabberd (and erlang because of it) for years! Very annoying...
Comment 1 Tim Harder gentoo-dev 2015-07-09 21:55:36 UTC
(In reply to Semen Panevin from comment #0)
> Guys, come on! People can't update ejabberd (and erlang because of it) for
> years! Very annoying...

Use the latest stable version of erlang which is 17.3, there are numerous other issues with the old 15.2 version in the tree.
Comment 2 Semen Panevin 2015-07-10 05:32:35 UTC
Until it's marked as required version in ebuild I assume that the old version is compatible.

Also now I have working version of the old ejabberd which requires the old erlang so if I upgrade erlang it requires me to uninstall the old ejabberd and if something wrong with build of the new one - I get nothing... It's bad upgrade flow.
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2016-06-07 22:42:56 UTC
Fixed in >=ejabberd-16.01. All not stable versions below 16.04 are going to be removed in few days.