Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417237 - stabilization of erlang-15.2 breaks latest stable ejabberd-2.1.9
Summary: stabilization of erlang-15.2 breaks latest stable ejabberd-2.1.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords: STABLEREQ
: 418145 424037 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-23 09:19 UTC by Dirk Olmes
Modified: 2013-10-06 15:33 UTC (History)
4 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 Dirk Olmes 2012-05-23 09:19:21 UTC
Recently, erlang-15.2 became stable. Ejabberd 2.1.9 refuses to start and fails with errors like this:

=ERROR REPORT==== 2012-05-23 09:56:12 ===
Error in process <0.175.0> on node 'ejabberd@it1' with exit value: {{case_clause,{error,driver_inc
orrect_version}},[{ejabberd_app,init,0,[]}]}


=INFO REPORT==== 2012-05-23 09:56:13 ===
    application: ejabberd
    exited: {bad_return,
                {{ejabberd_app,start,[normal,[]]},
                 {'EXIT',
                     {badarg,
                         [{erlang,port_control,
                              [stringprep_port,2,"localhost"],
                              []},
                          {stringprep,control,2,[]},
                          {jlib,nodeprep,1,[]},
                          {ejabberd_config,normalize_hosts,2,[]},
                          {ejabberd_config,add_hosts_to_option,2,[]},
                          {lists,foldl,3,[{file,"lists.erl"},{line,1197}]},
                          {ejabberd_config,load_file,1,[]},
                          {ejabberd_config,start,0,[]}]}}}}
    type: temporary

A bit of googling around found e.g. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657759 which suggests that ejabberd-2.1.9 will not work with the newer erlang version - looks like this dependency slipped in the stabilization process.

As a workaround, I updated to ejabberd-2.1.10 which worked for me. So I guess ejabberd-2.1.10  should be stabilized to prevent other users to fall into the same trap.
Comment 1 Agostino Sarubbo gentoo-dev 2012-05-23 13:15:19 UTC
(In reply to comment #0)
> Recently, erlang-15.2 became stable. Ejabberd 2.1.9 refuses to start and
> fails with errors like this:

Is ok here:

amd64box ~ # /etc/init.d/ejabberd start
ejabberd           | * Starting ejabberd ...                                                                                                                                  [ ok ]
amd64box ~ #                     



amd64box ~ # qlist -ICv | grep erlang
dev-lang/erlang-15.2
Comment 2 Philippe Chaintreuil 2012-05-23 22:18:13 UTC
I'm seeing what Dirk Olmes is seeing.  net-im/ejabberd-2.1.9 doesn't work for me on an amd64 with dev-lang/erlang-15.2 (aka R15B), even after a rebuild of ejabberd-2.1.9.  The init script looks like it worked, but the logs disagree.

(Uname: Linux bain 2.6.39-hardened-r8 #4 SMP PREEMPT Sat Jan 21 16:40:55 EST 2012 x86_64 AMD Phenom(tm) II P960 Quad-Core Processor AuthenticAMD GNU/Linux)
Comment 3 Kolan Sh. 2012-05-24 10:12:00 UTC
(In reply to comment #0)
> Recently, erlang-15.2 became stable. Ejabberd 2.1.9 refuses to start and
> As a workaround, I updated to ejabberd-2.1.10 which worked for me. So I
> guess ejabberd-2.1.10  should be stabilized to prevent other users to fall
> into the same trap.

Can confirm that. Works either ejabberd-2.1.9 with erlang-13.2.4 either ejabberd-2.1.10 with erlang-15.2. ejabberd-2.1.9 with erlang-15.2 does not work.
Comment 4 cyberbat 2012-05-24 11:31:18 UTC
I confirm this on x86. You can also see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657759
Comment 5 Szász Endre István 2012-05-24 14:50:10 UTC
I can confirm this bug on ~amd64.
Comment 6 Philippe Chaintreuil 2012-05-24 14:59:00 UTC
Sounds like 2.1.9 should get marked that it doesn't work with 15.2 at minimum.  The stabilization of 2.1.10 would be nice.
Comment 7 Kristian 2012-05-28 19:25:00 UTC
I just hit that one. Only reverting erlang back to previous stable (erlang-13.2.4) does not constitute a painless workaround, since it does not build with latest stable zlib (1.2.5.1-r2). See bug <a href="https://bugs.gentoo.org/show_bug.cgi?id=383697">383697</a>, comment 17. I had to unmask ejabberd-2.1.10, to make it work again.
Comment 8 Philippe Chaintreuil 2012-05-28 19:36:01 UTC
Sounds like stabilization of ejabberd-2.1.10 would be a good thing.

It's been working for me for several days without issue on an amd64.
Comment 9 Agostino Sarubbo gentoo-dev 2012-05-29 15:57:54 UTC
*** Bug 418145 has been marked as a duplicate of this bug. ***
Comment 10 Tim Harder gentoo-dev 2012-05-30 23:41:33 UTC
2.1.10 is being stabilized in bug #418313.
Comment 11 Tim Harder gentoo-dev 2012-06-02 02:46:34 UTC
Closing since this shouldn't be an issue anymore with 2.1.10 now stabilized.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2012-07-03 09:42:10 UTC
*** Bug 424037 has been marked as a duplicate of this bug. ***