Gentoo Archives: gentoo-embedded

From: Joakim Tjernlund <joakim.tjernlund@×××××××××.se>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Embedded profile?
Date: Tue, 15 Oct 2013 14:27:49
Message-Id: OFDF6E83BC.401B480F-ONC1257C05.004E3186-C1257C05.004F710F@transmode.se
In Reply to: Re: [gentoo-embedded] Embedded profile? by "Dustin C. Hatch"
1 "Dustin C. Hatch" <admiralnemo@×××××.com> wrote on 2013/10/15 03:01:33:
2 >
3 > On 10/14/2013 07:26, Joakim Tjernlund wrote:
4 > > crossdev sets up an embedded profile by default:
5 > > ls -l make.profile
6 > > lrwxrwxrwx 1 root root 30 Oct 14 14:22 make.profile ->
7 > > /usr/portage/profiles/embedded/
8 > >
9 > > This profile seems a bit outdated and also appears to create this
10 error
11 > > msg:
12 > > emerge-x86_64-tm-linux-gnu -a openrc
13 > >
14 > > * IMPORTANT: 3 news items need reading for repository 'gentoo'.
15 > > * Use eselect news to read news items.
16 > >
17 > >
18 > > These are the packages that would be merged, in order:
19 > >
20 > > Calculating dependencies... done!
21 > > [ebuild N ] sys-libs/ncurses-5.9-r3 to /usr/x86_64-tm-linux-gnu/
22 > > USE="cxx minimal -ada -debug -doc -gpm -profile -static-libs -tinfo
23 -trace
24 > > -unicode"
25 > > [ebuild N ] sys-process/psmisc-22.20 to /usr/x86_64-tm-linux-gnu/
26 > > USE="-X -ipv6 -nls (-selinux)"
27 > > [ebuild N ] sys-apps/openrc-0.12.2 to /usr/x86_64-tm-linux-gnu/
28 > > USE="netifrc -debug -ncurses -newnet -pam (-prefix) (-selinux)
29 > > -static-libs -tools -unicode"
30 > > [ebuild N ] net-misc/netifrc-0.1 to /usr/x86_64-tm-linux-gnu/
31 > >
32 > > Would you like to merge these packages? [Yes/No]
33 > > * ARCH is not set... Are you missing the '/usr/x86_64-tm-linux-
34 > > * gnu/etc/portage/make.profile' symlink? Is the symlink correct? Is
35 your
36 > > * portage tree complete?
37 > >
38 > > I wonder, is the embedded profile maintained or is it just an leftover
39 > > that should be removed?
40 > > If not, could someone update it so it at least does not error out?
41 > >
42 > > Jocke
43 > >
44 > The problem here is that with EAPI 5, profile-only variables were
45 > introduced, one of which is ARCH. The embedded profile does not contain
46 > an ARCH definition (because it isn't specific to any architecture), and
47 > crossdev gets around this by putting it in the make.conf it generates in
48
49 > /usr/{chost}/etc/make.conf. The bug, therefore, is in crossdev; it
50 > should put the ARCH definition in
51 > /usr/{chost}/etc/portage/profile/make.defaults instead. I think there
52 > are some other variables that will need to be set in there as well
53 > (USERLAND, LIBC, KERNEL, etc.).
54
55 Did some browsing of profiles and it seems to me that this most a profile
56 problem. The
57 embedded profile is incomplete and crossdev tries to work around this.
58 The base, arch etc. subprofiles appears to contain to much to be directly
59 usable by the
60 embedded profile.
61 I don't know how profile area is supposed to work but a
62 default/linux/amd64/13.0/embedded
63 profile seem to be the best fit ATM
64
65 Jocke

Replies

Subject Author
Re: [gentoo-embedded] Embedded profile? Joakim Tjernlund <joakim.tjernlund@×××××××××.se>