Attempting to rebuild ncurses-5.5-r1, I get the following error: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.5-r1/work/ncurses-5.5/ncurses -I/var/tmp/portage/ncurses-5.5-r1/work/ncurses-5.5/ncurses/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG -march=athlon64 -O2 -pipe -fPIC -c /var/tmp/portage/ncurses-5.5-r1/work/ncurses-5.5/ncurses/base/lib_mouse.c -o ../obj_s/lib_mouse.o In file included from /usr/include/linux/preempt.h:10, from /usr/include/linux/spinlock.h:50, from /usr/include/linux/wait.h:23, from /usr/include/linux/keyboard.h:20, from /var/tmp/portage/ncurses-5.5-r1/work/ncurses-5.5/ncurses/base/lib_mouse.c:91: /usr/include/linux/thread_info.h: In function `set_ti_thread_flag': /usr/include/linux/thread_info.h:30: error: dereferencing pointer to incomplete type /usr/include/linux/thread_info.h: In function `clear_ti_thread_flag': /usr/include/linux/thread_info.h:35: error: dereferencing pointer to incomplete type /usr/include/linux/thread_info.h: In function `test_and_set_ti_thread_flag': /usr/include/linux/thread_info.h:40: error: dereferencing pointer to incomplete type /usr/include/linux/thread_info.h: In function `test_and_clear_ti_thread_flag': /usr/include/linux/thread_info.h:45: error: dereferencing pointer to incomplete type /usr/include/linux/thread_info.h: In function `test_ti_thread_flag': /usr/include/linux/thread_info.h:50: error: dereferencing pointer to incomplete type /usr/include/linux/thread_info.h:50: error: dereferencing pointer to incomplete type make[1]: *** [../obj_s/lib_mouse.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/ncurses-5.5-r1/work/narrowc/ncurses' make: *** [all] Error 2 !!! ERROR: sys-libs/ncurses-5.5-r1 failed. emerge --info Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-ck1-r1 x86_64) ================================================================= System uname: 2.6.15-ck1-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1, 2.16.91.0.5 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.15_rc6 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LC_ALL="en_US" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/gentopia /usr/local/bmg-main /usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X aac aalib alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus debug eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal howl idn imagemagick imlib ipv6 jack java jpeg junit kde lcms ldap libwww lua lzw lzw-tiff mad mikmod mng mono motif mozilla mp3 mpeg ncurses nls nptl ogg openal opengl pam pcre pdflib perl pic png python qt quicktime readline recode ruby samba sdl speex spell sqlite ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wmf xine xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
confirmed, still looks like those other 2 bugs, bug#120431 and bug#120107 i reckon...worthy of marking duplicate? Portage 2.0.54 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-ck2 x86_64) ================================================================= System uname: 2.6.15-ck2 x86_64 AMD Opteron(tm) Processor 148 Gentoo Base System version 1.12.0_pre14 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.15_rc6 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -g" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -g" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages nostrip sandbox sfperms strict test" GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo http://ftp.swin.edu.au/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim alsa amd64 apache2 audiofile avi bash-completion berkdb big-tables bitmap-fonts bzip2 cairo canvas cdr cli crypt cups curl dba debug divx4linux dlloader dri dvd dvdr emboss encode ethereal exif expat extraengine fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gmp gpm gstreamer gtk gtk2 icq idn imap imlib innodb ipv6 jabber java jpeg kerberos lcms ldap libcaca lzw lzw-tiff mad mhash mng mozsvg mp3 mpeg mppe-mppc mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl pam pcntl pcre pdflib pear perl php png posix python quicktime readline real ruby samba sdl session slang soap sockets spell sqlite ssl svg tcpd test tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vorbis wddx xine xinerama xml xml2 xmlrpc xmms xosd xpm xsl xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Issue still exists in sys-libs/ncurses-5.5-r2, just a reminder there Tim :)
*** This bug has been marked as a duplicate of 120107 ***