Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202114 - net-im/ejabberd-1.1.4 does not build with dev-lang/erlang-12.2.0
Summary: net-im/ejabberd-1.1.4 does not build with dev-lang/erlang-12.2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
: 205507 208221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-13 10:10 UTC by Conrad Kostecki
Modified: 2008-01-30 22:25 UTC (History)
7 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 Conrad Kostecki gentoo-dev 2007-12-13 10:10:21 UTC
Hi!
ejabberd-1.1.4 does not build with dev-lang/erlang-12.2.0

This Error:
/usr/bin/erlc -W ejabberd_s2s_in.erl
./ejabberd_s2s_in.erl:33: can't find include lib "ssl/include/PKIX1Explicit88.hrl"
./ejabberd_s2s_in.erl:34: can't find include lib "ssl/include/PKIX1Implicit88.hrl"
./ejabberd_s2s_in.erl:583: undefined macro ''id-at-commonName''
./ejabberd_s2s_in.erl:264: function get_cert_domains/1 undefined
make: *** [ejabberd_s2s_in.beam] Error 1 

Here is a patch:
https://support.process-one.net/browse/EJAB-446

But this does not work for me :(
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2007-12-17 00:05:09 UTC
Patch referred to in comment #1 works for me on a hardened box.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-12-18 07:38:27 UTC
Will it still work with Erlang < 12B?  And 
Comment 4 Jan Kundrát (RETIRED) gentoo-dev 2007-12-18 19:39:24 UTC
(In reply to comment #3)
> Will it still work with Erlang < 12B?

I feel that downgrading erlang would make ejabberd temporarily broken, and that's something I don't really want to happen on that box, sorry.

> And 

A truncated reply?
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-12-19 07:37:48 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Will it still work with Erlang < 12B?
> I feel that downgrading erlang would make ejabberd temporarily broken, and
> that's something I don't really want to happen on that box, sorry.

 Hmmm, the Debian repository still has >=R11 as dependency...so the patch should be fine, but for security, the dependency should be raised...Tony?
 
> > And 
> A truncated reply?

 Nothing more to say...
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2007-12-19 12:51:05 UTC
Opfer, I feel that ejabberd would benefit from a maintainer with actual erlang knowledge. While this package used to be quite maintainable it seems to be going downhill fast when it comes to erlang compiler requirements.

Christian, Jan, are you interested in maintaining this?
Comment 7 Jan Kundrát (RETIRED) gentoo-dev 2007-12-19 14:07:44 UTC
(In reply to comment #6)
> Jan, are you interested in maintaining this?

I have zero erlang knowledge and no ebuild access, sorry. I only run it as a private jabber service.
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2007-12-19 16:26:12 UTC
(In reply to comment #6)
> Christian, Jan, are you interested in maintaining this?

http://www.faulhammer.org/index.php?option=com_content&task=view&id=142

I only maintain Erlang because of sense of duty...I know nothing about it.
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-11 07:04:59 UTC
Bring the patch out, please, it seems to help.  Or give ok for me to do it.
Comment 10 Tony Vroon (RETIRED) gentoo-dev 2008-01-11 08:53:14 UTC
(In reply to comment #9)
> Bring the patch out, please, it seems to help.  Or give ok for me to do it.

Go for it Christian.
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-11 11:43:26 UTC
Patch gets applied in 1.1.4-r1, thanks to everyone.
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-28 08:10:52 UTC
*** Bug 205507 has been marked as a duplicate of this bug. ***
Comment 13 Denis Misiurca 2008-01-28 15:22:36 UTC
The same applies to net-im/ejabberd-1.1.3. Please mark working version as stable (as dev-lang/erlang-12.2.0 is stable) or reopen.
Comment 14 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-28 17:13:47 UTC
(In reply to comment #13)
> The same applies to net-im/ejabberd-1.1.3. Please mark working version as
> stable (as dev-lang/erlang-12.2.0 is stable) or reopen.

 Yes I am currently working some issues out, so we can fix this unsatisfactory situation.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2008-01-30 22:25:07 UTC
*** Bug 208221 has been marked as a duplicate of this bug. ***