>>> Unpacking source... >>> Unpacking gnuchess-5.07.tar.gz to /var/tmp/portage/games-board/gnuchess-5.07/work >>> Source unpacked in /var/tmp/portage/games-board/gnuchess-5.07/work >>> Preparing source in /var/tmp/portage/games-board/gnuchess-5.07/work/gnuchess-5.07 ... * Applying gnuchess-gcc4.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-board/gnuchess-5.07/work/gnuchess-5.07 ... * econf: updating gnuchess-5.07/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gnuchess-5.07/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --disable-dependency-tracking --with-readline checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-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 suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) gawk checking whether ln -s works... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for tputs in -lncurses... yes checking for readline in -lreadline... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E 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 readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for ANSI C header files... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in src/GCint.h (assuming C99 compatible system) checking return type of signal handlers... void checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for gettimeofday... yes checking for strchr... yes checking for strcspn... yes checking for strstr... yes checking for strerror... yes checking for memset... yes checking for strdup... yes checking for strtol... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... i686-pc-linux-gnu-gcc configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing src/GCint.h commands config.status: creating src/GCint.h : _GNUCHESS_SRC_GCINT_H >>> Source configured. >>> Compiling source in /var/tmp/portage/games-board/gnuchess-5.07/work/gnuchess-5.07 ... make -j3 Making all in src make[1]: Entering directory `/var/tmp/portage/games-board/gnuchess-5.07/work/gnuchess-5.07/src' make all-am make[2]: Entering directory `/var/tmp/portage/games-board/gnuchess-5.07/work/gnuchess-5.07/src' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -pthread -O2 -march=pentium4 -mtune=pentium4 -pipe -c `test -f 'atak.c' || echo './'`atak.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -pthread -O2 -march=pentium4 -mtune=pentium4 -pipe -c `test -f 'book.c' || echo './'`book.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -pthread -O2 -march=pentium4 -mtune=pentium4 -pipe -c `test -f 'cmd.c' || echo './'`cmd.c In file included from atak.c:30: common.h:748: error: ‘getline’ redeclared as different kind of symbol /usr/include/stdio.h:651: error: previous declaration of ‘getline’ was here make[2]: *** [atak.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from book.c:35: common.h:748: error: ‘getline’ redeclared as different kind of symbol /usr/include/stdio.h:651: error: previous declaration of ‘getline’ was here make[2]: *** [book.o] Error 1 In file included from cmd.c:36: common.h:748: error: ‘getline’ redeclared as different kind of symbol /usr/include/stdio.h:651: error: previous declaration of ‘getline’ was here make[2]: *** [cmd.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/games-board/gnuchess-5.07/work/gnuchess-5.07/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/games-board/gnuchess-5.07/work/gnuchess-5.07/src' make: *** [all-recursive] Error 1 * * ERROR: games-board/gnuchess-5.07 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2859: Called games_src_compile * environment, line 1624: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake 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/games-board/gnuchess-5.07/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-board/gnuchess-5.07/temp/environment'. *