On Thu, 5 Nov 2015 11:19:53 +0200 Efraim Flashner wrote: > On Tue, 03 Nov 2015 14:35:07 +0100 > ludo@gnu.org (Ludovic Courtès) wrote: > > > Efraim Flashner skribis: > > > > > This patch has driven me crazy a bit. C-ares is a library for asynchronous 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 the > > > build chroot. Disabling the tests was the easy part. > > > > It’s cheating! ;-) Could you investigate and see whether/how tests > > could run in the build environment? A common problem wrt. networking in > > host name lookups. In the build environment, only “localhost” can be > > found. > > -- > > > > Ludo’. > > In the end rebuilding c-ares with the release tarball and not the github > tarball fixed the issues with aria2 not recognizing c-ares. I wasn't able to > get anything more out of aria2, more than it not finding the locations and > leaving me with with variables pointing to /path/to/dir and the like. > here's the end of the log file: ##Failure Location unknown## : Error Test name: N5aria224LpdMessageDispatcherTestE::testSendMessage uncaught exception of type N5aria29DlAbortExE - Failed to set a socket option, cause: No such device LpdMessageReceiverTest.cc:34:Assertion Test name: N5aria222LpdMessageReceiverTestE::testReceiveMessage assertion failed - Expression: rcv.init("") Failures !!! Run: 979 Failure total: 2 Failures: 1 Errors: 1 FAIL aria2c (exit status: 1) the way it's presented in the command line, however, is that there was 1 test, and 1 fail, making it harder to figure out what was going on. -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted