I just upgraded to the latest crossdev as per the Gentoo guide (http://www.gentoo.org/proj/en/base/embedded/handbook/?part=1&chap=3) but the cross-emerge complains about missing variables. It also complains about a bad version of Flash being installed which it is in my build environment (x86_64-pc-linux-gnu) but not in the supposed emerge environment (i686-mingw32). $ emerge-wrapper --init mipsel-unknown-linux-gnu: Setting up symlinks i686-mingw32: Setting up symlinks $ i686-mingw32-emerge -v boost PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2' PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2' PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2' PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2' PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2' PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2' PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2' PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2' !!! /usr/i686-mingw32/etc/make.profile is not a symlink and will probably prevent most merges. !!! It should point into a profile within /usr/portage/profiles/ !!! (You can safely ignore this message when syncing. It's harmless.) These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] dev-libs/boost-1.42.0-r2 [1.39.0] USE="eselect -debug -doc -icu -mpi -python -static-libs -test -tools" 0 kB Total: 1 package (1 in new slot), Size of downloads: 0 kB !!! The following installed packages are masked: - www-plugins/adobe-flash-10.0.32.18 (masked by: package.mask, AdobeFlash-10 license(s)) /usr/portage/profiles/package.mask: # Tobias Heinlein <keytoaster@gentoo.org> (05 Jul 2010) # Severe security issues (bug #322855) A copy of the 'AdobeFlash-10' license is located at '/usr/portage/licenses/AdobeFlash-10'. - dev-java/sun-jdk-1.6.0.16 (masked by: dlj-1.1 license(s)) A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'. For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. * ARCH is not set... Are you missing the * '/usr/i686-mingw32/etc/make.profile' symlink? Is the symlink correct? * Is your portage tree complete? $ ls /usr/i686-mingw32/etc/make.profile lrwxrwxrwx 1 root root 30 Oct 7 15:21 /usr/i686-mingw32/etc/make.profile -> /usr/portage/profiles/embedded
"/usr/portage/profiles/embedded" is not a valid profile. even if it was, it makes no sense at all for mingw targets.
So what is a valid profile for mingw (none of them seem obvious) and why does emerge-wrapper create this symlink if it's not valid?