Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446186 - net-p2p/rtorrent-0.9.2: bad configure check prevents cross-compilation
Summary: net-p2p/rtorrent-0.9.2: bad configure check prevents cross-compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-12-06 00:38 UTC by Ambroz Bizjak
Modified: 2018-07-03 06:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (rtorrent-log,9.15 KB, text/plain)
2012-12-06 00:38 UTC, Ambroz Bizjak
Details
rtorrent-0.9.2-cross-compile.patch (rtorrent-0.9.2-cross-compile.patch,460 bytes, patch)
2012-12-06 00:40 UTC, Ambroz Bizjak
Details | Diff
rtorrent-0.9.2.ebuild-cross-compile.patch (rtorrent-0.9.2.ebuild-cross-compile.patch,566 bytes, patch)
2012-12-06 00:41 UTC, Ambroz Bizjak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ambroz Bizjak 2012-12-06 00:38:14 UTC
The configure script in rtorrent is attempting a run-test and failing as a result.

Reproducible: Always
Comment 1 Ambroz Bizjak 2012-12-06 00:38:43 UTC
Created attachment 331592 [details]
build log
Comment 2 Ambroz Bizjak 2012-12-06 00:40:54 UTC
Created attachment 331594 [details, diff]
rtorrent-0.9.2-cross-compile.patch

This patch fixes configure to assume that execinfo.h works when cross-compiling.
Comment 3 Ambroz Bizjak 2012-12-06 00:41:47 UTC
Created attachment 331596 [details, diff]
rtorrent-0.9.2.ebuild-cross-compile.patch

Ebuild patch. Applies the configure patch and runs eautoreconf.
Comment 4 Ambroz Bizjak 2012-12-06 00:42:59 UTC
This bug should depend on bug 446184 (libtorrent cross-compile fixes).
Comment 5 Rick Farina (Zero_Chaos) gentoo-dev 2012-12-06 05:03:19 UTC
we asked him to add us to cc, thanks
Comment 6 Larry the Git Cow gentoo-dev 2018-07-03 06:04:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02114366f60e28c528b8f94c5a5f27ac25b5d3c9

commit 02114366f60e28c528b8f94c5a5f27ac25b5d3c9
Author:     Stephen Shkardoon <ss23@ss23.geek.nz>
AuthorDate: 2018-06-30 04:09:03 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2018-07-03 05:57:02 +0000

    net-p2p/rtorrent: Patch configure to allow cross compiling
    
    Patch already merged upstream
    https://github.com/rakshasa/rtorrent/pull/753
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=446186
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../files/rtorrent-0.9.7-execinfo-configure.patch  | 23 +++++++
 net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild          | 74 ++++++++++++++++++++++
 2 files changed, 97 insertions(+)