In my attempts to fix a previous bug I entered: http://bugs.gentoo.org/show_bug.cgi?id=120880 I did a: emerge -e transcode When it got to x11-apps/ttmkfdir-3.0.9-r3, it failed with: i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -pipe -march=athlon-xp -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -c builtin.cpp -o builtin.o >/dev/null 2>&1 encoding.l: In function `int yylex(char*, Encodings_t&)': encoding.l:111: warning: comparison between signed and unsigned integer expressions encoding.l:143: warning: comparison between signed and unsigned integer expressions encoding.l:147: warning: comparison between signed and unsigned integer expressions parser.cpp: At global scope: parser.cpp:1587: error: declaration of `int isatty(int)' throws different exceptions /usr/include/unistd.h:717: error: than previous declaration `int isatty(int) throw ()' parser.cpp:1364: warning: 'void yyunput(int, char*)' defined but not used make: *** [parser.o] Error 1 !!! ERROR: x11-apps/ttmkfdir-3.0.9-r3 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Google searched for possible solutions, but nothing I did worked and repeated attempts to build this package result in the same failure. Thanks, Ken Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-ck3 i686) ================================================================= System uname: 2.6.15-ck3 i686 Unknown CPU Typ Gentoo Base System version 1.12.0_pre15 dev-lang/python: 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.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/ http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.mirrors.easynews.com/linux/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="x86 3dnow 3dnowext S3TC X a52 aac acpi alsa apache2 arts asf audiofile berkdb bzip2 cairo cddb cdio cdparanoia crypt css cups curl dga dlloader dvd dvdr dvdread eds emboss emoticon encode fame ffmpeg firefox flac foomaticdb gdbm gif gimp glut gstreamer gtk gtk2 ieee1394 imagemagick imlib imlib2 input_devices_evdev input_devices_joystick input_devices_keyboard iproute2 jack java joystick jpeg jpeg2k kde libwww live logitech-mouse lzo mad mikmod mjpeg mmx mmxext motif mozsvg mp3 mpeg mplayer musicbrainz nas ncurses network nforce2 nls nntp nomalloccheck nptl nptlonly nsplugin nspr nvidia ogg oggvorbis openal opengl pam pdf perl png python qt quicktime readline real rtc samba scanner sdl spell sse ssl subtitles svg sysfs tcltk tcpd theora tiff transcode truetype truetype-fonts type1 type1-fonts unicode urandom usb userlocales v4l2 vcd video_cards_nvidia vorbis win32codecs wmf xine xml2 xmms xpm xrandr xscreensaver xv xvid xvmc zlib zvbi elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
(re)emerge sys-devel/flex and try again...
Performed an emerge of sys-devel/flex and then emerged ttmkfdir with the same results. I posted the problem building transcode some time ago, and I am curious why nobody else seems to be posting any "me too" comments. Is it possible that I may have some hardware failure (CPU) that could be causing these? Thanks for your hard work. Ken
*** Bug 122083 has been marked as a duplicate of this bug. ***
.
just try downgrade flex ?
This looks like bug 13681 resurfaced. It merges for me with flex-2.5.4a-r6, but not with flex-2.5.31-r1.
Ran into the same problem myself. An easy fix for those who want to compile straight away: On line 1587 of parser.cpp, change: extern int isatty (int ); to: extern int isatty (int) throw(); then re-emerge with FEATURES="keepwork". This is my first post on here; seems to work, but I have no idea whether it'll cause problems down the line :-)
I was just about to post a "me too" comment. But David's suggestion fixes it. Thanks a lot, David!
Created attachment 79268 [details, diff] flex-2.5.31-isatty.patch
Comment on attachment 79268 [details, diff] flex-2.5.31-isatty.patch Rebuild flex with this patch (replace the existing one) to fix this bug. By the way I'm using a glibc overlay so I'm not sure if flex has the same problem with the glibc in portage.
*** This bug has been marked as a duplicate of 121920 ***
wrong dupe ...
*** This bug has been marked as a duplicate of 119598 ***
*** Bug 122222 has been marked as a duplicate of this bug. ***