Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218870 - net-im/ejabberd-2.0.0-r1 uses deprecated erlang function PKIX1Explicit88
Summary: net-im/ejabberd-2.0.0-r1 uses deprecated erlang function PKIX1Explicit88
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 11:58 UTC by Jörg Eitemüller
Modified: 2008-07-19 12:26 UTC (History)
3 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 Jörg Eitemüller 2008-04-22 11:58:41 UTC
As far as I understand it, ejabberd-2.0.0-r1 uses the PKIX1Explicit88-fuction which got removed in later versions of erlang. Starting a connection to the ejabberd results in the following error being logged in the /var/log/jabber/ejabberd.log:

** Reason for termination = 
** {'module could not be loaded',
       [{'PKIX1Explicit88',decode,
            ['X520CommonName',
             <<19,13,106,97,98,98,101,114,46,99,99,99,46,100,101>>]},
        {ejabberd_s2s_in,'-get_cert_domains/1-fun-0-',1},
        {lists,flatmap,2},
        {lists,flatmap,2},
        {ejabberd_s2s_in,get_cert_domains,1},
        {ejabberd_s2s_in,wait_for_feature_request,2},
        {gen_fsm,handle_msg,7},
        {proc_lib,init_p,5}]}



Reproducible: Always

Steps to Reproduce:
1. Install
2. Use SSL
3. Connect
Actual Results:  
Login termination, error in serverlog.

Expected Results:  
Successfull login, no error.

Versions and USE-flags:
[ebuild   R   ] dev-lang/erlang-12.2.1  USE="odbc ssl -doc -emacs -hipe -java -kpoll -smp -tk" 0 kB 
[ebuild   R   ] net-im/ejabberd-2.0.0-r1  USE="mod_muc mod_pubsub odbc ssl web zlib -debug -ldap -mod_irc" 0 kB
Comment 1 Jörg Eitemüller 2008-04-22 12:09:00 UTC
A related URL of this would be: https://support.process-one.net/browse/EJAB-556
Comment 2 Dennis Schridde 2008-04-27 01:12:32 UTC
Fix can be found here: https://forge.process-one.net/changelog/ejabberd/?cs=1226
With the patch at: https://forge.process-one.net/rdiff/ejabberd?csid=1226&u&N
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2008-04-28 23:47:25 UTC
(In reply to comment #2)
> Fix can be found here:
> https://forge.process-one.net/changelog/ejabberd/?cs=1226
> With the patch at: https://forge.process-one.net/rdiff/ejabberd?csid=1226&u&N

 Did you try the patch?
Comment 4 Dennis Schridde 2008-04-29 00:23:54 UTC
No, I just took "Fix committed to ejabberd trunk and 2.0.x branch in SVN r1226." and followed the white rabbit. ;)

Note that Gentoo needs just a part of that patch: branches/ejabberd-2.0.x/, while the trunk/ part needs to be removed.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2008-04-30 12:07:38 UTC
Jorg

Can you provide a patch for the ebuild?

Thanks
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2008-07-19 12:26:00 UTC
I'm guessing maybe this is fixed in 2.0.1.  If not, and you can reopen with a patch that applies for hte ebuild, just do so and we'll get it in.