On Sun, 19 May 2024 15:15:44 +0100,
izder456 <izder...@disroot.org> wrote:
> 
> I am working on a port for net/abaddon which is a lightweight GTK3
> discord client written in C++.
>

Thanks, you have the first user of your port!

Your port has been built on my system (-current/amd64) with one changes:

diff --git net/abaddon/Makefile net/abaddon/Makefile
index 26038ddc35e..20d89c8994b 100644
--- net/abaddon/Makefile
+++ net/abaddon/Makefile
@@ -32,6 +32,7 @@ COMPILER =    base-clang ports-gcc base-gcc
 MODULES =      devel/cmake
 
 RUN_DEPENDS =  databases/sqlite3
+BUILD_DEPENDS =        textproc/nlohmann-json
 LIB_DEPENDS =  audio/rnnoise \
                                audio/opus \
                                devel/atk2mm \


Anyway, it crashes on start as after complain that emoji can't be loaded and
that it can't find main.css.

(gdb) r
Starting program: /usr/local/bin/abaddon 
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in 
module /usr/libexec/ld.so]
[2024-05-19 16:03:57.291] [discord] [warning] unknown OS, trying to load config 
from cwd
[New process 22381]
[2024-05-19 16:03:57.360] [ui] [error] Keychain error reading token: The name 
org.freedesktop.secrets was not provided by any .service files (2)
[2024-05-19 16:03:57.455] [discord] [warning] unknown OS, trying to load 
resources from cwd
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in 
module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in 
module /usr/libexec/ld.so]
[2024-05-19 16:03:57.531] [audio] [info] Audio backend: sndio
[2024-05-19 16:03:57.538] [audio] [warning] No default playback device found
[2024-05-19 16:03:57.538] [audio] [warning] No default capture device found
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in 
module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in 
module /usr/libexec/ld.so]
[2024-05-19 16:03:59.744] [discord] [warning] unknown OS, trying to load 
resources from cwd
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in 
module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in 
module /usr/libexec/ld.so]

(abaddon:22381): Gtk-CRITICAL **: 16:04:02.189: gtk_tree_model_sort_get_value: 
assertion 'VALID_ITER (iter, tree_model_sort)' failed

Program received signal SIGSEGV, Segmentation fault.
0x00000bbfcbd29aba in sigc::internal::signal_emit0<void, sigc::nil>::emit () 
from /usr/local/bin/abaddon
(gdb) bt
#0  0x00000bbfcbd29aba in sigc::internal::signal_emit0<void, sigc::nil>::emit 
() from /usr/local/bin/abaddon
#1  0x00000bc292316aa7 in 
_ZL31SignalProxy_Select_gtk_callbackP17_GtkTreeSelectionP13_GtkTreeModelP12_GtkTreePathiPv
 ()
   from /usr/local/lib/libgtkmm-3.0.so.4.5
