all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org
Subject: Re: [PATCH 0/3] add c-ares and aria2
Date: Mon, 2 Nov 2015 09:17:12 +0200	[thread overview]
Message-ID: <20151102091712.3adf9604@debian-netbook> (raw)
In-Reply-To: <1446448523-27811-1-git-send-email-efraim@flashner.co.il>

[-- Attachment #1: Type: text/plain, Size: 2427 bytes --]

On Mon,  2 Nov 2015 09:15:20 +0200
Efraim Flashner <efraim@flashner.co.il> wrote:

> 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.

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.
> 
>  gnu-system.am          |   1 +
>  gnu/packages/aria2.scm | 109 +++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 110 insertions(+)
>  create mode 100644 gnu/packages/aria2.scm
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2015-11-02  7:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Efraim Flashner [this message]
2015-11-03 13:35 ` [PATCH 0/3] add c-ares and aria2 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151102091712.3adf9604@debian-netbook \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.