Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834322 - net-im/ejabberd-21.04 depends on dev-erlang/jose-1.11
Summary: net-im/ejabberd-21.04 depends on dev-erlang/jose-1.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: ejabberd Project
URL: https://github.com/potatosalad/erlang...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-27 21:14 UTC by Luke-Jr
Modified: 2022-03-23 08:33 UTC (History)
1 user (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 Luke-Jr 2022-02-27 21:14:54 UTC
net-im/ejabberd-21.04 (latest stable) builds but fails to start with dev-erlang/jose-1.10.1 (latest stable), and requires 1.11.

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992998
Comment 1 Florian Schmaus gentoo-dev 2022-03-02 21:56:37 UTC
Thanks for your report.

If I understand it correctly, then it's not ejabberd per se who needs a newer jose version, it's Erlang OTP 24: If you run ejabberd, more or less irregardless which version, under Erlang OTP 24, then you need dev-erlang/jose-1.11.2.
Comment 2 Larry the Git Cow gentoo-dev 2022-03-02 22:04:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd1fc42329593521f0920d32f166132720399d1

commit dbd1fc42329593521f0920d32f166132720399d1
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2022-03-02 22:01:00 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-03-02 22:04:41 +0000

    dev-erlang/jose: add 1.11.2
    
    Bug: https://bugs.gentoo.org/834322
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-erlang/jose/Manifest           |  1 +
 dev-erlang/jose/jose-1.11.2.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
Comment 3 Florian Schmaus gentoo-dev 2022-03-03 16:33:14 UTC
@luke-jr: I've pushed jose-1.11.2. Could you test if ejabberd 21.04 works with this jose version? If so, then I guess we will raise the dependency requirement for all ejabberd versions (and drop ejabberd-20.04).
Comment 4 Luke-Jr 2022-03-03 21:20:49 UTC
(In reply to Florian Schmaus from comment #3)
> @luke-jr: I've pushed jose-1.11.2. Could you test if ejabberd 21.04 works
> with this jose version? If so, then I guess we will raise the dependency
> requirement for all ejabberd versions (and drop ejabberd-20.04).

1.11.1 already seems to be working fine. The only issue is that it let me install it with 1.10.1, which didn't work.

I wouldn't drop the older ejabberd just yet, though. The first day of using 21.04, I had some lost messages. Haven't been able to reproduce consistently, so not sure if it's a regression or just a one time glitch.
Comment 5 Luke-Jr 2022-03-09 20:52:23 UTC
(In reply to Luke-Jr from comment #4)
> I wouldn't drop the older ejabberd just yet, though. The first day of using
> 21.04, I had some lost messages. Haven't been able to reproduce
> consistently, so not sure if it's a regression or just a one time glitch.

Yeah, ejabberd is on the fritz today :(

Going to have to downgrade it
Comment 6 Larry the Git Cow gentoo-dev 2022-03-23 08:33:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5e3486955f3a22d2e999d0d3cb11d8396b68d1

commit 0f5e3486955f3a22d2e999d0d3cb11d8396b68d1
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2022-03-23 08:25:37 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-03-23 08:33:50 +0000

    net-im/ejabberd: depend on newer jose
    
    Closes: https://bugs.gentoo.org/834322
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 net-im/ejabberd/{ejabberd-21.12.ebuild => ejabberd-21.12-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)