Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622438 - net-vpn/openvpn-2.4.3 Filesize does not match recorded size
Summary: net-vpn/openvpn-2.4.3 Filesize does not match recorded size
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-22 04:45 UTC by Sam Stone
Modified: 2017-06-22 11:17 UTC (History)
5 users (show)

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 Sam Stone 2017-06-22 04:45:51 UTC
>>> Emerging (1 of 5) net-vpn/openvpn-2.4.3::gentoo
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
>>> Downloading 'http://gentoo.osuosl.org/distfiles/openvpn-2.4.3.tar.gz'
--2017-06-21 23:38:18--  http://gentoo.osuosl.org/distfiles/openvpn-2.4.3.tar.gz
Resolving gentoo.osuosl.org (gentoo.osuosl.org)... 140.211.166.134, 2605:bc80:3010::134, 2600:3402:200:227::2, ...
Connecting to gentoo.osuosl.org (gentoo.osuosl.org)|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-06-21 23:38:18 ERROR 404: Not Found.

>>> Downloading 'rsync://mirrors.rit.edu/gentoo/distfiles/openvpn-2.4.3.tar.gz'

receiving incremental file list
rsync: link_stat "/distfiles/openvpn-2.4.3.tar.gz" (in gentoo) failed: No such file or directory (2)

sent 8 bytes  received 114 bytes  48.80 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1650) [Receiver=3.1.2]
>>> Downloading 'http://swupdate.openvpn.net/community/releases/openvpn-2.4.3.tar.gz'
--2017-06-21 23:38:20--  http://swupdate.openvpn.net/community/releases/openvpn-2.4.3.tar.gz
Resolving swupdate.openvpn.net (swupdate.openvpn.net)... 104.20.194.50, 104.20.195.50
Connecting to swupdate.openvpn.net (swupdate.openvpn.net)|104.20.194.50|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1422692 (1.4M) [application/octet-stream]
Saving to: ‘/usr/portage/distfiles/openvpn-2.4.3.tar.gz’

/usr/portage/distfi 100%[===================>]   1.36M   610KB/s    in 2.3s    

2017-06-21 23:38:22 (610 KB/s) - ‘/usr/portage/distfiles/openvpn-2.4.3.tar.gz’ saved [1422692/1422692]

!!! Fetched file: openvpn-2.4.3.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      1422692
!!! Expected: 1397306
Refetching... File renamed to '/usr/portage/distfiles/openvpn-2.4.3.tar.gz._checksum_failure_.ko5eg98f'

!!! Couldn't download 'openvpn-2.4.3.tar.gz'. Aborting.
 * Fetch failed for 'net-vpn/openvpn-2.4.3', Log file:
 *  '/var/log/portage/net-vpn:openvpn-2.4.3:20170622-043818.log'

>>> Failed to emerge net-vpn/openvpn-2.4.3, Log file:

>>>  '/var/log/portage/net-vpn:openvpn-2.4.3:20170622-043818.log'
Comment 1 Matthias Maier gentoo-dev 2017-06-22 06:32:10 UTC
I cannot reproduce, please try again.



% wget "http://swupdate.openvpn.net/community/releases/openvpn-2.4.3.tar.gz" 
--2017-06-22 01:29:25--  http://swupdate.openvpn.net/community/releases/openvpn-2.4.3.tar.gz
Resolving swupdate.openvpn.net... 104.20.194.50, 104.20.195.50
Connecting to swupdate.openvpn.net|104.20.194.50|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1397306 (1.3M) [application/octet-stream]
Saving to: ‘openvpn-2.4.3.tar.gz’

[...]

2017-06-22 01:29:41 (86.2 KB/s) - ‘openvpn-2.4.3.tar.gz’ saved [1397306/1397306]
Comment 2 Søren Dalby Larsen 2017-06-22 07:15:49 UTC
I can confirm this issue:

2017-06-22 09:13:51 (8,93 MB/s) - ‘/usr/portage/distfiles/openvpn-2.4.3.tar.gz’ saved [1422692/1422692]

