[Bug 269676] sysutils/gnome-settings-daemon datetime plugin should not be linked with libsoup v.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Feb 2023 05:51:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269676

            Bug ID: 269676
           Summary: sysutils/gnome-settings-daemon datetime plugin should
                    not be linked with libsoup v.2
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: dufresnep@zoho.com
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

Now that https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269434
is fixed, I can start gnome.

But when I clicked on Web Browser in the bottom panel, screen change to "Oh no!
Something bad happened." and gsd-datetime.core appears in my home directory.

paul@dufresnep:/usr/home/paul $ cat gsd-datetime-
gsd-datetime-1.txt  gsd-datetime-2.txt 
paul@dufresnep:/usr/home/paul $ cat gsd-datetime-2.txt 
Script started on Sun Feb 19 00:02:53 2023
Command: lldb --core gsd-datetime.core /usr/local/libexec/gsd-datetime
(lldb) target create "/usr/local/libexec/gsd-datetime" --core
"gsd-datetime.core"
Core file '/home/paul/gsd-datetime.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'gsd-datetime', stop reason = signal SIGTRAP
  * frame #0: 0x0000000823cd2314 libglib-2.0.so.0`_g_log_abort(breakpoint=1) at
gmessages.c:563:5
    frame #1: 0x0000000823cd2afa
libglib-2.0.so.0`g_log_structured_array(log_level=G_LOG_LEVEL_ERROR,
fields=0x000000082079e820, n_fields=4) at gmessages.c:2000:5
    frame #2: 0x0000000823cd1ff9
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: 0x0000000823cd1b59 libglib-2.0.so.0`g_logv(log_domain="",
log_level=G_LOG_LEVEL_ERROR, format="", args=0x000000082079ee70) at
gmessages.c:1402:11
    frame #4: 0x0000000823cd15f5 libglib-2.0.so.0`g_log(log_domain="",
log_level=G_LOG_LEVEL_ERROR, format="") at gmessages.c:1471:3
    frame #5: 0x000000082d90f807 libsoup-3.0.so.0`___lldb_unnamed_symbol2855 +
119
    frame #6: 0x00003ade2ba480ad ld-elf.so.1
    frame #7: 0x00003ade2ba466ab ld-elf.so.1
(lldb) q

Command exit status: 0
Script done on Sun Feb 19 00:04:21 2023
paul@dufresnep:/usr/home/paul $ 

It seems that the datetime plugins is linked with both soup2 and soup3:
paul@dufresnep:/usr/home/paul $ ldd /usr/local/libexec/gsd-datetime|grep -i
soup 
        libsoup-2.4.so.1 => /usr/local/lib/libsoup-2.4.so.1 (0x2350c2690000)
        libsoup-3.0.so.0 => /usr/local/lib/libsoup-3.0.so.0 (0x2350c73b7000)
paul@dufresnep:/usr/home/paul $ 

I looked a bit at work directory after make to find an option linked to
libsoup, but did not found anything... must be something somewhere.

Now that gnome-shell always use libsoup3, I think gsd-datetime should not be
linked with libsoup (v.2) anymore.

But I don't know how yet.

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