Solved Update broke my desktop: Using libsoup2 and libsoup3 in the same process is not supported.

After an upgrade today I couldn't load my desktop anymore (Oh no! Something has gone wrong. A problem has occurred and the system can't recover). It appears that the two installed versions of libsoup are causing the error. Tried pkg delete on each version of libsoup but when reinstalling gnome after this that brought both libsoup2 and libsoup3 back as dependencies again.

I presume that I have updated my system when libsoup2 has only be replaced by libsoup3 for a few of the gnome dependencies

I am running FreeBSD 13.1

Code:
freebsd-version -kru ; uname -aKU
13.1-RELEASE-p6
13.1-RELEASE-p6
13.1-RELEASE-p6
FreeBSD Ruru 13.1-RELEASE-p6 FreeBSD 13.1-RELEASE-p6 GENERIC amd64 1301000 1301000

I am using the latest packages

Code:
pkg -vv | grep -e url -e enabled
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest",
    enabled         : yes,

In the gdm greeter log I saw the following errors

Code:
dbus-daemon[2219]: [session uid=92 pid=2219] Activating service name='org.a11y.Bus' requested by ':1.0' (uid=92 pid=2223 comm="/usr/local/libexec/gnome-session-check-accelerated")
dbus-daemon[2219]: [session uid=92 pid=2219] Successfully activated service 'org.a11y.Bus'
libmutter-Message: 12:45:30.929: Running GNOME Shell (using mutter 42.4) as a X11 window and compositing manager

** (gnome-shell:2228): WARNING **: 12:45:31.862: ATK Bridge is disabled but a11y has already been enabled.

(gnome-shell:2228): libsoup-ERROR **: 12:45:38.005: libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
gnome-session-binary 2220 - - WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
libmutter-Message: 12:45:38.673: Running GNOME Shell (using mutter 42.4) as a X11 window and compositing manager

** (gnome-shell:2230): WARNING **: 12:45:38.870: ATK Bridge is disabled but a11y has already been enabled.

(gnome-shell:2230): libsoup-ERROR **: 12:45:39.437: libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
gnome-session-binary 2220 - - WARNING: Application 'org.gnome.Shell.desktop' killed by signal 5
gnome-session-binary 2220 - - WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
dbus-daemon[2219]: [session uid=92 pid=2219] Activating service name='ca.desrt.dconf' requested by ':1.6' (uid=92 pid=2220 comm="/usr/local/libexec/gnome-session-binary --autostar")
dbus-daemon[2219]: [session uid=92 pid=2219] Successfully activated service 'ca.desrt.dconf'
gnome-session-failed: environment corrupt; missing value for GNOME_SESSION_AUTOSTART_DIR
dbus-daemon[2226]: Activating service name='org.a11y.atspi.Registry' requested by ':1.4' (uid=92 pid=2235 comm="/usr/local/libexec/gsd-keyboard")

(process:2238): libsoup-ERROR **: 12:45:39.856: libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
dbus-daemon[2226]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
gnome-session-binary 2220 - - WARNING: Application 'org.gnome.SettingsDaemon.Datetime.desktop' killed by signal 5

(process:2247): libsoup-ERROR **: 12:45:39.938: libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
gnome-session-binary 2220 - - WARNING: Application 'org.gnome.SettingsDaemon.Datetime.desktop' killed by signal 5
gnome-session-binary 2220 - - WARNING: App 'org.gnome.SettingsDaemon.Datetime.desktop' respawning too quickly
 
Verify what packages are actually installed:
pkg info | grep libsoup

See what packages depend on libsoup2
pkg query %rn-%rv libsoup2

See what packages depend on libsoup3
pkg query %rn-%rv libsoup3

pkg delete whatever you don't need
 
I have libsoup2 and libsoup3 installed and they don't conflict.
Code:
libsoup-2.74.3                 SOAP (Simple Object Access Protocol) implementation in C
libsoup3-3.2.2                 HTTP client/server library for GNOME

Have a look at:
Code:
pkg info -Rx gnome-shell
to see which version is required.
 
my pkg query command is "reverse depends" basically saying:
what packages depend on libsoup2 or libsoup3

I'm not sure that what Alain De Vos shows installed on his system is "libsoup2" and "libsoup3" the descriptions to me don't seem to be talking about the same thing.
 
The description is different but the content is similar.
libsoup installs
/usr/local/lib/libsoup-2.4.so.1.11.2
libsoup3 installs
/usr/local/lib/libsoup-3.0.so.0.6.0
 
pkg query %rn-%rv libsoup
Code:
luakit-devel-2.3.3.0,2
inkscape-1.2.2_2
atril-lite-1.26.0_16
wx32-gtk3-3.2.1
webkit2-gtk3-2.34.6_4
wx30-gtk3-3.0.5.1_1
libgepub-0.6.0_3
geoclue-2.5.7

pkg query %rn-%rv libsoup3
Code:
gstreamer1-plugins-soup-1.20.5_1
gvfs-1.50.2_1

That's on my machine, where no Gnome is installed.

Gnome requires at least both webkit2-gtk3 and gvfs, so you can't solve this problem by removing packages without breaking things.
 
Results from the pkg info query below. It appears that some of the gnome installs from latest have a dependency on libsoup3 attempting to delete these will delete gnome. I am running with my fallback DE WindowMaker until this is resolved.

Also the issue has been raised as a bug

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269434

Code:
pkg info -r libsoup
libsoup-2.74.3:
    gnucash-4.13_1
    inkscape-1.2.2_2
    yelp-42.1
    evolution-3.44.4_1
    epiphany-42.4_2
    sushi-42.0
    vino-3.22.0
    eog-plugins-3.26.8_2
    gnome-shell-42.4_1
    gnome-contacts-41.0_2
    gnome-calendar-42.2
    gnome-photos-42.0_2
    gedit-44.2
    gfbgraph-0.2.5
    seahorse-41.0
    libchamplain-0.12.20_1
    gnome-control-center-43.0
    folks-0.15.5
    evolution-data-server-3.44.4_2
    tracker3-3.1.2_6
    libgweather-40.0_3
    glade-3.40.0
    grilo-plugins-0.3.15
    tracker-2.3.4_9
    libgdata-0.18.1
    grilo-0.3.15
    gnome-online-accounts-3.44.0
    totem-pl-parser-3.26.6
    rest-0.8.1_2
    geocode-glib-3.26.4
    webkit2-gtk3-2.34.6_4
    geoclue-2.5.7

and

Code:
pkg info -r libsoup3
libsoup3-3.2.2:
    gnome-maps-43.3
    libshumate-1.0.3_1
    librest1-0.9.1
    gnome-calculator-43.0.1
    webkit2-gtk4-2.38.3
    gvfs-1.50.2_1
    gstreamer1-plugins-soup-1.20.5_1
    libgweather4-4.2.0
    geocode-glib2-3.26.4
 
The latest update of my packages resolved this issue Gnome is now working.
I just installed I 13.2-RELEASE and have the issue with gnome and both versions of libsoup-2.74.3 and libsoup3.2.2. I noticed it when trying to use the gnome-calendar, "libsoup-ERROR **: 10:42:26.497: libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported."

You say the latest update of your packages resolved the issue? I tried updating my packages and they are all up to date but still having the libsoup issue. I've only noticed it though with gnome-calendar so far.
 
Back
Top