[Bug 269434] x11/gnome-shell libsoup-ERROR Using libsoup2 and libsoup3 in the same process is not supported.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Feb 2023 02:44:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269434

--- Comment #6 from Paul Dufresne <dufresnep@zoho.com> ---
I did:
portmaster devel/glib20
to rebuild with debugging:
paul@dufresnep:/usr/home/paul $ cat /etc/make.conf
WITH_DEBUG=YES
DEBUG_FLAGS= -g -O0
paul@dufresnep:/usr/home/paul $ 

And now I see much better the problem:
Script started on Sat Feb 18 21:29:22 2023
Command: lldb --no-use-colors --core gnome-shell.core gnome-shell
(lldb) target create "gnome-shell" --core "gnome-shell.core"
Core file '/home/paul/gnome-shell.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'gnome-shell', stop reason = signal SIGTRAP
  * frame #0: 0x000000082474c314 libglib-2.0.so.0`_g_log_abort(breakpoint=1) at
gmessages.c:563:5
    frame #1: 0x000000082474cafa
libglib-2.0.so.0`g_log_structured_array(log_level=G_LOG_LEVEL_ERROR,
fields=0x00000008202794f0, n_fields=4) at gmessages.c:2000:5
    frame #2: 0x000000082474bff9
libglib-2.0.so.0`g_log_default_handler(log_domain="", log_level=6,
message="libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same
process is not supported.", unused_data=0x0000000000000000) at
gmessages.c:3312:3
    frame #3: 0x00000000002043e2 gnome-shell`default_log_handler(log_domain="",
log_level=6, message="libsoup2 symbols detected. Using libsoup2 and libsoup3 in
the same process is not supported.", data=0x0000000000000000) at main.c:297:5
    frame #4: 0x000000082474bb59 libglib-2.0.so.0`g_logv(log_domain="",
log_level=G_LOG_LEVEL_ERROR, format="", args=0x0000000820279b70) at
gmessages.c:1402:11
    frame #5: 0x000000082474b5f5 libglib-2.0.so.0`g_log(log_domain="",
log_level=G_LOG_LEVEL_ERROR, format="") at gmessages.c:1471:3
    frame #6: 0x00000008d7c73807 libsoup-3.0.so.0`___lldb_unnamed_symbol2855 +
119
    frame #7: 0x00003410395d80ad ld-elf.so.1
    frame #8: 0x00003410395dc846 ld-elf.so.1
    frame #9: 0x00003410395d909e ld-elf.so.1
    frame #10: 0x0000000833c4f549
libgmodule-2.0.so.0`_g_module_open(file_name="libgweather-4.so.0", bind_lazy=1,
bind_local=0, error=0x0000000000000000) at gmodule-dl.c:138:12
    frame #11: 0x0000000833c4ed31
libgmodule-2.0.so.0`g_module_open_full(file_name="libgweather-4.so.0",
flags=G_MODULE_BIND_LAZY, error=0x0000000000000000) at gmodule.c:614:12
    frame #12: 0x0000000833c4fadf
libgmodule-2.0.so.0`g_module_open(file_name="libgweather-4.so.0",
flags=G_MODULE_BIND_LAZY) at gmodule.c:698:10

So I think the module compiled with libsoup2 woudld be:
libgweather-4.so.0

paul@dufresnep:/usr/ports/net/libgweather4 $ cat
/usr/ports/net/libgweather4/Makefile | grep -i soup
                libsoup-3.0.so:devel/libsoup3
paul@dufresnep:/usr/ports/net/libgweather4 $ 

which would seems ok but according to:
https://ports.freebsd.org/cgi/ports.cgi?query=^libgweather4-4.2.0&stype=name
it would require libsoup-2.74.3

so I am still a bit confused.

-- 
You are receiving this mail because:
You are the assignee for the bug.