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. The second problem was that pkg-config wouldn't find c-ares, so it kept on building without it. Looking at patch 3, where I finally got the flags correct to bypass pkg-config and declare where to find c-ares, I got errors right at the end of the build phase where 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 idea of something I can try. As it currently stands, nothing is currently set to depend on c-ares, and aria2 works without it.
Efraim Flashner (3): gnu: Add c-ares. gnu: Add aria2. gnu: aria2: Build with c-ares. gnu-system.am | 1 + gnu/packages/aria2.scm | 109 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 gnu/packages/aria2.scm -- 2.6.2