public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dustin C. Hatch" <admiralnemo@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Embedded profile?
Date: Mon, 14 Oct 2013 20:01:33 -0500	[thread overview]
Message-ID: <525C93ED.2020406@gmail.com> (raw)
In-Reply-To: <OFD06C5AE8.18A33A2F-ONC1257C04.0043B8FA-C1257C04.00445D74@transmode.se>

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/


  reply	other threads:[~2013-10-15  1:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14 12:26 [gentoo-embedded] Embedded profile? Joakim Tjernlund
2013-10-15  1:01 ` Dustin C. Hatch [this message]
2013-10-15 14:27   ` Joakim Tjernlund
2013-10-18 11:27     ` Joakim Tjernlund
2013-10-16  8:56 ` Sergey Popov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525C93ED.2020406@gmail.com \
    --to=admiralnemo@gmail.com \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox