I just tried to fetch a package for a ebuild in development (using ebuild fetch), and it failed because the download from sourceforge failed on the first mirror, and wget saved the file with "?download&failedmirror=nchc.dl.sourceforge.net" appended to the filename. The SRC_URI used in the ebuild is "mirror://sourceforge/${PN}/${P}-bin.tar.gz" I tried a few more times and finally got a working mirror on first try, the file got saved just right in this case. A possible solution would be to use the --output-document flag to wget to specify the filename outfront (basename of the SRC_URI item).
Anyone having an opinion on this one?
Thanks, this is fixed in svn r6741.
This has been released in 2.1.2.11.