Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684410 - app-emulation/dosemu-1.4.1_pre20130107-r5 - !!! Couldn't download 'dosemu-1.4.1_pre20130107.zip'. Aborting.
Summary: app-emulation/dosemu-1.4.1_pre20130107-r5 - !!! Couldn't download 'dosemu-1.4...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-26 13:18 UTC by Plüss Roland
Modified: 2019-05-06 16:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Plüss Roland 2019-04-26 13:18:04 UTC
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'
Comment 1 Brian Evans (RETIRED) gentoo-dev 2019-04-26 13:28:24 UTC
(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
Comment 2 Brian Evans (RETIRED) gentoo-dev 2019-04-26 13:28:53 UTC
And also include emerge --info as a comment
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-04-26 13:39:12 UTC
$ 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.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2019-04-27 17:32:53 UTC
Does it still happen for you? Seems to work fine here.
Comment 5 Plüss Roland 2019-04-28 13:02:07 UTC
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.
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2019-04-28 13:35:29 UTC
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.
Comment 7 Larry the Git Cow gentoo-dev 2019-04-28 13:49:02 UTC
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(-)
Comment 8 Plüss Roland 2019-04-28 20:57:49 UTC
(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?
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2019-04-29 06:52:05 UTC
(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.
Comment 10 Plüss Roland 2019-04-29 16:27:20 UTC
(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?
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2019-04-29 19:09:21 UTC
(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.
Comment 12 Plüss Roland 2019-05-01 16:34:51 UTC
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?
Comment 13 Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-01 17:26:37 UTC
(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/
Comment 14 Plüss Roland 2019-05-03 16:09:47 UTC
(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.
Comment 15 Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-03 18:13:05 UTC
(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.
Comment 16 Plüss Roland 2019-05-04 08:42:59 UTC
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.
Comment 17 Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-04 09:19:33 UTC
(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?
Comment 18 Plüss Roland 2019-05-05 06:59:08 UTC
(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?
Comment 19 Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-05 08:31:24 UTC
(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.
Comment 20 Plüss Roland 2019-05-05 16:24:28 UTC
(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.
Comment 21 Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-05 20:57:21 UTC
(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?
Comment 22 Plüss Roland 2019-05-06 16:42:58 UTC
(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