Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42050 - [suggestion] mirror://gcc/
Summary: [suggestion] mirror://gcc/
Status: RESOLVED DUPLICATE of bug 42053
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 10:36 UTC by TGL
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
gcc-mirrors.list (gcc-mirrors.list,1.33 KB, text/plain)
2004-02-18 10:38 UTC, TGL
Details
gcc-ebuilds.list (gcc-ebuilds.list,1.66 KB, text/plain)
2004-02-18 10:38 UTC, TGL
Details
gcc-mirrors.list (gcc-mirrors-tested.list,889 bytes, text/plain)
2004-02-20 03:03 UTC, TGL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2004-02-18 10:36:58 UTC
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:
Comment 1 TGL 2004-02-18 10:38:12 UTC
Created attachment 25863 [details]
gcc-mirrors.list
Comment 2 TGL 2004-02-18 10:38:50 UTC
Created attachment 25864 [details]
gcc-ebuilds.list
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-19 09:27:15 UTC
Mike, mind having a look?
Comment 4 SpanKY gentoo-dev 2004-02-19 15:32:00 UTC
could we abuse the current gnu:// since gcc is hosted by gnu ?
Comment 5 TGL 2004-02-20 02:11:37 UTC
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/)
Comment 6 TGL 2004-02-20 03:02:36 UTC
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.). 
Comment 7 TGL 2004-02-20 03:03:41 UTC
Created attachment 25972 [details]
gcc-mirrors.list
Comment 8 Alexander Gabert (RETIRED) gentoo-dev 2004-03-01 08:01:11 UTC

*** This bug has been marked as a duplicate of 42053 ***