So if you ever get this error when tryign to sync or update in gentoo
!!! ARCH is not set… Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?
Just go ahead and do a “rm -rf /usr/portage/*” … once thats done go ahead and “emerge –sync” … seemed to fix it for me.