>>> Unpacking source... >>> Unpacking ncurses-5.6.tar.gz to /var/tmp/portage/sys-libs/ncurses-5.6-r2/work >>> Unpacking ncurses-5.6-coverity.patch.gz to /var/tmp/portage/sys-libs/ncurses-5.6-r2/work * Applying ncurses-5.6-coverity.patch ...  [ ok ] * Applying ncurses-5.6-gfbsd.patch ...  [ ok ] * Applying ncurses-5.6-build.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6 ... * QA Notice: USE Flag 'ada' not in IUSE for sys-libs/ncurses-5.6-r2 * econf: updating ncurses-5.6/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ncurses-5.6/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/configure --prefix=/usr --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib --with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo --with-shared --without-debug --without-profile --with-gpm --disable-termcap --enable-symlinks --with-rcs-ids --with-manpage-format=normal --enable-const --enable-colorfgbg --enable-echo --enable-warnings --without-assertions --with-leaks --without-expanded --with-macros --without-trace --with-chtype=long --with-mmask-t=long --disable-ext-colors --disable-ext-mouse --build=powerpc-unknown-linux-gnu checking for egrep... grep -E Configuring NCURSES 5.6 ABI 5 (Sat Feb 9 20:26:42 EET 2008) checking build system type... powerpc-unknown-linux-gnu checking host system type... powerpc-unknown-linux-gnu checking target system type... powerpc-unknown-linux-gnu Configuring for linux-gnu checking for prefix... /usr checking for powerpc-unknown-linux-gnu-gcc... powerpc-unknown-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether powerpc-unknown-linux-gnu-gcc accepts -g... yes checking version of powerpc-unknown-linux-gnu-gcc... 4.1.2 checking how to run the C preprocessor... powerpc-unknown-linux-gnu-gcc -E checking whether powerpc-unknown-linux-gnu-gcc needs -traditional... no checking whether powerpc-unknown-linux-gnu-gcc understands -c and -o together... yes checking for POSIXized ISC... no checking for powerpc-unknown-linux-gnu-gcc option to accept ANSI C... -DCC_HAS_PROTOS checking for ldconfig... /sbin/ldconfig checking if you want to ensure bool is consistent with C++... yes checking for powerpc-unknown-linux-gnu-g++... powerpc-unknown-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether powerpc-unknown-linux-gnu-g++ accepts -g... yes checking version of g++... 4.1.2 checking if you want to build C++ binding and demo... yes checking if you want to build with Ada95... yes checking if you want to build programs such as tic... yes checking if you wish to install curses.h... yes checking for mawk... no checking for gawk... gawk checking for egrep... (cached) grep -E checking for a BSD compatible install... /usr/bin/install -c checking for tdlint... no checking for lint... no checking for alint... no checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking if filesystem supports mixed-case filenames... yes checking for ctags... yes checking for etags... no checking for makeflags variable... checking for long file names... yes checking if filesystem supports mixed-case filenames... (cached) yes checking for powerpc-unknown-linux-gnu-ranlib... powerpc-unknown-linux-gnu-ranlib checking for powerpc-unknown-linux-gnu-ld... powerpc-unknown-linux-gnu-ld checking for powerpc-unknown-linux-gnu-ar... powerpc-unknown-linux-gnu-ar checking for archiver options (symbol AR_OPTS)... rv checking if you have specified an install-prefix... checking if you want to build libraries with libtool... no checking if you want to build shared libraries... yes checking if you want to build static libraries... yes checking if you want to build debug libraries... no checking if you want to build profiling libraries... no checking for specified models... shared normal checking for default model... shared checking if you want to build a separate terminfo library... no checking if you want to link with the GPM mouse library... yes checking for gpm.h... yes checking for Gpm_Open in -lgpm... yes checking if you want to load GPM dynamically... yes checking for dlsym... no checking for dlsym in -ldl... yes checking whether able to link to dl*() functions... ok checking for soname of gpm library... libgpm.so.1 checking for Gpm_Wgetch in -lgpm... yes configure: WARNING: GPM library is already linked with curses - read the FAQ checking for default loader flags... checking if rpath option should be used... no checking if release/abi version should be used for shared libs... auto checking which powerpc-unknown-linux-gnu-gcc option to use... -fPIC checking if you wish to install ncurses overwriting curses... yes checking if external terminfo-database is used... yes checking which terminfo source-file will be installed... ${top_srcdir}/misc/terminfo.src checking whether to use hashed database instead of directory/tree... no checking for list of fallback descriptions... checking if you want modern xterm or antique... xterm-new checking for list of terminfo directories... /etc/terminfo:/usr/share/terminfo checking for default terminfo directory... /usr/share/terminfo checking if big-core option selected... yes checking if you want termcap-fallback support... no checking if ~/.terminfo is wanted... yes checking if you want to use restricted environment when running as root... yes checking for remove... yes checking for unlink... yes checking if link/symlink functions work... link symlink checking if tic should use symbolic links... yes checking if you want broken-linker support code... no checking if tputs should process BSD-style prefix padding... no checking if powerpc-unknown-linux-gnu-gcc -U and -D options work together... yes checking if we must define _GNU_SOURCE... yes checking if SIGWINCH is defined... yes checking for nl_langinfo and CODESET... yes checking if you want wide-character code... no checking whether to enable _LP64 definition in curses.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGE_FILES value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes checking whether to use struct dirent64... no checking if you want tparm not to use X/Open fixed-parameter list... yes checking for type of bool... auto checking for alternate terminal capabilities file... Caps checking for type of chtype... long checking for type of ospeed... short checking for type of mmask_t... long checking if RCS identifiers should be compiled-in... yes checking format of man-pages... normal checking for manpage renaming... no checking if manpage aliases will be installed... yes checking if manpage symlinks should be used... yes checking for manpage tbl... no checking if you want to build with function extensions... yes checking for extended use of const keyword... yes checking if you want $NCURSES_NO_PADDING code... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for signed char... yes checking size of signed char... 1 checking if you want to use signed Boolean array in term.h... no checking if you want SIGWINCH handler... yes checking if you want user-definable terminal capabilities like termcap... yes checking if you want all development code... no checking if you want hard-tabs code... no checking if you want limited support for xmc... no checking if you do not want to assume colors are white-on-black... yes checking if you want hashmap scrolling-optimization code... yes checking if you want colorfgbg code... yes checking if you want to use experimental extended colors... no checking if you want to use experimental extended mouse encoding... no checking if you want experimental safe-sprintf code... no checking if you want experimental wgetch-events code... no checking if you want to display full commands during build... yes checking if you want to see compiler warnings... yes checking if this is really Intel C compiler... no configure: checking for powerpc-unknown-linux-gnu-gcc warning options... ... -Wbad-function-cast ... -Wcast-align ... -Wcast-qual ... -Winline ... -Wmissing-declarations ... -Wmissing-prototypes ... -Wnested-externs ... -Wpointer-arith ... -Wshadow ... -Wstrict-prototypes ... -Wundef ... -Wwrite-strings checking if this is really Intel C++ compiler... no configure: checking for powerpc-unknown-linux-gnu-g++ warning options... ... -Wabi ... -fabi-version=0 ... -Woverloaded-virtual ... -Wsign-promo ... -Wsynth ... -Wold-style-cast ... -Wcast-align ... -Wcast-qual ... no -Wmissing-prototypes ... -Wpointer-arith ... -Wshadow ... no -Wstrict-prototypes ... -Wundef ... -Wwrite-strings ... -Weffc++ ... -Wno-unused configure: checking for powerpc-unknown-linux-gnu-gcc __attribute__ directives... ... scanf ... printf ... unused ... noreturn checking if you want to enable runtime assertions... no checking if you want to use dmalloc for testing... no checking if you want to use dbmalloc for testing... no checking if you want to use valgrind for testing... no checking if you want to perform memory-leak testing... no checking whether to add trace feature to all models... no checking for gettimeofday... yes checking if -lm needed for math functions... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking whether time.h and sys/time.h may both be included... yes checking for regular-expression headers... regex.h checking for fcntl.h... yes checking for getopt.h... yes checking for limits.h... yes checking for locale.h... yes checking for poll.h... yes checking for sys/bsdtypes.h... no checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/poll.h... yes checking for sys/select.h... yes checking for sys/time.h... yes checking for sys/times.h... yes checking for ttyent.h... yes checking for unistd.h... (cached) yes checking for wctype.h... yes checking if sys/time.h works with sys/select.h... yes checking for powerpc-unknown-linux-gnu-gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking if unsigned literals are legal... yes checking if external errno is declared... yes checking if external errno exists... no checking if data-only library module links... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getttynam... yes checking for issetugid... no checking for poll... yes checking for remove... (cached) yes checking for select... yes checking for setbuf... yes checking for setbuffer... yes checking for setvbuf... yes checking for sigaction... yes checking for sigvec... yes checking for strdup... yes checking for strstr... yes checking for tcgetpgrp... yes checking for times... yes checking for vsnprintf... yes checking for isascii... yes checking whether sigaction needs _POSIX_SOURCE... no checking if nanosleep really works... yes checking for termio.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking whether termios.h needs _POSIX_SOURCE... no checking for tcgetattr... yes checking for vsscanf function or workaround... vsscanf checking for working mkstemp... yes checking whether setvbuf arguments are reversed... no checking return type of signal handlers... void checking for type sigaction_t... no checking declaration of size-change... yes checking for memmove... yes checking if poll really works... yes checking if we should include stdbool.h... yes checking for builtin bool type... no checking for library stdc++... no checking whether powerpc-unknown-linux-gnu-g++ understands -c and -o together... yes checking how to run the C++ preprocessor... powerpc-unknown-linux-gnu-g++ -E checking for iostream... yes checking for typeinfo... yes checking if we should include stdbool.h... (cached) yes checking for builtin bool type... yes checking for size of bool... unsigned char checking for special defines needed for etip.h... MATH_H checking if powerpc-unknown-linux-gnu-g++ accepts parameter initialization... no checking if powerpc-unknown-linux-gnu-g++ accepts static_cast... yes checking for strstream.h... no checking if powerpc-unknown-linux-gnu-g++ supports vscan function... stdio checking for gnatmake... no checking for library subsets... termlib+ext_tinfo+base+ext_funcs checking default library suffix... checking default library-dependency suffix... .so checking default object directory... obj_s checking c++ library-dependency suffix... .a checking where we will install curses.h... ${prefix}/include checking for src modules... ncurses progs tack panel menu form configure: creating ./config.status config.status: creating include/MKterm.h.awk config.status: creating include/curses.head config.status: creating include/termcap.h config.status: creating include/unctrl.h config.status: creating man/Makefile config.status: creating include/Makefile config.status: creating ncurses/Makefile config.status: creating progs/Makefile config.status: creating tack/Makefile config.status: creating panel/Makefile config.status: creating menu/Makefile config.status: creating form/Makefile config.status: creating test/Makefile config.status: creating misc/Makefile config.status: creating c++/Makefile config.status: creating misc/run_tic.sh config.status: creating misc/ncurses-config config.status: creating Makefile config.status: creating include/ncurses_cfg.h Appending rules for shared model (ncurses: termlib+ext_tinfo+base+ext_funcs) Appending rules for normal model (ncurses: termlib+ext_tinfo+base+ext_funcs) Appending rules for shared model (progs: termlib+ext_tinfo+base+ext_funcs) Appending rules for normal model (progs: termlib+ext_tinfo+base+ext_funcs) Appending rules for shared model (tack: termlib+ext_tinfo+base+ext_funcs) Appending rules for normal model (tack: termlib+ext_tinfo+base+ext_funcs) Appending rules for shared model (panel: termlib+ext_tinfo+base+ext_funcs) Appending rules for normal model (panel: termlib+ext_tinfo+base+ext_funcs) Appending rules for shared model (menu: termlib+ext_tinfo+base+ext_funcs) Appending rules for normal model (menu: termlib+ext_tinfo+base+ext_funcs) Appending rules for shared model (form: termlib+ext_tinfo+base+ext_funcs) Appending rules for normal model (form: termlib+ext_tinfo+base+ext_funcs) Appending rules for shared model (test: termlib+ext_tinfo+base+ext_funcs) Appending rules for normal model (test: termlib+ext_tinfo+base+ext_funcs) Appending rules for shared model (c++: termlib+ext_tinfo+base+ext_funcs) Appending rules for normal model (c++: termlib+ext_tinfo+base+ext_funcs) creating headers.sh ** Configuration summary for NCURSES 5.6 20061217: extended funcs: yes xterm terminfo: xterm-new bin directory: /usr/bin lib directory: /lib include directory: /usr/include man directory: /usr/share/man terminfo directory: /usr/share/terminfo cd man && make DESTDIR="" sources make[1]: Entering directory `/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/narrowc/man' sh /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/man/MKterminfo.sh /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/man/terminfo.head /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/man/../include/Caps /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/man/terminfo.tail >terminfo.5 make[1]: Leaving directory `/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/narrowc/man' cd include && make DESTDIR="" sources make[1]: Entering directory `/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/narrowc/include' cat curses.head >curses.h AWK=gawk sh /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/include/MKkey_defs.sh /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/include/Caps >>curses.h sh -c 'if test "chtype" = "cchar_t" ; then cat /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/include/curses.wide >>curses.h ; fi' cat /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/include/curses.tail >>curses.h sh /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/include/MKhashsize.sh /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/include/Caps >hashsize.h /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/include/MKhashsize.sh: line 38: unexpected EOF while looking for matching ``' /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/include/MKhashsize.sh: line 43: syntax error: unexpected end of file make[1]: *** [hashsize.h] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/narrowc/include' make: *** [sources] Error 2 * * ERROR: sys-libs/ncurses-5.6-r2 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ncurses-5.6-r2.ebuild, line 50: Called do_compile * ncurses-5.6-r2.ebuild, line 102: Called die * The specific snippet of code: * emake -j1 sources || die "make sources failed" * The die message: * make sources failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-libs/ncurses-5.6-r2/temp/build.log'. *