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

Bug 212824

Summary: net-libs/libtorrent-0.12 fails to build with gcc-4.3
Product: Gentoo Linux Reporter: Philipp <carlphilippreh>
Component: [OLD] GCC PortingAssignee: Timothy Redaelli (RETIRED) <drizzt>
Severity: normal CC: esigra, flameeyes, net-p2p
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: patch for missing includes
One more missing include fixed

Description Philipp 2008-03-09 14:51:57 UTC
net-libs/libtorrent misses some includes that are required by gcc-4.3.
I have filed a bug report upstream.
Comment 1 Philipp 2008-03-09 14:52:24 UTC
Created attachment 145650 [details, diff]
patch for missing includes
Comment 2 Philipp 2008-03-09 15:19:34 UTC
Created attachment 145651 [details, diff]
One more missing include fixed

The previous patch compiles libtorrent fine but fails when building rtorrent because one additional include was missing.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-21 14:33:26 UTC
I've fixed it with a patch coming from Debian, which is basically identical. Thanks for reporting.
Comment 4 Philipp 2008-04-22 14:11:05 UTC
#include <string> is still missing in tracker_list.h.
See my second attachment.
This bug only triggers if you try to compile rtorrent against libtorrent.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-27 12:53:58 UTC
Sorry missed that, fixed now.