First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 234599
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: jody <jody.xha@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 234599 depends on: Show dependency tree
Bug 234599 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-08-13 07:43 0000
I recently emerged ftp 0.17-r7.
It only managed to transfer 2GB of data, then stopped.
This did not happen with the previous version ftp 0.17-r6.

The bug 101038 (http://bugs.gentoo.org/101038) discussed 
the same problem in 2005. Apparently this was fixed for 0.17-r5.

When i added
"-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" 
to my CFLAGS (as suggested in 101038), and recompiled,
ftp 0.17-r7 was able to GET files larger than 2GB correctly. 

Reproducible: Always

Steps to Reproduce:
1.prepare a file larger than 2GB on your favourite ftp server
2.GET it
3.

Actual Results:  
I got the file truncated after 2GB

Expected Results:  
To get the entire file

------- Comment #1 From Panagiotis Christopoulos 2008-08-13 09:10:31 0000 -------
(In reply to comment #0)
> I recently emerged ftp 0.17-r7.
> It only managed to transfer 2GB of data, then stopped.
> This did not happen with the previous version ftp 0.17-r6.
> 
Are you sure that this doesn't happen in -r6? The -r6 and -r7 ebuilds are
pretty much the same, with -r7 only to include two more patches.

------- Comment #2 From jody 2008-08-13 10:40:10 0000 -------
(In reply to comment #1)
> Are you sure that this doesn't happen in -r6? The -r6 and -r7 ebuilds are
> pretty much the same, with -r7 only to include two more patches.

You are right.
I reemerged r6 (without the additional CFLAGS)
and it showed the same bad behaviour.

Emerging r6 *with* the additional CFLAGS made
it transfer the big file correctly.

So probably the version i had updated from was 
an even older one...

Sorry for the confusion.

------- Comment #3 From Panagiotis Christopoulos 2008-08-13 11:17:49 0000 -------

*** This bug has been marked as a duplicate of bug 101038 ***

------- Comment #4 From SpanKY 2008-08-20 06:58:25 0000 -------
the ftp package does not respect CPPFLAGS

------- Comment #5 From SpanKY 2008-10-26 03:51:43 0000 -------
fixed in cvs

http://sources.gentoo.org/net-ftp/ftp/ftp-0.17-r7.ebuild?r1=1.6&r2=1.7
http://sources.gentoo.org/net-ftp/ftp/files/netkit-ftp-0.17-CPPFLAGS.patch?rev=1.1

First Last Prev Next    No search results available      Search page      Enter new bug