/usr/portage/metadata is updated by emerge --sync (or emerge --regen, but --sync is the standard way).

True, and the point is that there was a corrupt/incorrect file inside /usr/portage/metadata which was pushed by one of the rsync servers. I removed it since I had no need for it, and emerged my local metadata cache (emerge --metadata)_________________/earth: file system full.