Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 446186

Summary: net-p2p/rtorrent-0.9.2: bad configure check prevents cross-compilation
Product: Gentoo Linux Reporter: Ambroz Bizjak <ambrop7>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED FIXED    
Severity: normal CC: net-p2p, steev, zerochaos
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
rtorrent-0.9.2-cross-compile.patch
rtorrent-0.9.2.ebuild-cross-compile.patch

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(+)