From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-embedded+bounces-2872-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LgbZ8-0005cn-Il
	for garchives@archives.gentoo.org; Mon, 09 Mar 2009 09:14:30 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 22A25E03E7;
	Mon,  9 Mar 2009 09:14:21 +0000 (UTC)
Received: from mail-ew0-f173.google.com (mail-ew0-f173.google.com [209.85.219.173])
	by pigeon.gentoo.org (Postfix) with ESMTP id CFE6BE03E7
	for <gentoo-embedded@lists.gentoo.org>; Mon,  9 Mar 2009 09:14:20 +0000 (UTC)
Received: by ewy21 with SMTP id 21so660753ewy.34
        for <gentoo-embedded@lists.gentoo.org>; Mon, 09 Mar 2009 02:14:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=n8fbrVtvt8J4YcTAiuHbkJ4ECnZIbsGpiQa//Z5Fo54=;
        b=Sa8EUI3UC4MOHjsjUOWCPc1Ssc3y17SOYLx/MiVmaZSsUMeurysHpP+dON+4huNHIR
         NH13lDnPsbDDn8mjRaDLPisCYbbVNwHM5uOyqFp2ejJK+8cdecYn5j3oYdpzZ+d1UGNr
         +v9zE6I3dC+b3q+VGIdJUq/sG2aUnymbiN9X4=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=googlemail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=huBajlDAK8FuAtlM3UzB/u/Ff9iZNmqddPE2UtP3L/YXreJZ3tCVVQLxOB4FYNcdmO
         JlIF7ZlEXAqh7EV+caChy5GuEte5O7DAtIc/ZcRtU66ke8Pe8CQNdaomWfW479a9iiiu
         j4doRmviWm7YOrOgua4LF5VB96xM8iI7QxY5E=
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@lists.gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.210.86.10 with SMTP id j10mr2350854ebb.41.1236590060301; Mon, 
	09 Mar 2009 02:14:20 -0700 (PDT)
In-Reply-To: <c7d2b5330903090200l6bd5c07pb6a8c8737646c222@mail.gmail.com>
References: <c7d2b5330903090200l6bd5c07pb6a8c8737646c222@mail.gmail.com>
Date: Mon, 9 Mar 2009 10:14:20 +0100
Message-ID: <3dc1583f0903090214r4f7220c5jc136d9fb31ff9f0e@mail.gmail.com>
Subject: Re: [gentoo-embedded] ~arm pulls in packages for host system
From: Sven Rebhan <odinshorse@googlemail.com>
To: gentoo-embedded@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: ee7c17d4-4699-4aaa-8d7f-5883acbf4a49
X-Archives-Hash: 6f611d946f15118f01b01d4354e054f7

2009/3/9 Tim Erwin <taerwin@gmail.com>:
> I have set up a cross compiler but if I use ~arm in the ACCEPT_KEYWORDS in
> /usr/armv4tl-softfloat-linux-gnueabi/etc/make.conf, it wants to pull in
> packages for the host system (baselayout, openrc and e2fsprogs-lib) which
> are masked by ~amd64. Is there any reason for this?

If you use the openmoko-overlay it shouldn't. The reason why this
happens is the gentoo dependency oddness. Namely the line
DEPEND="${RDEPEND}", as this tries to emerge everything you want on
the target also to host. However, removing this line is basically not
suggested. We need to add cross-compile dependencies to portage, but
until this happens you can test with removing ${RDEPEND} from the
DEPEND line.

Furthermore, I would suggest to use a chroot to cross-compile your stuff!

Best regards,

   Sven