~ $ abiword (abiword:29829): libsoup-ERROR **: 20:39:33.811: libsoup3 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported. Reproducible: Didn't try Steps to Reproduce: keep in mind different installations might not display that error! I have: app-office/abiword-3.0.5(2)(13:01:24 2022-06-12)(calendar collab cups goffice grammar introspection latex map math plugins readline redland spell thesaurus wmf wordperfect -debug -eds -ots) Actual Results: ~ $ equery d libsoup 2>/dev/null * These packages depend on libsoup: app-office/abiword-3.0.5 (collab ? net-libs/libsoup:2.4) dev-libs/libgweather-4.2.0 (>=net-libs/libsoup-2.99.2:3.0) dev-util/gnome-builder-44.2 (flatpak ? >=net-libs/libsoup-3:3.0) gnome-base/gvfs-1.50.6 (http ? >=net-libs/libsoup-3.0.0:3.0) gnome-extra/evolution-data-server-3.48.4-r1 (>=net-libs/libsoup-3.1.1:3.0) (vala ? >=net-libs/libsoup-3.1.1:3.0[vala]) mail-client/evolution-3.48.4 (>=net-libs/libsoup-3.0:3.0) media-gfx/inkscape-1.2.2 (net-libs/libsoup:2.4) media-libs/libchamplain-0.12.21 (>=net-libs/libsoup-3:3.0) net-libs/gnome-online-accounts-3.48.0 (>=net-libs/libsoup-3.0:3.0) net-libs/gssdp-1.4.0.1 (>=net-libs/libsoup-2.26.1:2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,introspection?]) (vala ? net-libs/libsoup:2.4[vala]) net-libs/gupnp-1.4.3 (>=net-libs/libsoup-2.48.0:2.4[introspection?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]) (vala ? net-libs/libsoup:2.4[vala]) net-libs/rest-0.9.1-r1 (>=net-libs/libsoup-2.99.2:3.0) net-libs/webkit-gtk-2.40.5 (>=net-libs/libsoup-2.54:2.4[introspection?]) net-libs/webkit-gtk-2.40.5-r410 (>=net-libs/libsoup-3.0.8:3.0[introspection?]) net-libs/webkit-gtk-2.40.5-r600 (>=net-libs/libsoup-3.0.8:3.0[introspection?]) net-voip/telepathy-gabble-0.18.4-r5 (jingle ? >=net-libs/libsoup-2.42:2.4) net-voip/telepathy-salut-0.8.1-r5 (net-libs/libsoup:2.4) sci-geosciences/geocode-glib-3.26.4-r201 (>=net-libs/libsoup-3.0.8:3.0[introspection?]) Expected Results: not sure, but I guess at least all my packages and their dependencies should link to libsoup3 now? i.e. app-office/abiword[collab] media-gfx/inkscape net-voip/telepathy-salut net-libs/gssdp net-libs/gupnp net-libs/webkit-gtk:4[introspection] net-voip/telepathy-gabble-0.18.4-r5[jingle] of course it could be some useflags on abiword could solve my problem, or maybe it's just a matter of recompiling. or maybe abiword could be programmed in a more parallel way by spawning other processes which can use different versions of libsoup. however, the point of this report is net-libs/libsoup:2.4 needs to be removed since it's not upwards compatible to net-libs/libsoup:3.0 of course it's just a guess, never used that library. please someone look into this and decide if gentoo should use libsoup:2.4 in future, or maybe if abiword needs to be abandoned...
* Can you please share the output of `lddtree` on abiword? We want to know where it's being pulled in. * Please share emerge --info.
well, obviously the culprit is media-libs/libchamplain as it has >=net-libs/libsoup-3 in the dependency graph. I'll remove goffice from abiword useflags and come back if it still doesn't work... thanks for teaching me this command lddtree, already wondered how to investigate the problem. the output was that libabiword depends directly to libchamplain which needs libsoup:3.0, no idea if there's other dependencies pulling it in too and "lddtree -a" is too difficult to parse. however, I noticed libsoup-2 is not dynamically linked at all, is abiword using the static library? I don't think I have that installed... to make it clear: I am not comfortable publishing emerge --info please make more specific requests on which part of that output you need.
(In reply to piotr5 from comment #2) > well, obviously the culprit is media-libs/libchamplain as it has > >=net-libs/libsoup-3 in the dependency graph. I'll remove goffice from > abiword useflags and come back if it still doesn't work... > Not if it's not actually loaded. I'd prefer to not guess. > thanks for teaching me this command lddtree, already wondered how to > investigate the problem. the output was that libabiword depends directly to > libchamplain which needs libsoup:3.0, no idea if there's other dependencies > pulling it in too and "lddtree -a" is too difficult to parse. however, I > noticed libsoup-2 is not dynamically linked at all, is abiword using the > static library? I don't think I have that installed... > just share the output of lddtree then?
Created attachment 870478 [details] abiword-deps ant-2.so.2 => //usr/lib64/libenchant-2.so.2 libaspell.so.15 => /usr/lib64/libaspell.so.15 libdl.so.2 => /usr/lib64/libdl.so.2 libgoffice-0.10.so.10 => //usr/lib64/libgoffice-0.10.so.10 libspectre.so.1 => /usr/lib64/libspectre.so.1 libgs.so.10 => /usr/lib64/libgs.so.10 libXt.so.6 => /usr/lib64/libXt.so.6 libSM.so.6 => /usr/lib64/libSM.so.6 libuuid.so.1 => /usr/lib64/libuuid.so.1 libICE.so.6 => /usr/lib64/libICE.so.6 libtiff.so.6 => /usr/lib64/libtiff.so.6 libwebp.so.7 => /usr/lib64/libwebp.so.7 libcups.so.2 => /usr/lib64/libcups.so.2 libavahi-common.so.3 => /usr/lib64/libavahi-common.so.3 libavahi-client.so.3 => /usr/lib64/libavahi-client.so.3 libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 libsystemd.so.0 => /usr/lib64/libsystemd.so.0 libcap.so.2 => /usr/lib64/libcap.so.2 libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 libzstd.so.1 => /usr/lib64/libzstd.so.1 liblz4.so.1 => /usr/lib64/liblz4.so.1 libssl.so.1.1 => /usr/lib64/libssl.so.1.1 libcrypto.so.1.1 => /usr/lib64/libcrypto.so.1.1 libjbig2dec.so.0 => /usr/lib64/libjbig2dec.so.0 liblcms2.so.2 => /usr/lib64/liblcms2.so.2 libidn.so.12 => /usr/lib64/libidn.so.12 libpaper.so.2 => /usr/lib64/libpaper.so.2 libopenjp2.so.7 => /usr/lib64/libopenjp2.so.7 librdf.so.0 => //usr/lib64/librdf.so.0 libltdl.so.7 => //usr/lib64/libltdl.so.7 librasqal.so.3 => //usr/lib64/librasqal.so.3 libpcre.so.1 => /usr/lib64/libpcre.so.1 libmhash.so.2 => /usr/lib64/libmhash.so.2 libgmp.so.10 => /usr/lib64/libgmp.so.10 libraptor2.so.0 => //usr/lib64/libraptor2.so.0 libicui18n.so.73 => /usr/lib64/libicui18n.so.73 libical.so.3 => //usr/lib64/libical.so.3 libicalss.so.3 => //usr/lib64/libicalss.so.3 libicalvcal.so.3 => //usr/lib64/libicalvcal.so.3 libz.so.1 => //usr/lib64/libz.so.1 librsvg-2.so.2 => //usr/lib64/librsvg-2.so.2 libfontconfig.so.1 => //usr/lib64/libfontconfig.so.1 libexpat.so.1 => /usr/lib64/libexpat.so.1 libfreetype.so.6 => //usr/lib64/libfreetype.so.6 libbrotlidec.so.1 => /usr/lib64/libbrotlidec.so.1 libbrotlicommon.so.1 => /usr/lib64/libbrotlicommon.so.1 libchamplain-gtk-0.12.so.0 => //usr/lib64/libchamplain-gtk-0.12.so.0 libclutter-gtk-1.0.so.0 => //usr/lib64/libclutter-gtk-1.0.so.0 libgtk-3.so.0 => //usr/lib64/libgtk-3.so.0 libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 libepoxy.so.0 => /usr/lib64/libepoxy.so.0 libatk-bridge-2.0.so.0 => /usr/lib64/libatk-bridge-2.0.so.0 libatspi.so.0 => /usr/lib64/libatspi.so.0 libchamplain-0.12.so.0 => //usr/lib64/libchamplain-0.12.so.0 libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 libsoup-3.0.so.0 => /usr/lib64/libsoup-3.0.so.0 libpsl.so.5 => /usr/lib64/libpsl.so.5 libidn2.so.0 => /usr/lib64/libidn2.so.0 libunistring.so.5 => /usr/lib64/libunistring.so.5 libnghttp2.so.14 => /usr/lib64/libnghttp2.so.14 libclutter-1.0.so.0 => //usr/lib64/libclutter-1.0.so.0 libudev.so.1 => /usr/lib64/libudev.so.1 libinput.so.10 => /usr/lib64/libinput.so.10 libmtdev.so.1 => /usr/lib64/libmtdev.so.1 libevdev.so.2 => /usr/lib64/libevdev.so.2 libwacom.so.9 => /usr/lib64/libwacom.so.9 libgudev-1.0.so.0 => /usr/lib64/libgudev-1.0.so.0 libcogl-path.so.20 => //usr/lib64/libcogl-path.so.20 libatk-1.0.so.0 => //usr/lib64/libatk-1.0.so.0 libcogl-pango.so.20 => //usr/lib64/libcogl-pango.so.20 libcogl.so.20 => //usr/lib64/libcogl.so.20 libgmodule-2.0.so.0 => //usr/lib64/libgmodule-2.0.so.0 libwayland-egl.so.1 => //usr/lib64/libwayland-egl.so.1 libgbm.so.1 => //usr/lib64/libgbm.so.1 libxcb-randr.so.0 => /usr/lib64/libxcb-randr.so.0 libxcb.so.1 => /usr/lib64/libxcb.so.1 libXau.so.6 => /usr/lib64/libXau.so.6 libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 libdrm.so.2 => //usr/lib64/libdrm.so.2 libEGL.so.1 => //usr/lib64/libEGL.so.1 libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 libXrandr.so.2 => //usr/lib64/libXrandr.so.2 libXrender.so.1 => /usr/lib64/libXrender.so.1 libjson-glib-1.0.so.0 => //usr/lib64/libjson-glib-1.0.so.0 libgio-2.0.so.0 => //usr/lib64/libgio-2.0.so.0 libmount.so.1 => /usr/lib64/libmount.so.1 libblkid.so.1 => /usr/lib64/libblkid.so.1 libcryptsetup.so.12 => /usr/lib64/libcryptsetup.so.12 libdevmapper.so.1.02 => /usr/lib64/libdevmapper.so.1.02 libnettle.so.8 => /usr/lib64/libnettle.so.8 libargon2.so.1 => /usr/lib64/libargon2.so.1 libpthread.so.0 => /usr/lib64/libpthread.so.0 libjson-c.so.5 => /usr/lib64/libjson-c.so.5 libgdk-3.so.0 => //usr/lib64/libgdk-3.so.0 libXcursor.so.1 => /usr/lib64/libXcursor.so.1 libpangocairo-1.0.so.0 => //usr/lib64/libpangocairo-1.0.so.0 libpango-1.0.so.0 => //usr/lib64/libpango-1.0.so.0 libharfbuzz.so.0 => //usr/lib64/libharfbuzz.so.0 libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 libgdk_pixbuf-2.0.so.0 => //usr/lib64/libgdk_pixbuf-2.0.so.0 libcairo-gobject.so.2 => //usr/lib64/libcairo-gobject.so.2 libcairo.so.2 => //usr/lib64/libcairo.so.2 libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 libgobject-2.0.so.0 => //usr/lib64/libgobject-2.0.so.0 libffi.so.8 => /usr/lib64/libffi.so.8 libglib-2.0.so.0 => //usr/lib64/libglib-2.0.so.0 libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 libwayland-cursor.so.0 => //usr/lib64/libwayland-cursor.so.0 libwayland-client.so.0 => //usr/lib64/libwayland-client.so.0 libxkbcommon.so.0 => //usr/lib64/libxkbcommon.so.0 libwayland-server.so.0 => //usr/lib64/libwayland-server.so.0 libX11.so.6 => //usr/lib64/libX11.so.6 libXext.so.6 => //usr/lib64/libXext.so.6 libXdamage.so.1 => //usr/lib64/libXdamage.so.1 libXfixes.so.3 => //usr/lib64/libXfixes.so.3 libXcomposite.so.1 => //usr/lib64/libXcomposite.so.1 libXi.so.6 => //usr/lib64/libXi.so.6 libjpeg.so.62 => //usr/lib64/libjpeg.so.62 libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libstdc++.so.6 libm.so.6 => //usr/lib64/libm.so.6 libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 libc.so.6 => /usr/lib64/libc.so.6
no, without libgoffice it still doesn't work. studying the longer lddtree -a above I noticed that libsoup is not only dragg in from libchamplain-gtk but also libchamplain itself is linked into libabiword. guess there's no way around than trying to force abiword into upgrading to libsoup3, except maybe downgrade libchamplain itself... anyway, sorry if the top of lddtree is missing: ~ $ lddtree /usr/bin/abiword abiword => /usr/bin/abiword (interpreter => /lib64/ld-linux-x86-64.so.2) libabiword-3.0.so => /usr/lib64/libabiword-3.0.so libpng16.so.16 => /usr/lib64/libpng16.so.16 libfribidi.so.0 => /usr/lib64/libfribidi.so.0 libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 libwv-1.2.so.4 => /usr/lib64/libwv-1.2.so.4 libgsf-1.so.114 => /usr/lib64/libgsf-1.so.114 libbz2.so.1 => /usr/lib64/libbz2.so.1 libxslt.so.1 => /usr/lib64/libxslt.so.1 libxml2.so.2 => /usr/lib64/libxml2.so.2 libicuuc.so.73 => /usr/lib64/libicuuc.so.73 libicudata.so.73 => /usr/lib64/libicudata.so.73 ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 libenchant-2.so.2 => /usr/lib64/libenchant-2.so.2
To confirm, does building abiword with USE=-collab avoid the problem? We may need to mask that USE flag if libsoup:3.0 is unavoidably loaded into the process.
yes, I can confirm this works. abiword works with USE=-collab this bug is solved. isn't there some patch to make abiword work with libsoup3?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c16754e0c8be38f4ea5ae1f2e084900b4e8d5e9 commit 0c16754e0c8be38f4ea5ae1f2e084900b4e8d5e9 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2023-09-14 15:16:28 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2023-09-14 15:16:48 +0000 profiles: Mask USE=collab on app-office/abiword Closes: https://bugs.gentoo.org/914055 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/base/package.use.mask | 4 ++++ 1 file changed, 4 insertions(+)