From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:36052) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZgb5-0005xU-KO for guix-patches@gnu.org; Tue, 26 Nov 2019 14:34:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZgb4-0008Um-AW for guix-patches@gnu.org; Tue, 26 Nov 2019 14:34:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46995) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZgb4-0008Ub-7F for guix-patches@gnu.org; Tue, 26 Nov 2019 14:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iZgb4-0000Ny-4L for guix-patches@gnu.org; Tue, 26 Nov 2019 14:34:02 -0500 Subject: [bug#38325] [PATCH 1/2] gnu: Add tdlib. Resent-Message-ID: From: Brett Gilio References: <87mucnviyy.fsf@posteo.net> <87v9r67vxn.fsf@gnu.org> Date: Tue, 26 Nov 2019 13:33:14 -0600 In-Reply-To: <87v9r67vxn.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 26 Nov 2019 11:51:00 +0100") Message-ID: <87r21u4emd.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 38325@debbugs.gnu.org Ludovic Court=C3=A8s writes: > Hello! > > Brett Gilio skribis: > >>>>From c47ed88ed3945fd7dbdee2b7e507ec512dd799be Mon Sep 17 00:00:00 2001 >> From: Brett Gilio >> Date: Fri, 22 Nov 2019 12:53:32 -0600 >> Subject: [PATCH 1/2] gnu: Add tdlib. >> >> * gnu/packages/messaging.scm (tdlib): New variable. > > [...] > >> + (build-system cmake-build-system) >> + (arguments >> + `(#:tests? #f)) > > Apparently there are tests. Could you look into enabling them? > > If some of them fail, we should investigate. > > Last thing: please address =E2=80=98guix lint=E2=80=99 warnings, I think = there=E2=80=99s a > couple of them. :-) > > Thank you, > Ludo=E2=80=99. Hey Ludo, I have fixed the linting issue. The reason why I have disabled tests is because the test cases require internet connection. [ 1][t 0][1574796396.378631592][mtproto.cpp:64][!GetHostByNameActor] 7 "web= .telegram.org" [Error : 0 : Failed to resolve host: Name or service not kno= wn] [ 1][t 0][1574796396.378687382][mtproto.cpp:64][!GetHostByNameActor] 8 "web= .telegram.org" [Error : 0 : Failed to resolve host: Name or service not kno= wn] [ 1][t 0][1574796396.378721476][mtproto.cpp:64][!GetHostByNameActor] 9 "web= .telegram.org." [Error : 0 : Failed to resolve host: Name or service not kn= own] [ 1][t 0][1574796396.378756762][mtproto.cpp:64][!GetHostByNameActor] 10 "we= b.telegram.org." [Error : 0 : Failed to resolve host: Name or service not k= nown] [ 1][t 0][1574796396.378843307][mtproto.cpp:64][!GetHostByNameActor] 11 "= =D0=BC=D0=BE=D1=81=D0=BA=D0=B2=D0=B0.=D1=80=D1=84" [Error : 0 : Failed to r= esolve host: Name or service not known] [ 1][t 0][1574796396.379258633][mtproto.cpp:64][!GetHostByNameActor] 37 "we= b.telegram.org" [Error : 0 : Failed to resolve host: Name or service not kn= own] [ 1][t 0][1574796396.379312277][mtproto.cpp:64][!GetHostByNameActor] 38 "we= b.telegram.org" [Error : 0 : Failed to resolve host: Name or service not kn= own] [ 1][t 0][1574796396.379376888][mtproto.cpp:64][!GetHostByNameActor] 39 "we= b.telegram.org." [Error : 0 : Failed to resolve host: Name or service not k= nown] [ 1][t 0][1574796396.379430532][mtproto.cpp:64][!GetHostByNameActor] 40 "we= b.telegram.org." [Error : 0 : Failed to resolve host: Name or service not k= nown] [ 1][t 0][1574796396.379479170][mtproto.cpp:64][!GetHostByNameActor] 41 "= =D0=BC=D0=BE=D1=81=D0=BA=D0=B2=D0=B0.=D1=80=D1=84" [Error : 0 : Failed to r= esolve host: Name or service not known] [ 1][t 0][1574796396.381045103][mtproto.cpp:64][!GetHostByNameActor] 67 "we= b.telegram.org" [Error : 0 : Failed to resolve host: Name or service not kn= own] [ 1][t 0][1574796396.381077766][mtproto.cpp:64][!GetHostByNameActor] 68 "we= b.telegram.org" [Error : 0 : Failed to resolve host: Name or service not kn= own] [ 1][t 0][1574796396.381108761][mtproto.cpp:64][!GetHostByNameActor] 69 "we= b.telegram.org." [Error : 0 : Failed to resolve host: Name or service not k= nown] [ 1][t 0][1574796396.381140471][mtproto.cpp:64][!GetHostByNameActor] 70 "we= b.telegram.org." [Error : 0 : Failed to resolve host: Name or service not k= nown] [ 1][t 0][1574796396.381173134][mtproto.cpp:64][!GetHostByNameActor] 71 "= =D0=BC=D0=BE=D1=81=D0=BA=D0=B2=D0=B0.=D1=80=D1=84" [Error : 0 : Failed to r= esolve host: Name or service not known] I might be able to strip out those particular tests, but it would seem to me that needing internet connection on a test case is likely not the "Guix way" of doing this. Wdyt? Brett Gilio