emerge -av dosemu !!! Couldn't download 'dosemu-1.4.1_pre20130107.zip'. Aborting. * Fetch failed for 'app-emulation/dosemu-1.4.1_pre20130107-r5', Log file: * '/var/tmp/portage/app-emulation/dosemu-1.4.1_pre20130107-r5/temp/build.log'
(In reply to Plüss Roland from comment #0) > emerge -av dosemu > > !!! Couldn't download 'dosemu-1.4.1_pre20130107.zip'. Aborting. > * Fetch failed for 'app-emulation/dosemu-1.4.1_pre20130107-r5', Log file: > * > '/var/tmp/portage/app-emulation/dosemu-1.4.1_pre20130107-r5/temp/build.log' Please attach the entire build.log to this bug
And also include emerge --info as a comment
$ ebuild dosemu-1.4.1_pre20130107-r5.ebuild fetch Appending /home/jer/git/gentoo to PORTDIR_OVERLAY... >>> Downloading 'https://download.sourceforge.net/dosemu/dosemu-freedos-1.0-bin.tgz' --2019-04-26 15:36:48-- https://download.sourceforge.net/dosemu/dosemu-freedos-1.0-bin.tgz Resolving download.sourceforge.net (download.sourceforge.net)... 216.105.38.13 Connecting to download.sourceforge.net (download.sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://downloads.sourceforge.net/project/dosemu/dosemu-freedos/1.0/dosemu-freedos-1.0-bin.tgz [following] --2019-04-26 15:36:49-- https://downloads.sourceforge.net/project/dosemu/dosemu-freedos/1.0/dosemu-freedos-1.0-bin.tgz Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13 Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://netcologne.dl.sourceforge.net/project/dosemu/dosemu-freedos/1.0/dosemu-freedos-1.0-bin.tgz [following] --2019-04-26 15:36:49-- https://netcologne.dl.sourceforge.net/project/dosemu/dosemu-freedos/1.0/dosemu-freedos-1.0-bin.tgz Resolving netcologne.dl.sourceforge.net (netcologne.dl.sourceforge.net)... 78.35.24.46, 2001:4dd0:1234:6::5f Connecting to netcologne.dl.sourceforge.net (netcologne.dl.sourceforge.net)|78.35.24.46|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1205628 (1.1M) [application/octet-stream] Saving to: ‘/aches/gentoo/distfiles/dosemu-freedos-1.0-bin.tgz’ /aches/gentoo/distfiles/dosemu-freedos- 100%[==============================================================================>] 1.15M 2.96MB/s in 0.4s 2019-04-26 15:36:50 (2.96 MB/s) - ‘/aches/gentoo/distfiles/dosemu-freedos-1.0-bin.tgz’ saved [1205628/1205628] * dosemu-freedos-1.0-bin.tgz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Downloading 'https://sourceforge.net/code-snapshots/git/d/do/dosemu/code.git/dosemu-code-15cfb41ff20a052769d753c3262c57ecb050ad71.zip' --2019-04-26 15:36:51-- https://sourceforge.net/code-snapshots/git/d/do/dosemu/code.git/dosemu-code-15cfb41ff20a052769d753c3262c57ecb050ad71.zip Resolving sourceforge.net (sourceforge.net)... 216.105.38.13 Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2019-04-26 15:36:51 ERROR 404: Not Found. !!! Couldn't download 'dosemu-1.4.1_pre20130107.zip'. Aborting.
Does it still happen for you? Seems to work fine here.
Nope(In reply to Sergei Trofimovich from comment #4) > Does it still happen for you? Seems to work fine here. Nope. It tries to download this file: https://sourceforge.net/code-snapshots/git/d/do/dosemu/code.git/dosemu-code-15cfb41ff20a052769d753c3262c57ecb050ad71.zip Which gives: Error 404 We could not find the page you requested.
Aha, reproduced as: DISTDIR=/tmp/ddd GENTOO_MIRRORS= ebuild dosemu-1.4.1_pre20130107-r5.ebuild clean fetch Do you disable gentoo mirrors on purpose? Those do have that file. I'll find a new working link and update the ebuild.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3be4146cc6ab4fdb89ee5bb7e75bcce5d0aedf commit 1a3be4146cc6ab4fdb89ee5bb7e75bcce5d0aedf Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-04-28 13:48:46 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-04-28 13:48:46 +0000 app-emulation/dosemu: fix SRC_URI to be a stable link sourceforge expires tarball links to arbitrary snapshots and generates unstable snapshots. Use a tarball copy instead. Reported-by: Plüss Roland Closes: https://bugs.gentoo.org/684410 Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
(In reply to Sergei Trofimovich from comment #6) > Aha, reproduced as: > DISTDIR=/tmp/ddd GENTOO_MIRRORS= ebuild dosemu-1.4.1_pre20130107-r5.ebuild > clean fetch > > Do you disable gentoo mirrors on purpose? Those do have that file. > > I'll find a new working link and update the ebuild. I never disabled mirrors. How can I do this?
(In reply to Plüss Roland from comment #8) > (In reply to Sergei Trofimovich from comment #6) > > Aha, reproduced as: > > DISTDIR=/tmp/ddd GENTOO_MIRRORS= ebuild dosemu-1.4.1_pre20130107-r5.ebuild > > clean fetch > > > > Do you disable gentoo mirrors on purpose? Those do have that file. > > > > I'll find a new working link and update the ebuild. > > I never disabled mirrors. How can I do this? Usually via GENTO_MIRRORS= variable in make.conf. The default is GENTOO_MIRRORS="http://distfiles.gentoo.org" I also have local machine to try to fetch from there first: $ emerge --info | fgrep MIRROR GENTOO_MIRRORS="ftp://192.168.1.250 http://distfiles.gentoo.org" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" Some users use app-portage/mirrorselect for that. If you post `emerge --info` we can check if that is the case.
(In reply to Sergei Trofimovich from comment #9) > (In reply to Plüss Roland from comment #8) > > (In reply to Sergei Trofimovich from comment #6) > > > Aha, reproduced as: > > > DISTDIR=/tmp/ddd GENTOO_MIRRORS= ebuild dosemu-1.4.1_pre20130107-r5.ebuild > > > clean fetch > > > > > > Do you disable gentoo mirrors on purpose? Those do have that file. > > > > > > I'll find a new working link and update the ebuild. > > > > I never disabled mirrors. How can I do this? > > Usually via GENTO_MIRRORS= variable in make.conf. The default is > GENTOO_MIRRORS="http://distfiles.gentoo.org" > > I also have local machine to try to fetch from there first: > $ emerge --info | fgrep MIRROR > GENTOO_MIRRORS="ftp://192.168.1.250 http://distfiles.gentoo.org" > PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" > > Some users use app-portage/mirrorselect for that. > > If you post `emerge --info` we can check if that is the case. I do have a server around here which mirrors the official repo so it's not always going online all the time. So my machine is set up to fetch from this server. This server updates portage nightly. Nothing special there. So I did not "disable" mirrors. Why should URL be different? Why no other package shows these symptoms?
(In reply to Plüss Roland from comment #10) > (In reply to Sergei Trofimovich from comment #9) > > (In reply to Plüss Roland from comment #8) > > > (In reply to Sergei Trofimovich from comment #6) > > > > Aha, reproduced as: > > > > DISTDIR=/tmp/ddd GENTOO_MIRRORS= ebuild dosemu-1.4.1_pre20130107-r5.ebuild > > > > clean fetch > > > > > > > > Do you disable gentoo mirrors on purpose? Those do have that file. > > > > > > > > I'll find a new working link and update the ebuild. > > > > > > I never disabled mirrors. How can I do this? > > > > Usually via GENTO_MIRRORS= variable in make.conf. The default is > > GENTOO_MIRRORS="http://distfiles.gentoo.org" > > > > I also have local machine to try to fetch from there first: > > $ emerge --info | fgrep MIRROR > > GENTOO_MIRRORS="ftp://192.168.1.250 http://distfiles.gentoo.org" > > PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" > > > > Some users use app-portage/mirrorselect for that. > > > > If you post `emerge --info` we can check if that is the case. > > I do have a server around here which mirrors the official repo so it's not > always going online all the time. So my machine is set up to fetch from this > server. This server updates portage nightly. Nothing special there. > > So I did not "disable" mirrors. Why should URL be different? Why no other > package shows these symptoms? To try to answer that question we would need to debug your mirror. Please provide `emerge --info` and full fetch log that renders a failure.
I took another look. This particular machine is not hooked up to the local mirror on the server: GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/" So it's not empty. I think it has been set back then using mirror-select or how this program has been called. Anything else that should be used nowadays?
(In reply to Plüss Roland from comment #12) > I took another look. This particular machine is not hooked up to the local > mirror on the server: > > GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/" > > So it's not empty. I think it has been set back then using mirror-select or > how this program has been called. > > Anything else that should be used nowadays? https://wiki.gentoo.org/wiki/Mirrorselect perhaps. http://mirror.switch.ch/mirror/gentoo/ reports 404 for me: """ The requested resource /mirror/gentoo/ is no longer available on this server and there is no forwarding address. Please remove all references to this resource. """ You might want to switch to working mirror from https://gentoo.org/downloads/mirrors/
(In reply to Sergei Trofimovich from comment #13) > (In reply to Plüss Roland from comment #12) > > I took another look. This particular machine is not hooked up to the local > > mirror on the server: > > > > GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/" > > > > So it's not empty. I think it has been set back then using mirror-select or > > how this program has been called. > > > > Anything else that should be used nowadays? > > https://wiki.gentoo.org/wiki/Mirrorselect perhaps. > > http://mirror.switch.ch/mirror/gentoo/ reports 404 for me: > """ > The requested resource > /mirror/gentoo/ > is no longer available on this server and there is no forwarding address. > Please remove all references to this resource. > """ > > You might want to switch to working mirror from > https://gentoo.org/downloads/mirrors/ I tried using another mirror. As it looks like emerge --sync seems to be ignoring GENTOO_MIRROR since the sync command gives a totally different output than expected: Starting rsync with rsync://160.116.15.34/gentoo-portage... In particular the IP address in the sync is not matching with the one of the mirror if I query it. This all doesn't make any sense.
(In reply to Plüss Roland from comment #14) > (In reply to Sergei Trofimovich from comment #13) > > (In reply to Plüss Roland from comment #12) > > > I took another look. This particular machine is not hooked up to the local > > > mirror on the server: > > > > > > GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/" > > > > > > So it's not empty. I think it has been set back then using mirror-select or > > > how this program has been called. > > > > > > Anything else that should be used nowadays? > > > > https://wiki.gentoo.org/wiki/Mirrorselect perhaps. > > > > http://mirror.switch.ch/mirror/gentoo/ reports 404 for me: > > """ > > The requested resource > > /mirror/gentoo/ > > is no longer available on this server and there is no forwarding address. > > Please remove all references to this resource. > > """ > > > > You might want to switch to working mirror from > > https://gentoo.org/downloads/mirrors/ > > I tried using another mirror. As it looks like emerge --sync seems to be > ignoring GENTOO_MIRROR since the sync command gives a totally different > output than expected: > > Starting rsync with rsync://160.116.15.34/gentoo-portage... > > In particular the IP address in the sync is not matching with the one of the > mirror if I query it. This all doesn't make any sense. 'man make.conf' says GENTOO_MIRRORS is for artifacts referred by ebuilds (referred by SRC_URI). And 'SYNC' is for ebuild tree rsync mirrors (referred by 'emerge --sync' if rsync is the primary sync method). Both are two independent concepts.
In that case I've never changed the Sync URL and thus nothing of all this has a relevance to the original bug. It still stands true.
(In reply to Plüss Roland from comment #16) > In that case I've never changed the Sync URL and thus nothing of all this > has a relevance to the original bug. It still stands true. Do I understand correctly you still can't download 'dosemu-1.4.1_pre20130107.zip' after you have fixed GENTOO_MIRRORS to point to valid mirror?
(In reply to Sergei Trofimovich from comment #17) > (In reply to Plüss Roland from comment #16) > > In that case I've never changed the Sync URL and thus nothing of all this > > has a relevance to the original bug. It still stands true. > > Do I understand correctly you still can't download > 'dosemu-1.4.1_pre20130107.zip' after you have fixed GENTOO_MIRRORS to point > to valid mirror? Right now it does. The IPs listed as mirrors are though not the same no matter if I use the old GENTOO_MIRRORS value or not (which according to what we found out has no relevance if set at all). Chances are something change in the gentoo mirroirs outside me view?
(In reply to Plüss Roland from comment #18) > (In reply to Sergei Trofimovich from comment #17) > > (In reply to Plüss Roland from comment #16) > > > In that case I've never changed the Sync URL and thus nothing of all this > > > has a relevance to the original bug. It still stands true. > > > > Do I understand correctly you still can't download > > 'dosemu-1.4.1_pre20130107.zip' after you have fixed GENTOO_MIRRORS to point > > to valid mirror? > > Right now it does. The IPs listed as mirrors are though not the same no > matter if I use the old GENTOO_MIRRORS value or not (which according to what > we found out has no relevance if set at all). Chances are something change > in the gentoo mirroirs outside me view? Where do you consult IPs for mirrors used? To reiterate: 'emerge --sync' uses SYNC value, not GENTOO_MIRRORS.
(In reply to Sergei Trofimovich from comment #19) > (In reply to Plüss Roland from comment #18) > > (In reply to Sergei Trofimovich from comment #17) > > > (In reply to Plüss Roland from comment #16) > > > > In that case I've never changed the Sync URL and thus nothing of all this > > > > has a relevance to the original bug. It still stands true. > > > > > > Do I understand correctly you still can't download > > > 'dosemu-1.4.1_pre20130107.zip' after you have fixed GENTOO_MIRRORS to point > > > to valid mirror? > > > > Right now it does. The IPs listed as mirrors are though not the same no > > matter if I use the old GENTOO_MIRRORS value or not (which according to what > > we found out has no relevance if set at all). Chances are something change > > in the gentoo mirroirs outside me view? > > Where do you consult IPs for mirrors used? To reiterate: 'emerge --sync' > uses SYNC value, not GENTOO_MIRRORS. When you emerge it lists somewhere at the top the used mirror IPs. Right now it lists on my system 3 IPs.
(In reply to Plüss Roland from comment #20) > (In reply to Sergei Trofimovich from comment #19) > > (In reply to Plüss Roland from comment #18) > > > (In reply to Sergei Trofimovich from comment #17) > > > > (In reply to Plüss Roland from comment #16) > > > > > In that case I've never changed the Sync URL and thus nothing of all this > > > > > has a relevance to the original bug. It still stands true. > > > > > > > > Do I understand correctly you still can't download > > > > 'dosemu-1.4.1_pre20130107.zip' after you have fixed GENTOO_MIRRORS to point > > > > to valid mirror? > > > > > > Right now it does. The IPs listed as mirrors are though not the same no > > > matter if I use the old GENTOO_MIRRORS value or not (which according to what > > > we found out has no relevance if set at all). Chances are something change > > > in the gentoo mirroirs outside me view? > > > > Where do you consult IPs for mirrors used? To reiterate: 'emerge --sync' > > uses SYNC value, not GENTOO_MIRRORS. > > When you emerge it lists somewhere at the top the used mirror IPs. Right now > it lists on my system 3 IPs. I don't think I understand what output you mean. Can you provide actual output?
(In reply to Sergei Trofimovich from comment #21) > (In reply to Plüss Roland from comment #20) > > (In reply to Sergei Trofimovich from comment #19) > > > (In reply to Plüss Roland from comment #18) > > > > (In reply to Sergei Trofimovich from comment #17) > > > > > (In reply to Plüss Roland from comment #16) > > > > > > In that case I've never changed the Sync URL and thus nothing of all this > > > > > > has a relevance to the original bug. It still stands true. > > > > > > > > > > Do I understand correctly you still can't download > > > > > 'dosemu-1.4.1_pre20130107.zip' after you have fixed GENTOO_MIRRORS to point > > > > > to valid mirror? > > > > > > > > Right now it does. The IPs listed as mirrors are though not the same no > > > > matter if I use the old GENTOO_MIRRORS value or not (which according to what > > > > we found out has no relevance if set at all). Chances are something change > > > > in the gentoo mirroirs outside me view? > > > > > > Where do you consult IPs for mirrors used? To reiterate: 'emerge --sync' > > > uses SYNC value, not GENTOO_MIRRORS. > > > > When you emerge it lists somewhere at the top the used mirror IPs. Right now > > it lists on my system 3 IPs. > > I don't think I understand what output you mean. Can you provide actual > output? My bad. I meant the output of "emerge --sync" of course. Example output (again different IPs, this time only 1 not 3): # emerge --sync >>> Syncing repository 'gentoo' into '/usr/portage'... >>> Starting rsync with rsync://91.186.30.235/gentoo-portage... >>> Checking server timestamp ... Welcome to boobie.gentoo.org / rsync.gentoo.org Server Address : 91.186.30.235 Contact Name : mirror-admin@gentoo.org Hardware : 2 x Intel(R) Xeon(R) CPU 3050 @ 2.13GHz, 3949MB RAM Sponsor : EUKhost, Maidenhead, England