Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240552 - net-misc/aria2-0.16.0 fails to build w/ USE='bittorrent'
Summary: net-misc/aria2-0.16.0 fails to build w/ USE='bittorrent'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Tiziano Müller (RETIRED)
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-08 17:26 UTC by RB
Modified: 2008-10-10 13:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RB 2008-10-08 17:26:55 UTC
Basic QA bug on both ends - regardless of architecture or GCC version, USE='bittorrent' causes the aria2 build to fail on src/ActivePeerConnectionCommand.cc: 

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -Wall -I../lib -I../intl -I../intl -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H    -march=nocona -O2 -pipe -fomit-frame-pointer -pipe -MT ActivePeerConnectionCommand.o -MD -MP -MF .deps/ActivePeerConnectionCommand.Tpo -c -o ActivePeerConnectionCommand.o ActivePeerConnectionCommand.cc
ActivePeerConnectionCommand.cc: In member function 'virtual bool aria2::ActivePeerConnectionCommand::execute()':
ActivePeerConnectionCommand.cc:94: error: no matching function for call to 'min(size_t&, unsigned int)'

The fix is trivial, but should be fixed upstream - posted a bug.  Please test USE flags when adding ebuilds!
Comment 1 Wormo (RETIRED) gentoo-dev 2008-10-09 05:52:27 UTC
Thanks for the report; please post the url for your upstream bug
Comment 2 RB 2008-10-09 06:03:10 UTC
Tinyurl for the monstrous SF link:

http://tinyurl.com/3rufce
Comment 3 RB 2008-10-10 00:16:30 UTC
Upstream had a prior fix, ostensibly to fix compilation on OS X.  Not sure when another point release will be made for this and other fixes, but they seem to release monthly.

http://sourceforge.net/tracker/download.php?group_id=159897&atid=813675&file_id=296436&aid=2151628
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2008-10-10 13:24:33 UTC
fixed, thanks.