Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 260142

Summary: tcpslice-1.2_alpha2 doesn't support an input file size bigger than 2GB
Product: Gentoo Linux Reporter: James Masson <james_masson>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED OBSOLETE    
Severity: normal CC: aoz.syn
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James Masson 2009-02-24 16:19:32 UTC
As per this page -  

http://wwwx.cs.unc.edu/~jsterrel/articles/tcpslice-largefiles.php

tcpslice doesn't support a file size bigger than 2GB.

Initially, the solution is pretty simple, I've tested it out and it works...

add "-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" to the Makefile before compiling.

But the Makefile is generated dynamically by ./configure - and altering that is a little beyond me :-(
Comment 1 RB 2009-07-15 05:10:52 UTC
This looks like another one of those upstream packages that Debian has continued to support.  They fixed the bug in 2006, and their current version (albeit 2 years old) is significantly more current than that in portage.

http://packages.debian.org/changelogs/pool/main/t/tcpslice/tcpslice_1.2a3-2.1/changelog
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-08-19 02:37:43 UTC
I'm honestly unable to find which package this refers to so I have to assume it was removed.
Comment 3 RB 2012-08-25 08:10:20 UTC
That would be:

http://packages.gentoo.org/package/net-analyzer/tcpslice

Regrettable it's closed, that's a useful tool.