_pre21, line 2377, has cvs -z0 -d "+cvsroot+" co gentoo-x86 -P ",portage.settings,free=1) The -P is being interpreted by cvs (the client) as a module to check out. I believe (no expert on CVS) this directive is supposed to come earlier in the cvs call (near the -z0 -d). As is, it breaks the ability to emerge sync via cvs.
[[[root@nomad]]] emerge sync ^[[D>>> starting initial cvs checkout with cvs://mcummings@cvs.gentoo.org:/var/cvsroot... cvs login: can only use `login' command with the 'pserver' method cvs [login aborted]: CVSROOT: mcummings@cvs.gentoo.org:/var/cvsroot cvs server: cannot find module `-P' - ignored cvs [checkout aborted]: cannot expand modules !!! Failed to move /usr to /usr/portage !!! [Errno 22] Invalid argument
Try changing it and report back to me? Put the -P immediately after the co.
That fixes it :)
Bug has been fixed and released in stable portages on or before 2.0.51-r2