pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47424 (pkgsrc "make fetch" fails to fetch fotoxx-13.01.tar.gz for graphics/fotoxx)



The following reply was made to PR pkg/47424; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47424 (pkgsrc "make fetch" fails to fetch
 fotoxx-13.01.tar.gz for graphics/fotoxx)
Date: Fri, 11 Jan 2013 17:42:05 +0000

 On Fri, Jan 11, 2013 at 12:35:07PM +0000, Robert Elz wrote:
  >  But that 3 minutes is too much for pkgsrc, which tells ftp to give
  >  up after 2 minutes.  When that happens, ftp never bothers to flush
  >  the last (partially filled) buffer, and just aborts, leaving those
  >  final 1902 bytes missing from the file (if there's any bug in
  >  ftp(1) it would be that, it did receive the data, it could have
  >  written it to the file before quitting, and had it done do, pkgsrc
  >  would have verified the file checksum, I guess, if not on the same
  >  attempt as when ftp failed, then next time it went to look and
  >  found the file already existing) and all would have been OK.  But
  >  demanding that processes clean up fully when they are failing, is
  >  probably too much to exoect.
 
 That is at least one and maybe two bugs; ftp should write out the data
 it has and not throw it away... and also, it should be capable of
 noticing that it's received the entire Content-Length and proceeding
 accordingly rather than timing out.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index