man portage doesn't specify the requirements to use /etc/portage/mirrors Reproducible: Always Steps to Reproduce: 1. I've created an /etc/portage/mirrors according to the mirrors located on my city. 2. The file is completely ignored if you have on /etc/make.conf a commented or uncommented out GENTOO_MIRRORS Actual Results: 1. it tries to download the files from packages.gentoo.org anyway Expected Results: obey to the list of mirrors on /etc/portage/mirrors as the man says its the default. Adding on /etc/make.conf the (undocumented) variable GENTOO_MIRRORS=/etc/portage/mirrors the problem is solved.
the mirrors file is to let you override /usr/portage/profiles/thirdpartymirrors GENTOO_MIRRORS is documented in `man make.conf`
do you think " GENTOO_MIRRORS = [URLs] Insert your space-seperated list of local mirrors here. These locations are used to download files before the ones listed in the ebuild scripts. Merging 'mirrorselect' can help." is enough? I really don't think so.
yes, i do think it's just fine the way it is
well, forget it, it's easy to guess (I don't think so though) you need to add on /etc/make.conf the variable PORTAGE_MIRRORS=/etc/portage/mirrors to use the file. I hope this bug explains what ALL the mans don't explain, It was a bug I was solving it by myself, but if you don't want to modify the mans, it's only a lazyness issue, nothing more, nothing else.
you do not need to set any variable in make.conf to make /etc/portage/mirrors work root@vapier 0 ~ # grep mirrors /etc/make.conf root@vapier 0 ~ # cat /etc/portage/mirrors gnu asdf ftp://ftp.gnu.org/gnu ftp://mirrors.kernel.org/gnu root@vapier 0 ~ # portageq envvar GENTOO_MIRRORS http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo root@vapier 0 ~ # emerge -pf automake http://distfiles.gentoo.org/distfiles/automake-1.9.6.tar.bz2 http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/automake-1.9.6.tar.bz2 asdf/automake/automake-1.9.6.tar.bz2 ftp://ftp.gnu.org/gnu/automake/automake-1.9.6.tar.bz2 ftp://mirrors.kernel.org/gnu/automake/automake-1.9.6.tar.bz2 ftp://ftp.de.uu.net/pub/gnu/automake/automake-1.9.6.tar.bz2 http://ftp.gnu.org/gnu/automake/automake-1.9.6.tar.bz2 ... as you can see, the first two hits are from my GENTOO_MIRRORS, the next 3 are from my /etc/portage/mirrors, and the rest are from /usr/portage/profiles/thirdpartymirrors