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.
Created attachment 153133 [details, diff] patch for lxsplit-0.1.1
Created attachment 153137 [details] ebuild for lxsplit-0.2.2 (derived from lxsplit-0.1.1.ebuild)
Created attachment 153141 [details] logfile of splitting/joining of the large file
Thank you for report J.Taimr. I've just added lxsplit-0.2.3 to the tree which should fix this issue.