First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 122042
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 119598
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kenton Groombridge <kenton.groombridge@us.army.mil>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
flex-2.5.31-isatty.patch flex-2.5.31-isatty.patch patch Nicola 2006-02-08 13:46 0000 886 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 122042 depends on: Show dependency tree
Show dependency graph
Bug 122042 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-07 14:23 0000
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

------- Comment #1 From Jakub Moc 2006-02-07 14:28:47 0000 -------
(re)emerge sys-devel/flex and try again...

------- Comment #2 From Kenton Groombridge 2006-02-07 16:36:54 0000 -------
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

------- Comment #3 From Jakub Moc 2006-02-08 01:01:53 0000 -------
*** Bug 122083 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc 2006-02-08 01:02:14 0000 -------
.

------- Comment #5 From Alexey Maximov 2006-02-08 06:40:27 0000 -------
just try downgrade flex ?

------- Comment #6 From Marien Zwart (RETIRED) 2006-02-08 06:43:53 0000 -------
This looks like bug 13681 resurfaced. It merges for me with flex-2.5.4a-r6, but
not with flex-2.5.31-r1.

------- Comment #7 From David Moxey 2006-02-08 10:57:15 0000 -------
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 :-) 

------- Comment #8 From Vedran Miletić 2006-02-08 13:32:45 0000 -------
I was just about to post a "me too" comment. But David's suggestion fixes it.
Thanks a lot, David!

------- Comment #9 From Nicola 2006-02-08 13:46:22 0000 -------
Created an attachment (id=79268) [edit]
edited isatty patch for flex-2.5.31

------- Comment #10 From Nicola 2006-02-08 13:49:55 0000 -------
(From update of attachment 79268 [edit])
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.

------- Comment #11 From SpanKY 2006-02-08 18:34:24 0000 -------

*** This bug has been marked as a duplicate of 121920 ***

------- Comment #12 From SpanKY 2006-02-08 18:46:06 0000 -------
wrong dupe ...

------- Comment #13 From SpanKY 2006-02-08 18:46:16 0000 -------

*** This bug has been marked as a duplicate of 119598 ***

------- Comment #14 From Jakub Moc 2006-02-09 02:14:20 0000 -------
*** Bug 122222 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug