From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 0/3] add c-ares and aria2 Date: Mon, 2 Nov 2015 09:17:12 +0200 Message-ID: <20151102091712.3adf9604@debian-netbook> References: <1446448523-27811-1-git-send-email-efraim@flashner.co.il> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/87wBau/3CGNSe9aQQ4=3OEY"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zt9Mo-0002kr-HE for guix-devel@gnu.org; Mon, 02 Nov 2015 02:17:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zt9Ml-0005JI-B5 for guix-devel@gnu.org; Mon, 02 Nov 2015 02:17:22 -0500 Received: from flashner.co.il ([178.62.234.194]:40023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zt9Mk-0005JC-W8 for guix-devel@gnu.org; Mon, 02 Nov 2015 02:17:19 -0500 Received: from debian-netbook (85.65.229.31.dynamic.barak-online.net [85.65.229.31]) by flashner.co.il (Postfix) with ESMTPSA id 3EE52401E2 for ; Mon, 2 Nov 2015 07:17:18 +0000 (UTC) In-Reply-To: <1446448523-27811-1-git-send-email-efraim@flashner.co.il> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --Sig_/87wBau/3CGNSe9aQQ4=3OEY Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 2 Nov 2015 09:15:20 +0200 Efraim Flashner wrote: > This patch has driven me crazy a bit. C-ares is a library for asynchronou= s DNS > lookups, and aria2 is a cli program to download multiple files/torrents > simultaneously, and also a git-annex dependency. C-ares builds without any > problems, but aria2 was a different story. The first problem is that the = tests > seem to need network connectivity, and it tries to access files outside t= he > build chroot. Disabling the tests was the easy part. The second problem w= as that > pkg-config wouldn't find c-ares, so it kept on building without it. Looki= ng at > patch 3, where I finally got the flags correct to bypass pkg-config and d= eclare > where to find c-ares, I got errors right at the end of the build phase wh= ere it > couldn't find certain features of c-ares. As the patches are, patch 1 and= 2 work > well, patch 3 doesn't build, but I've included it in case anyone has an i= dea of > something I can try. As it currently stands, nothing is currently set to = depend > on c-ares, and aria2 works without it. I meant to include the error at the end of the build phase: CXXLD aria2c ./.libs/libaria2.so: undefined reference to `ares_fds' ./.libs/libaria2.so: undefined reference to `ares_getsock' ./.libs/libaria2.so: undefined reference to `ares_destroy' ./.libs/libaria2.so: undefined reference to `ares_process' ./.libs/libaria2.so: undefined reference to `ares_gethostbyname' ./.libs/libaria2.so: undefined reference to `ares_library_init' ./.libs/libaria2.so: undefined reference to `ares_strerror' ./.libs/libaria2.so: undefined reference to `ares_process_fd' ./.libs/libaria2.so: undefined reference to `ares_init' ./.libs/libaria2.so: undefined reference to `ares_library_cleanup' collect2: error: ld returned 1 exit status Makefile:1796: recipe for target 'aria2c' failed > Efraim Flashner (3): > gnu: Add c-ares. > gnu: Add aria2. > gnu: aria2: Build with c-ares. >=20 > gnu-system.am | 1 + > gnu/packages/aria2.scm | 109 +++++++++++++++++++++++++++++++++++++++++++= ++++++ > 2 files changed, 110 insertions(+) > create mode 100644 gnu/packages/aria2.scm >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Sig_/87wBau/3CGNSe9aQQ4=3OEY Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWNw34AAoJEPTB05F+rO6TKiQP/iLWqtleOke4jGcjQOq0qUco ncpLVqfbuV8unPcDXmWXmnSgTKJCfBUCfp0DdPOKzbaYh9M77UbXkz3HWz/XbgVl 6pJwRlr1L1UNeyDpt489Wd8SUcONvOeps2NwTwGIOg6sDzUS3odJTw/CZXhNR1fb 5/HDaRL6AiMk15vNlmtS6JY2RdmvXOFdB13JaJvNPa+MDBdwn5v+gtj6+ffVsiV8 baXWWN14Q5Y/3V3Lot/LjlhQ7mD9OAtr4YhVCqDLYxS+zY5CiOIbnb+hl4VaDn+g ArLx0E3D5bG2/PM5ey0CqeXXCYztbzUg/33RrwndYVKrL0Po+C/Vj3hVuINw9a9c islCMAcPmXptBsCIFWLB7Vd6IhH4RfO8Kqt/zrTzMwPGZPes7zFoGRYN1dN0ffDR Nwl/LQPQZO4tJeJuKoaeOYrUYnsB5fBTeso4XI3FWwrRqTuSKLLY6yItQBhM1VXn 05V98HgorfqDS8dyMP8iJz/dK0pBASudIk3D9gg+n3Hx4M+0lCRKIfpaBbveSCws DQ+bhJdFJHGj3kPXPfSlmqFsPVzFhDRTuG8LZOZZ/mxGiGuplgiLPDSVg6N3MLlE kODrbiPh254T9A3kl6GIBAREw9cYesR3Z/p3x8Hk6NgKv72+JePQaeqKsW1g4RNm rhyn2U/AyiRopIINPLty =uSwf -----END PGP SIGNATURE----- --Sig_/87wBau/3CGNSe9aQQ4=3OEY--