Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764233 - sys-apps/net-tools-2.10 Fetched file: net-tools-2.10.tar.xz VERIFY FAILED Reason: Filesize does not match recorded size
Summary: sys-apps/net-tools-2.10 Fetched file: net-tools-2.10.tar.xz VERIFY FAILED Rea...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 764263 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-07 05:36 UTC by email200202
Modified: 2021-01-07 17:05 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,2.87 KB, text/plain)
2021-01-07 05:47 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2021-01-07 05:36:54 UTC
# emerge -av1  sys-apps/net-tools
...
...
...
Saving to: ‘/usr/portage/distfiles/net-tools-2.10.tar.xz.__download__’

/usr/portage/distfi 100%[===================>] 125.07K   261KB/s    in 0.5s    

2021-01-07 16:01:04 (261 KB/s) - ‘/usr/portage/distfiles/net-tools-2.10.tar.xz.__download__’ saved [128074/128074]

!!! Fetched file: net-tools-2.10.tar.xz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      128074
!!! Expected: 229616
Refetching... File renamed to '/usr/portage/distfiles/net-tools-2.10.tar.xz._checksum_failure_.wjehctpt'

!!! Couldn't download 'net-tools-2.10.tar.xz'. Aborting.
 * Fetch failed for 'sys-apps/net-tools-2.10', Log file:
 *  '/var/tmp/portage/sys-apps/net-tools-2.10/temp/build.log'

>>> Failed to emerge sys-apps/net-tools-2.10, Log file:


Reproducible: Always

Steps to Reproduce:
1. emerge --sync 
2. emerge -auvDN world

Actual Results:  
Failed

Expected Results:  
Not to fail
Comment 1 HougeLangley 2021-01-07 05:42:48 UTC
>>> Downloading 'https://mirrors.ustc.edu.cn/gentoo/distfiles/e8/net-tools-2.10.tar.xz'
--2021-01-07 13:39:48--  https://mirrors.ustc.edu.cn/gentoo/distfiles/e8/net-tools-2.10.tar.xz
Connecting to 127.0.0.1:7890... connected.
Proxy request sent, awaiting response... 404 Not Found
2021-01-07 13:39:48 ERROR 404: Not Found.

>>> Downloading 'https://download.sourceforge.net/net-tools-2.10.tar.xz'
--2021-01-07 13:39:48--  https://download.sourceforge.net/net-tools-2.10.tar.xz
Connecting to 127.0.0.1:7890... connected.
Proxy request sent, awaiting response... 307 Temporary Redirect
Location: https://sourceforge.net/downloads [following]
--2021-01-07 13:39:49--  https://sourceforge.net/downloads
Connecting to 127.0.0.1:7890... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/publish [following]
--2021-01-07 13:39:50--  https://sourceforge.net/publish
Reusing existing connection to sourceforge.net:443.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/publish/ [following]
--2021-01-07 13:39:50--  https://sourceforge.net/publish/
Reusing existing connection to sourceforge.net:443.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/create [following]
--2021-01-07 13:39:50--  https://sourceforge.net/create
Reusing existing connection to sourceforge.net:443.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/create/ [following]
--2021-01-07 13:39:51--  https://sourceforge.net/create/
Reusing existing connection to sourceforge.net:443.
Proxy request sent, awaiting response... 200 OK
Length: 128852 (126K) [text/html]
Saving to: ‘/var/cache/distfiles/net-tools-2.10.tar.xz.__download__’

     0K .......... .......... .......... .......... .......... 39%  232K 0s
    50K .......... .......... .......... .......... .......... 79%  260K 0s
   100K .......... .......... .....                           100% 3.10M=0.4s

2021-01-07 13:39:51 (302 KB/s) - ‘/var/cache/distfiles/net-tools-2.10.tar.xz.__download__’ saved [128852/128852]

!!! Fetched file: net-tools-2.10.tar.xz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      128852
!!! Expected: 229616
Refetching... File renamed to '/var/cache/distfiles/net-tools-2.10.tar.xz._checksum_failure_.s0jjkgzl'

!!! Couldn't download 'net-tools-2.10.tar.xz'. Aborting.
 * Fetch failed for 'sys-apps/net-tools-2.10', Log file:
 *  '/var/tmp/portage/sys-apps/net-tools-2.10/temp/build.log'

 * Messages for package sys-apps/net-tools-2.10:

 * Fetch failed for 'sys-apps/net-tools-2.10', Log file:
 *  '/var/tmp/portage/sys-apps/net-tools-2.10/temp/build.log'

 * Messages for package sys-kernel/xanmod-cacule-sources-5.10.5:

 * If you are upgrading from a previous kernel, you may be interested
 * in the following document:
 *   - General upgrade guide: https://wiki.gentoo.org/wiki/Kernel/Upgrade
 * xanmod-cacule-sources is UNSUPPORTED by Gentoo Security.
 * This means that it is likely to be vulnerable to recent security issues.
 * Upstream kernel developers recommend always running the latest 
 * release of any current long term supported Linux kernel version.
 * To see a list of these versions, their most current release and 
 * long term support status, please go to https://www.kernel.org .
 * For specific information on why this kernel is unsupported, please read:
 * https://wiki.gentoo.org/wiki/Project:Kernel_Security
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (sys-apps/net-tools-2.10:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/sys-apps/net-tools-2.10/temp/build.log'
 * 

 * GNU info directory index is up-to-date.
Comment 2 email200202 2021-01-07 05:47:23 UTC
Created attachment 681607 [details]
build.log
Comment 3 SpanKY gentoo-dev 2021-01-07 08:14:13 UTC
this is a problem with the SF mirrors.  you didn't download the archive, you downloaded an error page from the SF website:
Length: 128074 (125K) [text/html]

just try again in a bit when their mirrors have time to catch up.  i just downloaded it and it worked fine for me.
Comment 4 A Blamey 2021-01-07 08:54:51 UTC
Shouldn't the SF download link be:

https://downloads.sourceforge.net/project/net-tools/net-tools-2.10.tar.xz

rather than what it's trying:

https://download.sourceforge.net/net-tools-2.10.tar.xz

?
Comment 5 Ionen Wolkens gentoo-dev 2021-01-07 13:22:07 UTC
(In reply to A Blamey from comment #4)
> Shouldn't the SF download link be:
> [...]
The change you mention was made in:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7b14963619c0a5630833b407cb307c1c7d4b15b

Everything should be fine now.
Comment 6 SpanKY gentoo-dev 2021-01-07 17:02:27 UTC
*** Bug 764263 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2021-01-07 17:05:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6c08da2a06d42739779e896111f3c35eeefca06

commit f6c08da2a06d42739779e896111f3c35eeefca06
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: 2021-01-07 17:04:35 +0000
Commit:     Mike Frysinger <vapier@gentoo.org>
CommitDate: 2021-01-07 17:04:35 +0000

    sys-apps/net-tools: add missing $PN to SRC_URI mirror:// #764233
    
    Fixes: https://bugs.gentoo.org/764233
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

 sys-apps/net-tools/net-tools-2.10.ebuild | 2 +-
 sys-apps/net-tools/net-tools-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 8 SpanKY gentoo-dev 2021-01-07 17:05:21 UTC
(In reply to A Blamey from comment #4)

err, yes, it should have.  thanks for pointing that out.