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