Bug 1944262 - wget in F33 arm is unable to download files larger than 2GiB
Summary: wget in F33 arm is unable to download files larger than 2GiB
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wget
Version: 33
Hardware: armv7hl
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Ruprich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-29 15:31 UTC by Hedayat Vatankhah
Modified: 2021-04-24 20:09 UTC (History)
3 users (show)

Fixed In Version: wget-1.21.1-2.fc33 wget-1.21.1-2.fc32 wget-1.21.1-3.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1949045 (view as bug list)
Environment:
Last Closed: 2021-04-14 14:43:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hedayat Vatankhah 2021-03-29 15:31:47 UTC
Description of problem:
I'm just unable to download files larger than 2GiB with wget under arm 32.


Version-Release number of selected component (if applicable):
wget-1.21.1-1.fc33.armv7hl

How reproducible:
100%

Comment 1 Hedayat Vatankhah 2021-03-29 17:06:53 UTC
The bug seems to be here: https://git.savannah.gnu.org/cgit/wget.git/tree/src/wget.h#n147

Using strtoll instead of strtol should fix it.

Comment 2 Michal Ruprich 2021-04-01 07:52:46 UTC
Thanks, I can see that the file appears to have been correctly downloaded but it always stops at 2.0G.

Comment 3 Michal Ruprich 2021-04-07 10:57:20 UTC
Filed upstream: https://savannah.gnu.org/bugs/?60353. Not sure if this will get accepted upstream or not. If not, I will have this as a downstream patch on arm only.

Comment 4 Hedayat Vatankhah 2021-04-07 17:46:38 UTC
I hope they accept it, it is actually wrong! long can be 32bit even on 64bit systems if a compiler desires so.

Comment 5 Michal Ruprich 2021-04-08 05:42:59 UTC
The Upstream is now working on wget2 so the original wget is in maintenance mode but I have hope here. If they do not, I will fix this with a downstream patch anyway. Let's give this a couple of days.

Comment 6 Michal Ruprich 2021-04-12 08:21:43 UTC
Upstream fixed it and pushed to repo. I am fixing this now in Fedora.

Comment 7 Fedora Update System 2021-04-12 11:40:20 UTC
FEDORA-2021-1ab8b74dd5 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1ab8b74dd5

Comment 8 Fedora Update System 2021-04-12 11:40:21 UTC
FEDORA-2021-4536453002 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4536453002

Comment 9 Fedora Update System 2021-04-12 11:40:21 UTC
FEDORA-2021-5b70ec1cf6 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-5b70ec1cf6

Comment 10 Fedora Update System 2021-04-12 15:10:08 UTC
FEDORA-2021-4536453002 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4536453002`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4536453002

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2021-04-12 16:41:16 UTC
FEDORA-2021-1ab8b74dd5 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-1ab8b74dd5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1ab8b74dd5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2021-04-12 16:42:46 UTC
FEDORA-2021-5b70ec1cf6 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-5b70ec1cf6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-5b70ec1cf6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2021-04-14 14:43:02 UTC
FEDORA-2021-5b70ec1cf6 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2021-04-21 21:48:42 UTC
FEDORA-2021-1ab8b74dd5 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2021-04-24 20:09:51 UTC
FEDORA-2021-4536453002 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.