!!! Fetched file: openvpn-2.4.3.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      1422692
!!! Expected: 1397306
Refetching... File renamed to '/usr/portage/distfiles/openvpn-2.4.3.tar.gz._checksum_failure_.kxsya_kq'
Comment 3 Matthias Maier gentoo-dev 2017-06-22 07:42:31 UTC
From a German client: Length: 1397306
From a US client:     Length: 1422692
Comment 4 Matthias Maier gentoo-dev 2017-06-22 07:51:03 UTC
Oh joy. We have two independently prepared tarballs.


diff --git a/us/openvpn-2.4.3/Makefile.in b/german/openvpn-2.4.3/Makefile.in
index 4a09659..56dd149 100644
--- a/us/openvpn-2.4.3/Makefile.in
+++ b/europe/openvpn-2.4.3/Makefile.in
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.

...

M       us/openvpn-2.4.3/Makefile.in
M       us/openvpn-2.4.3/aclocal.m4
M       us/openvpn-2.4.3/build/Makefile.in
M       us/openvpn-2.4.3/build/msvc/Makefile.in
M       us/openvpn-2.4.3/build/msvc/msvc-generate/Makefile.in
M       us/openvpn-2.4.3/compile
M       us/openvpn-2.4.3/config.guess
M       us/openvpn-2.4.3/config.h.in
M       us/openvpn-2.4.3/config.sub
M       us/openvpn-2.4.3/configure
M       us/openvpn-2.4.3/depcomp
M       us/openvpn-2.4.3/distro/Makefile.in
M       us/openvpn-2.4.3/distro/rpm/Makefile.in
M       us/openvpn-2.4.3/distro/systemd/Makefile.in
M       us/openvpn-2.4.3/doc/Makefile.in
M       us/openvpn-2.4.3/include/Makefile.in
M       us/openvpn-2.4.3/install-sh
M       us/openvpn-2.4.3/ltmain.sh
M       us/openvpn-2.4.3/m4/libtool.m4
M       us/openvpn-2.4.3/m4/ltoptions.m4
M       us/openvpn-2.4.3/m4/ltsugar.m4
M       us/openvpn-2.4.3/m4/ltversion.m4
M       us/openvpn-2.4.3/m4/lt~obsolete.m4
M       us/openvpn-2.4.3/missing
M       us/openvpn-2.4.3/sample/Makefile.in
M       us/openvpn-2.4.3/src/Makefile.in
M       us/openvpn-2.4.3/src/compat/Makefile.in
M       us/openvpn-2.4.3/src/openvpn/Makefile.in
M       us/openvpn-2.4.3/src/openvpnserv/Makefile.in
M       us/openvpn-2.4.3/src/plugins/Makefile.in
M       us/openvpn-2.4.3/src/plugins/auth-pam/Makefile.in
M       us/openvpn-2.4.3/src/plugins/down-root/Makefile.in
M       us/openvpn-2.4.3/tests/Makefile.in
M       us/openvpn-2.4.3/tests/t_client.sh
M       us/openvpn-2.4.3/tests/unit_tests/Makefile.in
M       us/openvpn-2.4.3/tests/unit_tests/example_test/Makefile.in
M       us/openvpn-2.4.3/tests/unit_tests/openvpn/Makefile.in
M       us/openvpn-2.4.3/tests/unit_tests/plugins/Makefile.in
M       us/openvpn-2.4.3/tests/unit_tests/plugins/auth-pam/Makefile.in
M       us/openvpn-2.4.3/vendor/Makefile.in
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-06-22 08:12:17 UTC
This gets even more fun.

In the EU, if you download from HTTP vs HTTPS, you get a different result.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-06-22 08:34:13 UTC
Fix pushed.

[master abbfa4c09d5] net-vpn/openvpn: bug 622438: upstream mirror issue
 Date: Thu Jun 22 01:21:05 2017 -0700
 1 file changed, 1 insertion(+), 1 deletion(-)