Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222117 - app-misc/lxsplit-0.1.1 cannot split/join large files
Summary: app-misc/lxsplit-0.1.1 cannot split/join large files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-14 17:51 UTC by J.Taimr
Modified: 2008-09-17 11:05 UTC (History)
0 users

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


Attachments
patch for lxsplit-0.1.1 (lxsplit-0.1.1-largefile.patch,2.11 KB, patch)
2008-05-14 17:52 UTC, J.Taimr
Details | Diff
ebuild for lxsplit-0.2.2 (derived from lxsplit-0.1.1.ebuild) (lxsplit-0.2.2.ebuild,612 bytes, text/plain)
2008-05-14 17:53 UTC, J.Taimr
Details
logfile of splitting/joining of the large file (lxsplit.log.txt,1.54 KB, text/plain)
2008-05-14 18:02 UTC, J.Taimr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J.Taimr 2008-05-14 17:51:02 UTC
lxsplit-0.1.1 (last available in the portage tree) cannot manage splitting or joining of large files on 32-bit architecture. If the size of the file is >LONG_MAX, the file determination fails and lxsplit produces or none result, or wrong one.

Reproducible: Always

Steps to Reproduce:
1.emerge lxsplit-0.1.1 for x66 (32-bit) archotecture
2.try split any file with a size >4GB
3.or try join files, produced by lxsplit from 64-bit arch.


Actual Results:  
Splitting of large file (>4GB) fails on 32-bit x86, as well as joining of the fragments, produced formerly by 64bit lxsplit from large file

Expected Results:  
lxsplit should work on large files.

version 0.1.1 in the portage tree is obsolete, but there is no newer ebuild available
Solution: or use the attached patch for 0.1.1, or even better, use the attached ebuild for lxsplit-0.2.2, which works properly.
Comment 1 J.Taimr 2008-05-14 17:52:19 UTC
Created attachment 153133 [details, diff]
patch for lxsplit-0.1.1
Comment 2 J.Taimr 2008-05-14 17:53:19 UTC
Created attachment 153137 [details]
ebuild for lxsplit-0.2.2 (derived from lxsplit-0.1.1.ebuild)
Comment 3 J.Taimr 2008-05-14 18:02:42 UTC
Created attachment 153141 [details]
logfile of splitting/joining of the large file
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2008-09-17 11:05:42 UTC
Thank you for report J.Taimr. I've just added lxsplit-0.2.3 to the tree which should fix this issue.