if a /var/db/category directory doesn't exist, installing packages from this category fails with OSError example for net-libs/libpcap attached reverting to =sys-apps/portage-2.2_rc46 fixed that Reproducible: Always Steps to Reproduce: emerge package from any category whose directory doesn't exist in /var/db/ Actual Results: get OSError on install phase Expected Results: succesfull emerge
Created attachment 208835 [details] build.log
Created attachment 208846 [details, diff] only_bump_mtime_when_dir_exists ok, _bump_mtime should check IMO that a path exists before it tries to touch it. Does this patch fix it for you too?
Sidenote for zmedico: I might have killed the optimisation in that patch. (Comment didn't say so.) If that was the reason for not using os.path.join, then the _os.sep should not be put between root and VDB_PATH, as that causes double slashes.
*** Bug 291325 has been marked as a duplicate of this bug. ***
Thanks, this is fixed in svn r14753, and released in 2.1.7.3 and 2.2_rc48.
*** Bug 291441 has been marked as a duplicate of this bug. ***
*** Bug 291542 has been marked as a duplicate of this bug. ***