It dies on startup after an update:
(dino:78839): libsoup-ERROR **: 10:48:45.147: libsoup3 symbols
detected. Using libsoup2 and libsoup3 in the same process is not supported.
Trace/BPT trap (core dumped)
This is because
$ LD_DEBUG=1 dino 2>&1 | grep 'loading: libsoup-[23]'
loading: libsoup-3.0.so.0.2 required by
/usr/local/lib/libgupnp-1.6.so.0.0
loading: libsoup-3.0.so.0.2 required by
/usr/local/lib/libgssdp-1.6.so.0.0
loading: libsoup-2.4.so.10.6 required by
/usr/local/lib/dino/plugins/http-files.so
cmake/FindSoup.cmake can be made using version 3, but that blows up the
module, so just disable the module.
I don't know what it does, but this diff make dino usable again.
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/dino/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile 28 May 2022 06:20:02 -0000 1.10
+++ Makefile 9 Nov 2022 12:37:39 -0000
@@ -2,6 +2,7 @@ COMMENT= XMPP desktop client
VERSION= 0.3.0
DISTNAME= dino-${VERSION}
CATEGORIES= net x11
+REVISION= 0
SHARED_LIBS += crypto-vala 0.0 # 0.0
SHARED_LIBS += dino 1.0 # 0.0
@@ -23,7 +24,6 @@ BUILD_DEPENDS= devel/gettext,-tools \
RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+3,-guic
LIB_DEPENDS= devel/libgee \
- devel/libsoup \
graphics/libqrencode \
multimedia/gstreamer1/plugins-base \
net/libnice \
@@ -44,9 +44,14 @@ WANTLIB += gdk_pixbuf-2.0 gee-0.8 gio-2.
WANTLIB += gnutls gobject-2.0 gpgme gspell-1 gstapp-1.0 gstaudio-1.0
WANTLIB += gstbase-1.0 gstreamer-1.0 gstrtp-1.0 gtk-3 harfbuzz
WANTLIB += icudata icuuc intl m nice pango-1.0 pangocairo-1.0
-WANTLIB += qrencode signal-protocol-c soup-2.4 sqlite3 srtp2
+WANTLIB += qrencode signal-protocol-c sqlite3 srtp2
CONFIGURE_ARGS = -DBUILD_TESTS=ON
+
+# http-files requires libsoup(2) but other dependencies use libsoup3 and using
+# both SIGABRTs at runtime, so disable this plugin which cannot be switched to
+# the newer version.
+CONFIGURE_ARGS += -DDISABLED_PLUGINS=http-files
MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/dino/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST 11 Mar 2022 19:45:53 -0000 1.4
+++ pkg/PLIST 9 Nov 2022 12:54:52 -0000
@@ -6,7 +6,6 @@ include/qlite.h
include/xmpp-vala.h
lib/dino/
lib/dino/plugins/
-@so lib/dino/plugins/http-files.so
@so lib/dino/plugins/ice.so
@so lib/dino/plugins/omemo.so
@so lib/dino/plugins/openpgp.so