This is the permenant solution to the counter file corruption fix. Firstly the patch catches 1 more exception that can be thrown when the counter file is corrupted. And then it calculates the ACTUAL counter value that should be in the counter file instead of just getting the current time in seconds and making that our counter value which is a hack and not a fix.
Created attachment 6510 [details] portage.py.patch Described above
integrated a while ago.