When emerging binary packages I hit a problem as it's trying to move a file with the same name. This patch fixes the problem... --- bad/pym/portage/dbapi/bintree.py 2010-04-30 08:52:37.000000000 +0000 +++ good/pym/portage/dbapi/bintree.py 2010-04-30 08:52:53.000000000 +0000 @@ -939,7 +939,8 @@ if filename is not None: new_filename = self.getname(cpv) self._ensure_dir(os.path.dirname(new_filename)) - _movefile(filename, new_filename, mysettings=self.settings) + if filename != new_filename: + _movefile(filename, new_filename, mysettings=self.settings) if self._all_directory and \ self.getname(cpv).split(os.path.sep)[-2] == "All": self._create_symlink(cpv)
Thanks, this is in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d04da8d262673d45ff6f92d77d151d0fc871df57
Actually, here: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=198bfde314e61d016c8a75aed1120295cfd4213d
This is in 2.2_rc68, but I'll leave this bug open until it's in an unmasked version.
This is fixed in 2.1.9.