Portage does not use already fetched from binhost tbz2 files. Probably portage does not fix mtime for fetched tbz2 files. Reproducible: Always Steps to Reproduce: 1. Set any ftp binhost 2. emerge app-misc/mc 3. emerge app-misc/mc Actual Results: Refetching binary tbz2 Expected Results: Will be used already fetched tbz2 I use sys-apps/portage-2.2.20.1. At this commit will https://github.com/gentoo/portage/commit/328dd4712f88cbb8ef390ae9eb471afa1ef781d7 - remote_mtime = bintree._remotepkgs[self.pkg.cpv].get("MTIME") + remote_mtime = bintree._remotepkgs[ + bintree.dbapi._instance_key( + self.pkg.cpv)].get("MTIME") _bintree.remotepkgs has not MTIME key, but has _mtime_.
Created attachment 415250 [details, diff] Change key MTIME to _mtime_
Thanks, this is in git: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0ebfaaa9b65b935ae4eba67e97495aa26e913f8c
Thank you, it works.
Fixed in 2.2.24.