#2  0x00000bc28ac0735e in _gtk_tree_selection_row_is_selectable () from 
/usr/local/lib/libgtk-3.so.2201.0
#3  0x00000bc28ac073ed in gtk_tree_selection_real_select_node () from 
/usr/local/lib/libgtk-3.so.2201.0
#4  0x00000bc28ac05563 in _gtk_tree_selection_internal_select_node () from 
/usr/local/lib/libgtk-3.so.2201.0
#5  0x00000bc28ac1233d in gtk_tree_view_real_set_cursor () from 
/usr/local/lib/libgtk-3.so.2201.0
#6  0x00000bc28ac21e31 in gtk_tree_view_grab_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#7  0x00000bc28bc83601 in _g_closure_invoke_va () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#8  0x00000bc28bc9e04f in signal_emit_valist_unlocked () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#9  0x00000bc28bc9e51f in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#10 0x00000bc28ac3e6bc in gtk_widget_grab_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#11 0x00000bc28ac21cc7 in gtk_tree_view_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#12 0x00000bc28a91e7bd in _gtk_marshal_BOOLEAN__ENUMv () from 
/usr/local/lib/libgtk-3.so.2201.0
#13 0x00000bc28bc83652 in _g_closure_invoke_va () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#14 0x00000bc28bc9da87 in signal_emit_valist_unlocked () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#15 0x00000bc28bc9e51f in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#16 0x00000bc28ac427d6 in gtk_widget_child_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#17 0x00000bc28ab56e23 in gtk_scrolled_window_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#18 0x00000bc292334a16 in Gtk::Widget::on_focus () from 
/usr/local/lib/libgtkmm-3.0.so.4.5
#19 0x00000bc29232ac0b in Gtk::Widget_Class::focus_callback () from 
/usr/local/lib/libgtkmm-3.0.so.4.5
#20 0x00000bc28a91e7bd in _gtk_marshal_BOOLEAN__ENUMv () from 
/usr/local/lib/libgtk-3.so.2201.0
#21 0x00000bc28bc83652 in _g_closure_invoke_va () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#22 0x00000bc28bc9da87 in signal_emit_valist_unlocked () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#23 0x00000bc28bc9e51f in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#24 0x00000bc28ac427d6 in gtk_widget_child_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#25 0x00000bc28a9b84d1 in gtk_container_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#26 0x00000bc292334a16 in Gtk::Widget::on_focus () from 
/usr/local/lib/libgtkmm-3.0.so.4.5
#27 0x00000bc29232ac0b in Gtk::Widget_Class::focus_callback () from 
/usr/local/lib/libgtkmm-3.0.so.4.5
#28 0x00000bc28a91e7bd in _gtk_marshal_BOOLEAN__ENUMv () from 
/usr/local/lib/libgtk-3.so.2201.0
#29 0x00000bc28bc83652 in _g_closure_invoke_va () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#30 0x00000bc28bc9da87 in signal_emit_valist_unlocked () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#31 0x00000bc28bc9e51f in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#32 0x00000bc28ac427d6 in gtk_widget_child_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#33 0x00000bc28a9b84d1 in gtk_container_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#34 0x00000bc28a91e7bd in _gtk_marshal_BOOLEAN__ENUMv () from 
/usr/local/lib/libgtk-3.so.2201.0
#35 0x00000bc28bc83652 in _g_closure_invoke_va () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#36 0x00000bc28bc9da87 in signal_emit_valist_unlocked () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#37 0x00000bc28bc9e51f in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#38 0x00000bc28ac427d6 in gtk_widget_child_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#39 0x00000bc28a9b84d1 in gtk_container_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#40 0x00000bc28aafa51a in gtk_paned_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#41 0x00000bc28a91e7bd in _gtk_marshal_BOOLEAN__ENUMv () from 
/usr/local/lib/libgtk-3.so.2201.0
#42 0x00000bc28bc83652 in _g_closure_invoke_va () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#43 0x00000bc28bc9da87 in signal_emit_valist_unlocked () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#44 0x00000bc28bc9e51f in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#45 0x00000bc28ac427d6 in gtk_widget_child_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#46 0x00000bc28a9b84d1 in gtk_container_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#47 0x00000bc28a91e7bd in _gtk_marshal_BOOLEAN__ENUMv () from 
/usr/local/lib/libgtk-3.so.2201.0
#48 0x00000bc28bc83652 in _g_closure_invoke_va () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#49 0x00000bc28bc9da87 in signal_emit_valist_unlocked () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#50 0x00000bc28bc9e51f in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#51 0x00000bc28ac427d6 in gtk_widget_child_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#52 0x00000bc28a9b84d1 in gtk_container_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#53 0x00000bc28a91e7bd in _gtk_marshal_BOOLEAN__ENUMv () from 
/usr/local/lib/libgtk-3.so.2201.0
#54 0x00000bc28bc83652 in _g_closure_invoke_va () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#55 0x00000bc28bc9da87 in signal_emit_valist_unlocked () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#56 0x00000bc28bc9e51f in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#57 0x00000bc28ac427d6 in gtk_widget_child_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#58 0x00000bc28ac63a5b in gtk_window_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#59 0x00000bc292334a16 in Gtk::Widget::on_focus () from 
/usr/local/lib/libgtkmm-3.0.so.4.5
#60 0x00000bc29232ac0b in Gtk::Widget_Class::focus_callback () from 
/usr/local/lib/libgtkmm-3.0.so.4.5
#61 0x00000bc28a91e7bd in _gtk_marshal_BOOLEAN__ENUMv () from 
/usr/local/lib/libgtk-3.so.2201.0
#62 0x00000bc28bc83601 in _g_closure_invoke_va () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#63 0x00000bc28bc9da87 in signal_emit_valist_unlocked () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#64 0x00000bc28bc9e51f in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#65 0x00000bc28ac427d6 in gtk_widget_child_focus () from 
/usr/local/lib/libgtk-3.so.2201.0
#66 0x00000bc28ac62341 in gtk_window_show () from 
/usr/local/lib/libgtk-3.so.2201.0
#67 0x00000bc29232a1d1 in Gtk::Widget_Class::show_callback () from 
/usr/local/lib/libgtkmm-3.0.so.4.5
#68 0x00000bc28bc83340 in g_closure_invoke () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#69 0x00000bc28bc9fef9 in signal_emit_unlocked_R.123 () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#70 0x00000bc28bc9dcfe in signal_emit_valist_unlocked () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#71 0x00000bc28bc9e51f in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.4200.19
#72 0x00000bc28ac38f26 in gtk_widget_show () from 
/usr/local/lib/libgtk-3.so.2201.0
#73 0x00000bbfcbc64a97 in __register_frame_info () from /usr/local/bin/abaddon
#74 0x00000bbfcbc6b73a in __register_frame_info () from /usr/local/bin/abaddon
#75 0x00000bbfcbc6088b in ?? () from /usr/local/bin/abaddon
#76 0x0000000000000000 in ?? ()



-- 
wbr, Kirill

Reply via email to