Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930834 - net-im/ejabberd: Current stable version fails due to dependency version mismatch
Summary: net-im/ejabberd: Current stable version fails due to dependency version mismatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: ejabberd Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-28 23:18 UTC by Randy Barlow
Modified: 2024-04-29 08:36 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 Randy Barlow 2024-04-28 23:18:40 UTC
Greetings!

I recently did a system update and noticed that my ejabberd server isn't working properly. It has periodic crashes in the logs. I found an upstream bug report with the same crash logs I am seeing, which happened to have been filed by another Gentoo user:

https://github.com/processone/ejabberd/issues/4177

Upstream suggested that there may be a mismatch of expected versions of the dependencies and the versions the user had in Gentoo. The user reported that updating to 24.02 fixed it for them. I haven't tried this yet, but I wanted to make sure there was a bug report here since the current stable doesn't work, presumably due to other versions of packages that aren't what it is expecting.

Reproducible: Always
Comment 1 Randy Barlow 2024-04-28 23:32:20 UTC
I did some brief checking, and I do see that fast_tls is stabilized to 1.1.19 right now, but the 23.10 version of ejabberd wants 1.1.16.

I also see that stun is currently stabilized to 1.2.12, but ejabberd 23.10 wants 1.2.10 which is actually not marked stable in the tree.

There may be others as well, these are just a few I noticed while spot checking.

You can see the versions that ejabberd 23.10 wants here:

https://github.com/processone/ejabberd/blob/23.10/rebar.config#L25-L81

It sounds like ejabberd's dependencies (at least the ones from processone) don't follow semantic versioning based on comments from upstream in that ticket, so things like this could be why it's not working.

Perhaps the best thing now would be to stabilize 24.02 assuming it's working OK (I haven't tried it yet). If we don't want to do that for some reason, I think we should probably move some of these newer processone libs back to testing (and stabilize any that 23.10 needs as well).
Comment 2 Randy Barlow 2024-04-29 00:36:15 UTC
I've upgraded to 24.02 and I no longer see the crash I had been seeing (same as the one in the upstream ticket).

I'll let it run a bit to see if any other issues shake out, but I might suggest stabilizing it (and 3 of its deps) in a few days if things seem stable.
Comment 3 Larry the Git Cow gentoo-dev 2024-04-29 08:36:31 UTC
The bug has been closed via the following commit(s):

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

commit 48f380669df91d4d648113fbb16841a724977d9f
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-04-29 08:34:41 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-04-29 08:34:41 +0000

    dev-erlang/xmpp: stabilize 1.7.0, destabilize 1.8.1
    
    The current stable version of ejabberd, 23.10, requires xmpp 1.7.0 and
    crashes with 1.8.1.
    
    Closes: https://bugs.gentoo.org/930834
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-erlang/xmpp/xmpp-1.7.0.ebuild | 4 ++--
 dev-erlang/xmpp/xmpp-1.8.1.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)