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: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/47440: `make checksum' doesn't refetch even if
FAILOVER_FETCH is set
Date: Mon, 14 Jan 2013 01:21:02 +0000
On Sun, Jan 13, 2013 at 10:15:07PM +0000, Joerg Sonnenberger wrote:
> 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...
How about 'make delete-distfiles' and 'make delete-bad-distfiles'?
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index