pkgsrc-Bugs archive

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

Re: pkg/47440: `make checksum' doesn't refetch even if FAILOVER_FETCH is set



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

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47440: `make checksum' doesn't refetch even if
 FAILOVER_FETCH is set
Date: Sun, 13 Jan 2013 23:10:59 +0100

 On Sun, Jan 13, 2013 at 09:20:01PM +0000, Taylor R Campbell wrote:
 >      If a downloaded distfile has a bad checksum, `bmake fetch' does
 >      nothing to refetch it since it appears to be up-to-date, and
 >      `bmake checksum' simply fails.  If you set FAILOVER_FETCH=yes,
 >      `bmake fetch' looks at the checksum only if the file was absent
 >      to begin with in order to decide whether to refetch it, which
 >      doesn't help if the file has already been downloaded but got
 >      corrupted on disk.
 
 This is at least somewhat intentional. Otherwise if upstream does manage
 to mess up the distfile, it will retry to fetch the file on every run,
 which can add a lot of volume...
 
 Joerg
 


Home | Main Index | Thread Index | Old Index