[Pkg-xmpp-devel] Bug#1011846: telegram-purple: FTBFS: dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2

Bernhard Übelacker bernhardu at mailbox.org
Mon Jul 4 21:26:49 BST 2022


Dear Maintainer,
following patch might be enough to get it compile.

Unfortunately, while comparing it to upstream I found that
development of telegram-purple [1] seems to have stopped,
and seems to recommend the use of tdlib-purple [2] now,
currently not in Debian.

Kind regards,
Bernhard

[1] https://github.com/majn/telegram-purple
[2] https://github.com/ars3niy/tdlib-purple/




--- telegram-purple-1.4.3.orig/test/loadtest.c
+++ telegram-purple-1.4.3/test/loadtest.c
@@ -253,6 +253,12 @@ static void init_libpurple (void) {
  //
  //}
  
+static gboolean timeout_func(gpointer user_data)
+{
+  g_main_loop_quit(user_data);
+  return G_SOURCE_REMOVE;
+}
+
  int main(int argc, char *argv[])
  {
    printf ("Running loadtest on %s.\n", argv[1]);
@@ -271,7 +277,7 @@ int main(int argc, char *argv[])
  
    // Since we do not yet do anything useful, simply terminate after a few seconds.
    purple_timeout_add (2000, purple_core_quit_cb, NULL);
-  g_timeout_add (4000, (GSourceFunc)g_main_loop_quit, loop);
+  g_timeout_add (4000, timeout_func, loop);
  
  //  connect_to_signals();
  



More information about the Pkg-xmpp-devel mailing list