gawk -f MKterm.h.awk /tmp/portage/portage/sys-libs/ncurses-5.7/work/ncurses-5.7/include/Caps > term.h sh /tmp/portage/portage/sys-libs/ncurses-5.7/work/ncurses-5.7/include/edit_cfg.sh ../include/ncurses_cfg.h term.h ** edit: HAVE_TCGETATTR 1 ** edit: HAVE_TERMIOS_H 1 ** edit: HAVE_TERMIO_H 1 ** edit: BROKEN_LINKER 0 make[1]: Leaving directory `/tmp/portage/portage/sys-libs/ncurses-5.7/work/widec/include' cd ncurses && make DESTDIR="" sources make[1]: Entering directory `/tmp/portage/portage/sys-libs/ncurses-5.7/work/widec/ncurses' gawk -f /tmp/portage/portage/sys-libs/ncurses-5.7/work/ncurses-5.7/ncurses/tinfo/MKcodes.awk bigstrings=1 /tmp/portage/portage/sys-libs/ncurses-5.7/work/ncurses-5.7/ncurses/../include/Caps >codes.c i686-pc-linux-gnu-gcc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I/tmp/portage/portage/sys-libs/ncurses-5.7/work/ncurses-5.7/ncurses -I/tmp/portage/portage/sys-libs/ncurses-5.7/work/ncurses-5.7/ncurses/../include -I../include -DMAIN_PROGRAM /tmp/portage/portage/sys-libs/ncurses-5.7/work/ncurses-5.7/ncurses/tinfo/comp_hash.c In file included from /tmp/portage/portage/sys-libs/ncurses-5.7/work/ncurses-5.7/ncurses/tinfo/comp_hash.c:42: /tmp/portage/portage/sys-libs/ncurses-5.7/work/ncurses-5.7/ncurses/curses.priv.h:1456: warning: parameter names (without types) in function declaration /tmp/portage/portage/sys-libs/ncurses-5.7/work/ncurses-5.7/ncurses/curses.priv.h:1457: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_nc_to_widechar’ make[1]: *** [make_hash] Error 1 make[1]: Leaving directory `/tmp/portage/portage/sys-libs/ncurses-5.7/work/widec/ncurses' make: *** [sources] Error 2 Reproducible: Always Steps to Reproduce: 1. crossdev -S --target armv4tl-softfloat-linux-gnueabi 2. emerge-wrapper --init 3. emerge-armv4tl-softfloat-linux-gnueabi \=sys-libs/ncursed-5.7 Actual Results: Compilation failed. Expected Results: Compilation shouldn't failed, or ebuild should be masked. max_posedon max_posedon # emerge-armv4tl-softfloat-linux-gnueabi --info Portage 2.2_rc15 (embedded, gcc-4.1.2, glibc-2.7-r2, 2.6.28-rc7 i686) ================================================================= System uname: Linux-2.6.28-rc7-i686-Genuine_Intel-R-_CPU_T2130_@_1.86GHz-with-glibc2.0 Timestamp of tree: Tue, 23 Dec 2008 18:00:05 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 9999 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="arm ~arm" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=armv4t -mtune=arm920t -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/" CHOST="armv4tl-softfloat-linux-gnueabi" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-Os -march=armv4t -mtune=arm920t -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/" DISTDIR="/home/data/gentoo/distfiles" FEATURES="distlocks nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-L/usr/armv4tl-softfloat-linux-gnueabi/usr/lib -L/usr/armv4tl-softfloat-linux-gnueabi/lib" MAKEOPTS="-j2" PKGDIR="/usr/armv4tl-softfloat-linux-gnueabi/packages/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp/portage" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="arm bindist kdrive make-symlinks minimal multicall nls unicode zlib" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
The same for sys-libs/ncurses-5.6-r2 : http://maxposedon.org/ncurses-5.6-r2-build.log
Build log : http://maxposedon.org/ncurses-5.7-build.log
I have done some tests, problem connected with USE="unicode" ncurses successfully compiles without this flag.
*** This bug has been marked as a duplicate of bug 214642 ***