Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152773 - SuperTuxKart-0.2: incorrect SRC_URI in ebuild
Summary: SuperTuxKart-0.2: incorrect SRC_URI in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-25 05:50 UTC by Kir Kolyshkin
Modified: 2006-10-25 17:01 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 Kir Kolyshkin 2006-10-25 05:50:07 UTC
SRC_URI given in ebuild -- i.e. http://prdownload.berlios.de/supertuxkart/SuperTuxKart-0.2.tar.bz2 -- is not valid.

>>> Emerging (8 of 8) games-action/supertuxkart-0.2 to /
>>> Downloading 'ftp://dgap-gw.mipt.ru/Gentoo/distfiles/SuperTuxKart-0.2.tar.bz2'
--16:36:55--  ftp://dgap-gw.mipt.ru/Gentoo/distfiles/SuperTuxKart-0.2.tar.bz2
           => `/usr/portage/distfiles/SuperTuxKart-0.2.tar.bz2'
Resolving dgap-gw.mipt.ru... 194.85.81.130
Connecting to dgap-gw.mipt.ru|194.85.81.130|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /Gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR SuperTuxKart-0.2.tar.bz2 ... 
No such file `SuperTuxKart-0.2.tar.bz2'.

>>> Downloading 'http://prdownload.berlios.de/supertuxkart/SuperTuxKart-0.2.tar.bz2'
--16:36:55--  http://prdownload.berlios.de/supertuxkart/SuperTuxKart-0.2.tar.bz2
           => `/usr/portage/distfiles/SuperTuxKart-0.2.tar.bz2'
Resolving prdownload.berlios.de... 195.37.77.141
Connecting to prdownload.berlios.de|195.37.77.141|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,357 (3.3K) [text/html]

100%[====================================>] 3,357         --.--K/s             

16:36:55 (2.74 MB/s) - `/usr/portage/distfiles/SuperTuxKart-0.2.tar.bz2' saved [3357/3357]

!!! Couldn't download 'SuperTuxKart-0.2.tar.bz2'. Aborting.

!!! Fetch for /usr/portage/games-action/supertuxkart/supertuxkart-0.2.ebuild failed, continuing...



!!! Some fetch errors were encountered.  Please see above for details.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-25 06:28:17 UTC
>>> Emerging (2 of 2) games-action/supertuxkart-0.2 to /
>>> Downloading 'ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/distfiles/SuperTuxKart-0.2.tar.bz2'
--15:26:48--  ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/distfiles/SuperTuxKart-0.2.tar.bz2
           => `/usr/portage/distfiles/SuperTuxKart-0.2.tar.bz2'
Resolving ftp.sh.cvut.cz... 147.32.127.222
Connecting to ftp.sh.cvut.cz|147.32.127.222|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /MIRRORS/gentoo/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR SuperTuxKart-0.2.tar.bz2 ... done.
Length: 9,854,112 (9.4M) (unauthoritative)

100%[===================================================================================================>] 9,854,112    234.09K/s    ETA 00:00

15:27:32 (220.73 KB/s) - `/usr/portage/distfiles/SuperTuxKart-0.2.tar.bz2' saved [9854112]

 * SuperTuxKart-0.2.tar.bz2 MD5 ;-) ...                                                                                                  [ ok ]
 * SuperTuxKart-0.2.tar.bz2 RMD160 ;-) ...                                                                                               [ ok ]
 * SuperTuxKart-0.2.tar.bz2 SHA1 ;-) ...                                                                                                 [ ok ]
 * SuperTuxKart-0.2.tar.bz2 SHA256 ;-) ...                                                                                               [ ok ]
 * SuperTuxKart-0.2.tar.bz2 size ;-) ...                                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                   [ ok ]
 * checking SuperTuxKart-0.2.tar.bz2 ;-) ...                                                                                             [ ok ]

Downloads just fine here; Berlios plain suck, complain to them, we can't do anything about it.
Comment 2 Kir Kolyshkin 2006-10-25 11:32:44 UTC
(In reply to comment #1)

Unfortunately you don't get the point.

First, emerge tries to download a package from Gentoo mirrors. This is what you showed, and yep, it works for you (and didn't work for me because I have a limited set of gentoo mirrors set up in /etc/make.conf -- but this is not the bug).

The bug is, if all Gentoo mirrors (and their set can be limited) are tried, SRC_URI in .ebuild is used -- and this one is incorrect.

Hope I have made myself clear this time. :)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-25 12:10:46 UTC
SRC_URI is correct, Berlios is a piece of junk that kills wget. Complain to them, we can't fix it.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-25 12:36:05 UTC
OK, does either of these work for you?

http://download.berlios.de/supertuxkart/SuperTuxKart-0.2.tar.bz2
http://download2.berlios.de/supertuxkart/SuperTuxKart-0.2.tar.bz2

I get some junk index page when I try from 2 ISPs, from one it works... go figure. Personally I haven't been able to d/l anything from Berlios reliably for months.
Comment 5 Kir Kolyshkin 2006-10-25 12:40:15 UTC
Sourceforge does exactly the same for more than five years AFAIK. Sourceforge case is handled in a special way by using "SRC_URI="mirror://sourceforge/..." in ebuild (and some logic within portage -- apparently I don't know where).

Berlios.de case is very similar, so I suppose two things can be done

1. (long-term) Implement mirror://berlios/ support, same as for sf.net

2. (short-term) Put
http://download.berlios.de/supertuxkart/SuperTuxKart-0.2.tar.bz2
http://download2.berlios.de/supertuxkart/SuperTuxKart-0.2.tar.bz2
into supertuxkart ebuild. Both URLs works fine for me (tried from two distinct hosts in distinct networks).
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-10-25 12:47:55 UTC
Eh, you don't understand either. I'm not talking about the redirects, I'm talking about getting index pages instead of the tarballs *randomly*. As I've written above, the URLs I've posted are supposed to be correct, yet I only only get junk via wget from two different ISPs, works from the third one.
Comment 7 Tristan Heaven (RETIRED) gentoo-dev 2006-10-25 17:01:26 UTC
Fixed, thanks.