Gentoo Archives: gentoo-embedded

From: Ahmed Ammar <b33fc0d3@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] make only builds X86_64 code
Date: Mon, 22 Jun 2009 15:19:50
Message-Id: 1245683984.19639.5.camel@gentoo-dev
In Reply to: Re: [gentoo-embedded] make only builds X86_64 code by Stephen Feyrer
1 On Wed, 2009-06-17 at 14:41 +0100, Stephen Feyrer wrote:
2 > Ahmed Ammar wrote:
3 > > On Tue, 2009-06-16 at 21:24 +0100, Stephen Feyrer wrote:
4 > > [snip]
5 > >> echo ">=net-mail/dovecot-1.1.16" >>
6 > >> /usr/armv5tel-softfloat-linux-gnueabi/etc/portage/package.keywords
7 > > [snip]
8 > >
9 > > The above entry in package.keywords is invalid/in-complete. Please have
10 > > a look at 'man portage'.
11 > >
12 >
13 > package.keywords
14 >
15 > net-mail/dovecot-1.1.16.ebuild:KEYWORDS="** ~ARM"
16 >
17 > ACCEPT_KEYWORDS="arm ~arm ~amd"
18
19 I guess I have to spell it out. I am assuming that you are using
20 crossdev-wrappers and have run emerge-wrapper --init.
21
22 /usr/${CHOST}/etc/portage/package.keywords should read:
23
24 net-mail/dovecot **
25
26 OR
27
28 =net-mail/dovecot-1.1.16 **
29
30 and then you should be issuing the command:
31
32 # emerge-${CHOST} dovecot
33
34 If you are still getting invalid final binaries then as stated
35 previously by others the cross build system for this package is broken
36 and needs a fix; it's usually something as simple as a hard-coded call
37 to gcc or g++ instead of using the env. variables ${CC} ${CXX}.
38
39 --
40 Ahmed Ammar <b33fc0d3@g.o>
41 Gentoo Linux

Replies

Subject Author
Re: [gentoo-embedded] make only builds X86_64 code Stephen Feyrer <steve@××××××××.uk>