https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295726

--- Comment #4 from Benjamin Takacs <[email protected]> ---
As shown by my reproducer, the problem is, that   make fetch   sometimes skips
fetching, due to insufficient checking if a file that is already in distcache
is the needed file. I guess this design lead to   make checksum   not only
checking the checksum of the files, but also trying to redownload it
FETCH_REGET times. As the checksum phase isn't to do downloads poudriere
changed a while back to set FETCH_REGET to 0 for make checksum and thus
exposing that insufficient checking of make fetch in case some distfile gets
rerolled and changes its checksum.

The workaround of setting FETCH_REGET in some make.conf can work, because it
overrides poudrieres setting of FETCH_REGET to 0 for make checksum and make
checksum tries to download again in case of a checksum mismatch. But then the
downloading happens in the checksum phase which shouldn't be able to do network
requests or write to disk, but well, it can currently.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to