1 |
Ahmed Ammar wrote: |
2 |
> On Wed, 2009-06-17 at 14:41 +0100, Stephen Feyrer wrote: |
3 |
>> Ahmed Ammar wrote: |
4 |
>>> On Tue, 2009-06-16 at 21:24 +0100, Stephen Feyrer wrote: |
5 |
>>> [snip] |
6 |
>>>> echo ">=net-mail/dovecot-1.1.16" >> |
7 |
>>>> /usr/armv5tel-softfloat-linux-gnueabi/etc/portage/package.keywords |
8 |
>>> [snip] |
9 |
>>> |
10 |
>>> The above entry in package.keywords is invalid/in-complete. Please have |
11 |
>>> a look at 'man portage'. |
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 |
Thanks. That makes sense now and spelling it out I have found never hurts. |
41 |
|
42 |
[ebuild N ] sys-libs/ncurses-5.7-r1 to |
43 |
/usr/armv5tel-softfloat-linux-gnueabi/ USE="cxx minimal -ada -debug -doc |
44 |
-gpm -profile -trace -unicode" 0 kB |
45 |
|
46 |
[snip] |
47 |
|
48 |
[ebuild N ] net-mail/dovecot-1.1.16 to |
49 |
/usr/armv5tel-softfloat-linux-gnueabi/ USE="ssl -berkdb -debug -doc |
50 |
-ipv6 -kerberos -ldap -managesieve -mbox -mysql -pam -pop3d -postgres |
51 |
-sieve -sqlite3 -suid -vpopmail" 2,329 kB |
52 |
[ebuild N ] app-emacs/emacs-common-gentoo-1.0 USE="X" 14 kB |
53 |
[ebuild N ] app-editors/emacs-22.3-r2 USE="X alsa gif gtk jpeg |
54 |
kerberos png source tiff xpm -Xaw3d -gzip-el -hesiod -motif -sound |
55 |
-toolkit-scroll-bars" 0 kB |
56 |
[ebuild N ] virtual/emacs-22 0 kB |
57 |
[ebuild N ] app-emacs/po-mode-0.17 to |
58 |
/usr/armv5tel-softfloat-linux-gnueabi/ 0 kB |
59 |
|
60 |
I now find that ncurses fails during the build process. |
61 |
|
62 |
tic.c:(.text+0x105c): warning: the use of `tmpnam' is dangerous, better |
63 |
use `mkstemp' |
64 |
../obj_s/tic.o: In function `write_it': |
65 |
tic.c:(.text+0x300): undefined reference to `_nc_write_entry' |
66 |
../obj_s/tic.o: In function `check_sgr': |
67 |
tic.c:(.text+0xa0c): undefined reference to `_nc_capcmp' |
68 |
../obj_s/tic.o: In function `main': |
69 |
tic.c:(.text+0x11dc): undefined reference to `_nc_set_writedir' |
70 |
tic.c:(.text+0x1234): undefined reference to `_nc_read_entry_source' |
71 |
tic.c:(.text+0x1274): undefined reference to `_nc_resolve_uses2' |
72 |
tic.c:(.text+0x1390): undefined reference to `_nc_set_writedir' |
73 |
tic.c:(.text+0x17ac): undefined reference to `_nc_tic_written' |
74 |
tic.c:(.text+0x1828): undefined reference to `_nc_disable_period' |
75 |
tic.c:(.text+0x1830): undefined reference to `_nc_check_termtype2' |
76 |
../obj_s/tic.o: In function `check_termtype': |
77 |
tic.c:(.text+0x19b8): undefined reference to `_nc_capcmp' |
78 |
tic.c:(.text+0x1fb4): undefined reference to `_nc_capcmp' |
79 |
tic.c:(.text+0x1ff0): undefined reference to `_nc_capcmp' |
80 |
tic.c:(.text+0x2490): undefined reference to `_nc_capcmp' |
81 |
tic.c:(.text+0x2804): undefined reference to `_nc_syntax' |
82 |
../obj_s/dump_entry.o: In function `nametrans': |
83 |
dump_entry.c:(.text+0xd9c): undefined reference to `_nc_get_hash_table' |
84 |
dump_entry.c:(.text+0xda8): undefined reference to `_nc_find_entry' |
85 |
../obj_s/dump_entry.o: In function `fmt_entry': |
86 |
dump_entry.c:(.text+0x1a2c): undefined reference to `_nc_tic_expand' |
87 |
dump_entry.c:(.text+0x1a40): undefined reference to `_nc_infotocap' |
88 |
dump_entry.c:(.text+0x1b50): undefined reference to `_nc_tic_expand' |
89 |
dump_entry.c:(.text+0x1d50): undefined reference to `_nc_tic_expand' |
90 |
collect2: ld returned 1 exit status |
91 |
make[1]: *** [tic] Error 1 |
92 |
make[1]: Leaving directory |
93 |
`/usr/armv5tel-softfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-5.7-r1/work/narrowc/progs' |
94 |
make: *** [all] Error 2 |
95 |
* |
96 |
* ERROR: sys-libs/ncurses-5.7-r1 failed. |
97 |
* Call stack: |
98 |
* ebuild.sh, line 49: Called src_compile |
99 |
* environment, line 2542: Called do_compile 'narrowc' |
100 |
* environment, line 710: Called die |
101 |
* The specific snippet of code: |
102 |
* emake || die "make failed" |
103 |
* The die message: |
104 |
* make failed |
105 |
* |
106 |
* If you need support, post the topmost build error, and the call stack |
107 |
if relevant. |
108 |
* A complete build log is located at |
109 |
'/usr/armv5tel-softfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-5.7-r1/temp/build.log'. |
110 |
* The ebuild environment file is located at |
111 |
'/usr/armv5tel-softfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-5.7-r1/temp/environment'. |
112 |
* |
113 |
|
114 |
|
115 |
Its all fun isn't it. I've turn off as many use flags as I dare. |