On 10/14/2013 07:26, Joakim Tjernlund wrote:
crossdev sets up an embedded profile by default:
ls -l make.profile
lrwxrwxrwx 1 root root 30 Oct 14 14:22 make.profile ->
/usr/portage/profiles/embedded/
This profile seems a bit outdated and also appears to create this error
msg:
emerge-x86_64-tm-linux-gnu -a openrc
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-libs/ncurses-5.9-r3 to /usr/x86_64-tm-linux-gnu/
USE="cxx minimal -ada -debug -doc -gpm -profile -static-libs -tinfo -trace
-unicode"
[ebuild N ] sys-process/psmisc-22.20 to /usr/x86_64-tm-linux-gnu/
USE="-X -ipv6 -nls (-selinux)"
[ebuild N ] sys-apps/openrc-0.12.2 to /usr/x86_64-tm-linux-gnu/
USE="netifrc -debug -ncurses -newnet -pam (-prefix) (-selinux)
-static-libs -tools -unicode"
[ebuild N ] net-misc/netifrc-0.1 to /usr/x86_64-tm-linux-gnu/
Would you like to merge these packages? [Yes/No]
* ARCH is not set... Are you missing the '/usr/x86_64-tm-linux-
* gnu/etc/portage/make.profile' symlink? Is the symlink correct? Is your
* portage tree complete?
I wonder, is the embedded profile maintained or is it just an leftover
that should be removed?
If not, could someone update it so it at least does not error out?
Jocke
The problem here is that with EAPI 5, profile-only variables were
introduced, one of which is ARCH. The embedded profile does not contain
an ARCH definition (because it isn't specific to any architecture), and
crossdev gets around this by putting it in the make.conf it generates in
/usr/{chost}/etc/make.conf. The bug, therefore, is in crossdev; it
should put the ARCH definition in
/usr/{chost}/etc/portage/profile/make.defaults instead. I think there
are some other variables that will need to be set in there as well
(USERLAND, LIBC, KERNEL, etc.).
--
♫Dustin
http://dustin.hatch.name/