After do --------------------- #emerge sync #emerge -u world #etc-update --------------------- So all other is correct, including portage and perl But when I try to have xfree --------------------- #emerge -u xfree Calculating dependencies ...done! >>> emerge x11-misc/ttmkfdir-2.0 to / >>> md5 ;-) ttmkfdir2-1.0.tar.bz2 >>> Unpacking source... >>> Unpacking ttmkfdir2-1.0.tar.bz2 patching file Makefile patching file ttf.h >>> Source unpacked. --------------------- ... ... And finaly it's broken whith --------------------- g++ -march=athlon -mcpu=athlon -O3 -pipe -Wall -pedantic -I/usr/include/freetype2/. -c parser.cpp -fPIC -DPIC -o .libs/parser.lo encoding.l: In function `int yylex(char*, Encodings_t&)': encoding.l:144: warning: comparison between signed and unsigned integer expressions parser.cpp: At global scope: parser.cpp:1505: declaration of `int isatty(int)' throws different exceptions /usr/include/unistd.h:668: than previous declaration `int isatty(int) throw ()' make: *** [parser.o] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 1, Exitcode 2 !!! (no error message) ---------------------
*** This bug has been marked as a duplicate of 9883 ***
It isn't same as 9883, this is under platform PC, and the other with Sparc64. In unistd.h declaration of isatty is ok I have gcc-3.2-r1, glibc-2.2.5-r7, flex-2.5.4a-r5 So it's not fixed in glibc 2.2.5. But in forums there's a post with the solution: emerge flex before doing the emerge ttmkfdir; and now ttmkfdir emerge without problems I don't how it's works, I have the same version of flex, but with new emerge it runs. Problaby because I start gentoo in stage 3 (athlon) There must be an error in stage3-i686_athlon-1.4_rc1.tar.bz2 whith compiled flex.