In Funtoo there is a capability to to an initial sync without portdir. In that case "emerge --sync" doing a git tree clone. Because of there is no portdir yet, emerge throws errors about missing PORTDIR, PORTDIR_OVERLAY and inability to parse a profile. Proposal is to skip those warnings before tree cloned and generated. Reproducible: Always
Yeah, seems like we can do this regardless of the protocol that SYNC refers to.
This commit disables some warnings: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commitdiff;h=b7b906fdf49a55621a12798ae21d603d9ca4eb76
This is fixed in 2.1.11.27 and 2.2.0_alpha138.