Ahmed Ammar wrote:
> On Wed, 2009-06-17 at 14:41 +0100, Stephen Feyrer wrote:
>> Ahmed Ammar wrote:
>>> On Tue, 2009-06-16 at 21:24 +0100, Stephen Feyrer wrote:
>>> [snip]
>>>> echo ">=net-mail/dovecot-1.1.16" >>
>>>> /usr/armv5tel-softfloat-linux-gnueabi/etc/portage/package.keywords
>>> [snip]
>>>
>>> The above entry in package.keywords is invalid/in-complete. Please have
>>> a look at 'man portage'.
>>>
>> package.keywords
>>
>> net-mail/dovecot-1.1.16.ebuild:KEYWORDS="** ~ARM"
>>
>> ACCEPT_KEYWORDS="arm ~arm ~amd"
>
> I guess I have to spell it out. I am assuming that you are using
> crossdev-wrappers and have run emerge-wrapper --init.
>
> /usr/${CHOST}/etc/portage/package.keywords should read:
>
> net-mail/dovecot **
>
> OR
>
> =net-mail/dovecot-1.1.16 **
>
> and then you should be issuing the command:
>
> # emerge-${CHOST} dovecot
>
> If you are still getting invalid final binaries then as stated
> previously by others the cross build system for this package is broken
> and needs a fix; it's usually something as simple as a hard-coded call
> to gcc or g++ instead of using the env. variables ${CC} ${CXX}.
> Thanks. That makes sense now and spelling it out I have found never hurts. [ebuild N ] sys-libs/ncurses-5.7-r1 to /usr/armv5tel-softfloat-linux-gnueabi/ USE="cxx minimal -ada -debug -doc -gpm -profile -trace -unicode" 0 kB [snip] [ebuild N ] net-mail/dovecot-1.1.16 to /usr/armv5tel-softfloat-linux-gnueabi/ USE="ssl -berkdb -debug -doc -ipv6 -kerberos -ldap -managesieve -mbox -mysql -pam -pop3d -postgres -sieve -sqlite3 -suid -vpopmail" 2,329 kB [ebuild N ] app-emacs/emacs-common-gentoo-1.0 USE="X" 14 kB [ebuild N ] app-editors/emacs-22.3-r2 USE="X alsa gif gtk jpeg kerberos png source tiff xpm -Xaw3d -gzip-el -hesiod -motif -sound -toolkit-scroll-bars" 0 kB [ebuild N ] virtual/emacs-22 0 kB [ebuild N ] app-emacs/po-mode-0.17 to /usr/armv5tel-softfloat-linux-gnueabi/ 0 kB I now find that ncurses fails during the build process. tic.c:(.text+0x105c): warning: the use of `tmpnam' is dangerous, better use `mkstemp' ../obj_s/tic.o: In function `write_it': tic.c:(.text+0x300): undefined reference to `_nc_write_entry' ../obj_s/tic.o: In function `check_sgr': tic.c:(.text+0xa0c): undefined reference to `_nc_capcmp' ../obj_s/tic.o: In function `main': tic.c:(.text+0x11dc): undefined reference to `_nc_set_writedir' tic.c:(.text+0x1234): undefined reference to `_nc_read_entry_source' tic.c:(.text+0x1274): undefined reference to `_nc_resolve_uses2' tic.c:(.text+0x1390): undefined reference to `_nc_set_writedir' tic.c:(.text+0x17ac): undefined reference to `_nc_tic_written' tic.c:(.text+0x1828): undefined reference to `_nc_disable_period' tic.c:(.text+0x1830): undefined reference to `_nc_check_termtype2' ../obj_s/tic.o: In function `check_termtype': tic.c:(.text+0x19b8): undefined reference to `_nc_capcmp' tic.c:(.text+0x1fb4): undefined reference to `_nc_capcmp' tic.c:(.text+0x1ff0): undefined reference to `_nc_capcmp' tic.c:(.text+0x2490): undefined reference to `_nc_capcmp' tic.c:(.text+0x2804): undefined reference to `_nc_syntax' ../obj_s/dump_entry.o: In function `nametrans': dump_entry.c:(.text+0xd9c): undefined reference to `_nc_get_hash_table' dump_entry.c:(.text+0xda8): undefined reference to `_nc_find_entry' ../obj_s/dump_entry.o: In function `fmt_entry': dump_entry.c:(.text+0x1a2c): undefined reference to `_nc_tic_expand' dump_entry.c:(.text+0x1a40): undefined reference to `_nc_infotocap' dump_entry.c:(.text+0x1b50): undefined reference to `_nc_tic_expand' dump_entry.c:(.text+0x1d50): undefined reference to `_nc_tic_expand' collect2: ld returned 1 exit status make[1]: *** [tic] Error 1 make[1]: Leaving directory `/usr/armv5tel-softfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-5.7-r1/work/narrowc/progs' make: *** [all] Error 2 * * ERROR: sys-libs/ncurses-5.7-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2542: Called do_compile 'narrowc' * environment, line 710: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/usr/armv5tel-softfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-5.7-r1/temp/build.log'. * The ebuild environment file is located at '/usr/armv5tel-softfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-5.7-r1/temp/environment'. * Its all fun isn't it. I've turn off as many use flags as I dare.
smime.p7s
Description: S/MIME Cryptographic Signature
