Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365563 - net-misc/axel-2.3-r1 fails to download large files on x86
Summary: net-misc/axel-2.3-r1 fails to download large files on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-01 14:29 UTC by ds.maillists
Modified: 2011-05-02 14:52 UTC (History)
1 user (show)

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


Attachments
my emerge --info (emerge_info.txt,4.25 KB, text/plain)
2011-05-01 14:29 UTC, ds.maillists
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ds.maillists 2011-05-01 14:29:13 UTC
Created attachment 271761 [details]
my emerge --info

On x86 architecture axel fails to download large files (larger than 2Gb).
The output is:
user@localhost ~/Desktop/tmp/tmp $ axel -n10 -a http://bigfiles.bla/big.mkv
Initializing download: http://bigfiles.bla/big.mkv
File size: 2981592750 bytes
Opening output file big.mkv
Crappy filesystem/OS.. Working around. :-(

It's starts to download, but output file has size 2147483647 (2.0 G), and after download some part of file gives the write error.

If i compile axel without ebuild system - it's works fine. Possible bug is that 
ebuild contains next string:
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "emake failed"

but, in axel's Makefile.settings declared next:
CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -Os

wich has not been applied, while building with emerge.

P.S. Sorry for my english.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-05-01 14:49:39 UTC
+*axel-2.4-r1 (01 May 2011)
+
+  01 May 2011; Justin Lecher <jlec@gentoo.org> axel-1.1.ebuild,
+  +axel-2.4-r1.ebuild:
+  Fix for largefile support, #365563
+
Comment 2 ds.maillists 2011-05-02 14:52:53 UTC
It's ok now with 2.4-r1.