I just have http:// in my make.conf and a restrict firewall policy -w orked well since today, while >I tried to fetch the new bind package : tfoerste@n22 /usr/portage/net-dns/bind-tools $ ebuild bind-tools-9.9.5.ebuild fetch >>> Downloading 'http://mirror.netcologne.de/gentoo/distfiles/bind-9.9.5.tar.gz' --2014-02-01 11:15:35-- http://mirror.netcologne.de/gentoo/distfiles/bind-9.9.5.tar.gz Resolving mirror.netcologne.de... 194.8.197.22, 2001:4dd0:1234:1::deb Connecting to mirror.netcologne.de|194.8.197.22|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2014-02-01 11:15:36 ERROR 404: Not Found. >>> Downloading 'http://mirror.opteamax.de/gentoo/distfiles/bind-9.9.5.tar.gz' --2014-02-01 11:15:36-- http://mirror.opteamax.de/gentoo/distfiles/bind-9.9.5.tar.gz Resolving mirror.opteamax.de... 194.62.23.99, 2001:67c:1420::1:50 Connecting to mirror.opteamax.de|194.62.23.99|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2014-02-01 11:15:36 ERROR 404: Not Found. >>> Downloading 'http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/bind-9.9.5.tar.gz' --2014-02-01 11:15:36-- http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/bind-9.9.5.tar.gz Resolving linux.rz.ruhr-uni-bochum.de... 134.147.32.114 Connecting to linux.rz.ruhr-uni-bochum.de|134.147.32.114|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2014-02-01 11:15:36 ERROR 404: Not Found. >>> Downloading 'http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/bind-9.9.5.tar.gz' --2014-02-01 11:15:36-- http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/bind-9.9.5.tar.gz Resolving ftp.snt.utwente.nl... 130.89.149.20, 2001:67c:2564:a120::20 Connecting to ftp.snt.utwente.nl|130.89.149.20|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2014-02-01 11:15:36 ERROR 404: Not Found. >>> Downloading 'ftp://ftp.isc.org/isc/bind9/9.9.5/bind-9.9.5.tar.gz' --2014-02-01 11:15:36-- ftp://ftp.isc.org/isc/bind9/9.9.5/bind-9.9.5.tar.gz => ‘/usr/portage/distfiles/bind-9.9.5.tar.gz’ Resolving ftp.isc.org... 204.152.184.110, 2001:4f8:0:2::18 Connecting to ftp.isc.org|204.152.184.110|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /isc/bind9/9.9.5 ... done. ==> SIZE bind-9.9.5.tar.gz ... 7729695 ==> PASV ... couldn't connect to 204.152.184.110 port 63122: Connection timed out Retrying. --2014-02-01 11:16:39-- ftp://ftp.isc.org/isc/bind9/9.9.5/bind-9.9.5.tar.gz (try: 2) => ‘/usr/portage/distfiles/bind-9.9.5.tar.gz’ Connecting to ftp.isc.org|204.152.184.110|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /isc/bind9/9.9.5 ... done. ==> SIZE bind-9.9.5.tar.gz ... 7729695 ==> PASV ...
FWIW a wget http://ftp.isc.org/isc/bind9/9.9.5/bind-9.9.5.tar.gz works flawlessly over a wget ftp://ftp.isc.org/isc/bind9/9.9.5/bind-9.9.5.tar.gz
First, this looks like it is not a portage problem. Bind only lists an ftp:// protocol for the primary sources. You happen to be trying to fetch the sources before they have been cached by any of the gentoo distfile mirrors. As it shows in your output, the file was not found in the mirrors, so ended up trying to fetch the sources from the url listed in the SRC_URI. SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz So, you will have to wait until the sources have been added to the mirrors. Or find an alternate method of obtaining them. You also did not include any portage version information, nor your make.conf
(In reply to Brian Dolbec from comment #2) > So, you will have to wait until the sources have been added to the mirrors. /me wonders if sources should/could be mirrored before publishing a new ebuild ? > You also did not include any portage version information, nor your make.conf yes, yes
Sources can be mirrored before the bump in the tree. But that is normally only done for pkgs where the maintainer creates special files, tarballs. Even then the maintainer is suppose to host the file in his dev space. Normally the sources are mirrored after the first day of a bump. I don't know how many times a day the distfiles list to mirror are recalulated from the tree's ebuilds.