Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883455 - net-misc/remmina-1.4.27 => libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
Summary: net-misc/remmina-1.4.27 => libsoup2 symbols detected. Using libsoup2 and lib...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-28 19:55 UTC by Adrien Dessemond
Modified: 2022-12-05 14:30 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 Adrien Dessemond 2022-11-28 19:55:59 UTC
The package builds fine however for some reason, there is an interesting mix of (lib)soup flavors somewhere in the recipe and now Remmina crashes at start up :)

$ remmina
remmina-Message: 14:44:27.353: Remmina does not log all output statements. Turn on more verbose output by using "G_MESSAGES_DEBUG=all" as an environment variable.
More info available on the Remmina wiki at:
https://gitlab.com/Remmina/Remmina/-/wikis/Usage/Remmina-debugging
Load modules from /usr/lib64/remmina/plugins
Remmina plugin kwallet (type=Secret) has been registered, but is not yet initialized/activated. The initialization order is 1000.

(process:5167): libsoup-ERROR **: 14:44:27.374: libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
Trace/breakpoint trap
$

I do have net-libs/libsoup:2.4 and net-libs/libsoup:3.0 on the machine. It is a known issue at the upstream level which seems to have brought some corrections approximatively one month ago. However the project did not issued a new release (yet).
Comment 1 Ben Kohler gentoo-dev 2022-11-28 20:16:44 UTC
I can package a new snapshot but I'm a bit concerned that it seems like there may be some automatic detection for chosen libsoup versions, and webkit-gtk versions.  

We may need to explicitly depend on the newer versions to ensure that the recorded deps match what libraries are linked.

The scenario I fear is:

- You install remmina on stable, linked to libsoup-2.4 and webkit-gtk-4.0
- You later unmask & install unstable libsoup-3.0 and webkit-gtk-4.1
- Next depclean removes libsoup-2.4 and webkit-gtk-4.0 since they're not needed anymore
- Remmina doesn't run anymore

I think if we make the new snapshot explicitly depend on libsoup:3.0 and webkit-gtk:4.1 then we're safe, but this version may not go stable for a while.
Comment 2 Ben Kohler gentoo-dev 2022-11-28 20:26:53 UTC
Oh they actually removed NEWS support and the libsoup requirement altogether, if I read this correctly: https://gitlab.com/Remmina/Remmina/-/commit/dd63c22a4aeb302e604368677903ae2b6ac67715
Comment 3 Adrien Dessemond 2022-11-28 20:30:00 UTC
Indeed, I think that the issue kicked in when I have added  the useflag webdav to net-misc/spice-gtk. Doing so brought in net-libs/phodav:3.0 which is also mentioned in the upstream bug.
Comment 4 Larry the Git Cow gentoo-dev 2022-11-28 22:30:50 UTC
The bug has been referenced in the following commit(s):

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

commit c0fbf368799be4d6ae274ae2c61985c223be89e2
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2022-11-28 22:29:50 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2022-11-28 22:30:35 +0000

    net-misc/remmina: add 1.4.27_p20221128
    
    Bug: https://bugs.gentoo.org/883455
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 net-misc/remmina/Manifest                        |   1 +
 net-misc/remmina/remmina-1.4.27_p20221128.ebuild | 112 +++++++++++++++++++++++
 2 files changed, 113 insertions(+)
Comment 5 Ben Kohler gentoo-dev 2022-11-28 22:39:37 UTC
Can you test with this new snapshot?
Comment 6 Adrien Dessemond 2022-12-05 14:29:25 UTC
Issue fixed! :) Thank you!

Remmina 1.4.28 incorporates the patch at the upstream level and does not exhibit the issue.