unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/3] add c-ares and aria2
@ 2015-11-02  7:15 Efraim Flashner
  2015-11-02  7:15 ` [PATCH 1/3] gnu: Add c-ares Efraim Flashner
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Efraim Flashner @ 2015-11-02  7:15 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-11-12 20:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-02  7:15 [PATCH 0/3] add c-ares and aria2 Efraim Flashner
2015-11-02  7:15 ` [PATCH 1/3] gnu: Add c-ares Efraim Flashner
2015-11-03 13:42   ` Ludovic Courtès
2015-11-02  7:15 ` [PATCH 2/3] gnu: Add aria2 Efraim Flashner
2015-11-02  7:15 ` [PATCH 3/3] gnu: aria2: Build with c-ares Efraim Flashner
2015-11-02  7:17 ` [PATCH 0/3] add c-ares and aria2 Efraim Flashner
2015-11-03 13:35 ` Ludovic Courtès
2015-11-05  9:19   ` Efraim Flashner
2015-11-08 13:33     ` Efraim Flashner
2015-11-12 13:05       ` Ludovic Courtès
2015-11-12 17:38         ` Efraim Flashner
2015-11-12 20:33           ` Ludovic Courtès
2015-11-12 13:07     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).