Cannot compile on Manjaro (Arch based)
Currently I cannot build the current version of Jami on Manjaro. Here is the end of the command line output. Because I use a script to run all build commands, I don't know which command exactly has thrown the error.
[...]
/home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/avatarmanipulation.cpp:496:13: warning: Deprecated pre-processor symbol, replace with
496 | auto priv = AVATAR_MANIPULATION_GET_PRIVATE(self);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from /home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.h:22,
from /home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.cpp:20:
/home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.cpp: In function ‘GType messaging_widget_get_type_once()’:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:36:45: warning: ‘GType gtk_vbox_get_type()’ is deprecated [-Wdeprecated-declarations]
36 | #define GTK_TYPE_VBOX (gtk_vbox_get_type ())
| ^
/usr/include/glib-2.0/gobject/gtype.h:2017:40: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
2017 | g_type_register_static_simple (TYPE_PARENT, \
| ^~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1763:60: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
1763 | #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1644:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
1644 | #define G_DEFINE_TYPE_WITH_PRIVATE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, G_ADD_PRIVATE (TN))
| ^~~~~~~~~~~~~~~~~~~~~~
/home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.cpp:77:1: note: in expansion of macro ‘G_DEFINE_TYPE_WITH_PRIVATE’
77 | G_DEFINE_TYPE_WITH_PRIVATE(MessagingWidget, messaging_widget, GTK_TYPE_VBOX);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.cpp:77:63: note: in expansion of macro ‘GTK_TYPE_VBOX’
77 | G_DEFINE_TYPE_WITH_PRIVATE(MessagingWidget, messaging_widget, GTK_TYPE_VBOX);
| ^~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
from /home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.h:22,
from /home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.cpp:20:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:59:13: note: declared here
59 | GType gtk_vbox_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~
/home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.cpp: In function ‘void {anonymous}::details::on_leave_widget(MessagingWidget*)’:
/home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.cpp:141:10: warning: unused variable ‘priv’ [-Wunused-variable]
141 | auto priv = MESSAGING_WIDGET_GET_PRIVATE(self);
| ^~~~
/home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.cpp: In function ‘void {anonymous}::details::on_record_button_pressed(MessagingWidget*)’:
/home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/messagingwidget.cpp:153:11: warning: enumeration value ‘MESSAGING_WIDGET_REC_SENT’ not handled in switch [-Wswitch-enum]
153 | switch(priv->cpp->state_) {
| ^
/home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/chatview.cpp: In function ‘void webkit_chat_container_script_dialog(GtkWidget*, gchar*, ChatView*)’:
/home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/chatview.cpp:600:78: warning: ‘gboolean gtk_show_uri(GdkScreen*, const gchar*, guint32, GError**)’ is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations]
600 | if (!gtk_show_uri(nullptr, filename.c_str(), GDK_CURRENT_TIME, &error)) {
| ^
In file included from /usr/include/gtk-3.0/gtk/gtk.h:200,
from /home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/chatview.h:26,
from /home/manjaro/applications/jami-easy-install/ring-project/client-gnome/src/chatview.cpp:24:
/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here
33 | gboolean gtk_show_uri (GdkScreen *screen,
| ^~~~~~~~~~~~
make[1]: *** [CMakeFiles/Makefile2:251: CMakeFiles/jami-gnome.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
Traceback (most recent call last):
File "./make-ring.py", line 583, in <module>
main()
File "./make-ring.py", line 570, in main
run_install(parsed_args)
File "./make-ring.py", line 351, in run_install
return subprocess.run(["./scripts/install.sh"] + install_args, env=environ, check=True)
File "/usr/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['./scripts/install.sh', '-p', '4', '-c', 'client-gnome']' returned non-zero exit status 2.