Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2026 10:49:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 295726] Poudriere fetch not checking distfiles for lang/python311
Message-ID:  <bug-295726-21822-PKLtxhK47h@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295726-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #4 from Benjamin Takacs <nimaje+fbz@bureaucracy.de> ---
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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295726-21822-PKLtxhK47h>