I've just updated gcc to 3.3.3, probably too soon after the ebuild was released, and the source archive was not yet on gentoo mirrors. After a few failed attempts to connect to gcc.gnu.org, i realized that i was in fact locally connected to a gcc mirror (irisa.fr) :) But i had to manually edit the ebuild to use this mirror because the main source adress is hardcoded. I suggest you use a "mirror://gcc/" url instead, so that users can configure the one they prefer in there /etc/portage/mirrors. Mirrors list can be found here: http://gcc.gnu.org/mirrors.html I will attach a text version of the mirrors list so that you can generate the appropriate gcc entry for profile/thirdpartymirrors. (I don't know how you sort them in general, so here they will be in the order of the mirrors web page, with the main url in front.) I will also attach a list of ebuilds that could be affected, ie. those which use ftp://gcc.gnu.org/pub/gcc/. I think a sed replacement of this url prefix by mirror://gcc/ would easily do the trick. Reproducible: Always Steps to Reproduce:
Created attachment 25863 [details] gcc-mirrors.list
Created attachment 25864 [details] gcc-ebuilds.list
Mike, mind having a look?
could we abuse the current gnu:// since gcc is hosted by gnu ?
I don't think you can do that. There is a gcc directory in gnu mirrors contents, but it's not the same as what you have on gcc mirrors (less complete, not up-to-date, and not the same hierarchy). Currently, gcc-3.3.3 is not yet on gnu mirrors, whereas it is on gcc mirrors. For comparaison: ftp://ftp.gnu.org/gnu/gcc/ ftp://gcc.gnu.org/pub/gcc/(releases/)
But what is true is that some of the mirrors from the mirrors page (hence the list in my first attachment) are in fact only path to this gcc dir from a gnu mirror. I will attach a filtered list where there are only real full gcc mirrors (with a "releases" dir containing gcc-3.3.3, etc.).
Created attachment 25972 [details] gcc-mirrors.list
*** This bug has been marked as a duplicate of 42053 ***