Bug 271557 - net/remmina: Using libsoup2 and libsoup3 in the same process is not supported
Summary: net/remmina: Using libsoup2 and libsoup3 in the same process is not supported
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-22 04:49 UTC by Sergey Kiselev
Modified: 2023-07-02 17:41 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (fernape)


Attachments
Fixing the version of libsoup in use (700 bytes, patch)
2023-05-22 04:49 UTC, Sergey Kiselev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Kiselev 2023-05-22 04:49:02 UTC
Created attachment 242316 [details]
Fixing the version of libsoup in use

If the libsoup3 library is present on the system during the build of net/remmina, the port is linked against this library.
After installation, the application is not functional and crashes with the message:

libsoup-ERROR **: 09:36:19.231: libsoup3 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
Trace/BPT trap

The included Makefile patch fixes the issue.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-05-24 06:50:56 UTC
(In reply to Sergey Kiselev from comment #0)
Hi Sergy,

Thanks for the report. I'm doing some tests with remmina. There are other ports suffering from this problem too (bug #271309, bug #269434). I wouldn't like to have a hardcoded path in the Makefile, even if it is localbase. I'll have a look at Remmina's CMakeList.txt and try to force libsoup3 (also in the WWW plugin).
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2023-05-28 17:19:26 UTC
(In reply to Fernando Apesteguía from comment #1)
The WWW plugin uses webkit2-gtk3 which depends on libsoup2. webkit2-gtk4 depends on libsoup3, but unfortunately the WWW plugin can't use webkit2-gtk4.

I'll dig some more.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-07-02 17:41:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8c472957483b14e309d75f1c1ee3ece4187a39fa

commit 8c472957483b14e309d75f1c1ee3ece4187a39fa
Author:     Sergey Kiselev <root@dc365.ru>
AuthorDate: 2023-06-27 14:23:22 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-07-02 17:40:16 +0000

    net/remmina: force libsoup2

    If libsoup3 is present in the system, remmina might pick it even if it is
    expected to use libsoup2. This results in an error like:

    libsoup-ERROR **: 09:36:19.231: libsoup3 symbols detected. Using libsoup2 and
    libsoup3 in the same process is not supported.

    Force libsoup2.

    PR:             271557
    Reported by:    root@dc365.ru

 net/remmina/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2023-07-02 17:41:29 UTC
(In reply to Fernando Apesteguía from comment #2)
Committed,

I couldn't find a better way, so I suppose, forcing libsoup2 is a good idea until upstream migrates completely to libsoup3.

Thanks!