First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 119598
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Steve Arnold <nerdboy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Cramer <portage@bigmichi1.dyndns.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
doxygen-1.3.5-isatty.patch isatty fix patch Chris Torske 2006-02-05 07:06 0000 375 bytes Details | Diff
flex-2.5.31-isatty.patch flex-2.5.31-isatty.patch patch SpanKY 2006-02-05 19:41 0000 798 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 119598 depends on: Show dependency tree
Show dependency graph
Bug 119598 blocks: 97921
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-01-19 13:48 0000
i got this with latest flex (flex 2.5.31) in portage

/usr/bin/gmake -f Makefile.doxywizard QTDIR=/usr/qt/3 all
gmake[1]: Entering directory
`/var/tmp/portage/doxygen-1.4.6/work/doxygen-1.4.6/addon/doxywizard'
g++ -c -pipe -Wall -W -fno-exceptions -march=pentium3 -pipe -Os
-fomit-frame-pointer -DNO_DEBUG -I../../src -I/usr/qt/3/include -o obj/config.o
config.cpp
<stdout>: In function 'void configYY_init_buffer(yy_buffer_state*, FILE*)':
<stdout>:2064: error: 'isatty' was not declared in this scope

with flex-2.5.4a doxygen builds correctly



bigmichi1 doxywizard # emerge -pv app-doc/doxygen

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] app-doc/doxygen-1.4.6 [1.4.5] USE="doc qt tetex unicode" 0 kB

Total size of downloads: 0 kB


bigmichi1 doxywizard # emerge info
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2,
2.6.15-gentoo-r1-2005.1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1-2005.1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0_pre14
dev-lang/python:     2.4.2
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="-march=pentium3 -pipe -Os -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /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/lib/fax /usr/lib/mozilla/defaults/pref
/usr/share/X11/xkb /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -pipe -Os -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="de"
MAKEOPTS="-j3"
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 7zip X Xaw3d a52 aac aalib acl acpi alsa amuled apache2 apm ares arts
artswrappersuid artworkextra asterisk async audiofile authfile automount avalon
avi bash-completion bcmath berkdb big-tables bitmap-fonts bootsplash
boundschecking brltty bzip2 cairo calendar calender canvas caps cdb cdr cjk
clamav cli crypt ctype cups curl curlwrappers dba dbus dga directfb djbfft doc
dri dts dvd dvdr dvi dynagraph eds elf emacs emboss encode erandom esd examples
exif expat extraengine fam fbcon ffmpeg flac flatfile fontconfig foomaticdb
fortran fpx freetds freetts ftp gcj gd gdbm ggi gif glep glibc-omitfp glitz
glut gmp gnome gnutls gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal
hesiod howl iconv id3 idled idn imagemagick imap imlib immqt inifile ipv6
ithreads jack jack-tmpfs java java-external javamail javascript jbig jce jikes
jms jmx jpeg junit justify jython kde kdeenablefinal kerberos kqemu krb4 lame
lcms ldap ldapsam leim libcaca libclamav libg++ libwww linuxthreads-tls
lm_sensors logrotate mad max-idx-128 mbrola memlimit mgetty mhash mikmod ming
mmap mmx mng mono motif mozcalendar mozdevelop mozilla mp3 mp4live mpeg mpeg2
mpm-prefork mssql mudflap mysql mysqli nas nautilus ncurses neXt netpbm network
nfs nis nls nntp nptl nptlonly nsplugin numeric oav objc objc-gc odbc ogg
oggvorbis on-the-fly-crypt opengl oss pam pam_chroot pam_console pam_timestamp
pcntl pcre pda pdflib pdo pear perl perlsuid pg-hier pg-intdatetime php physfs
pic player png portaudio posix postgres ppds pwdb python qt quicktime quotas
readline real remote rewrite rhino rle rpm ruby samba sample sasl script sdl
sendfile sensord session shaper sharedmem silc simplexml sitemisc skey slang
slp smp smux sndfile snmp soap sockets socks5 softquota source speex spell spf
spl sqlite srp sse ssl stats svg svga swat symlink sysfs syslog sysvipc t1lib
tcltk tcpd tetex theora threads tidy tiff tokenizer toolbar tools truetype
truetype-fonts type1-fonts ucs2 udev unicode urandom usb utf8 v4l v4l2 vda
vorbis vv wddx win32codecs winbind wmf x264 xinerama xinetd xml xml2 xmlreader
xmlrpc xpm xprint xsl xv xvid yaz zip zlib elibc_glibc kernel_linux linguas_de
userland_GNU video_cards_ati128"

fails also with gcc-3.4.5

------- Comment #1 From Steve Arnold 2006-01-24 21:16:39 0000 -------
I can mask/avoid versions above flex-2.5.4a in the ebuild, but shouldn't this
be addressed upstream by the flex maintainers?  Perhaps the base-system folks
can apply a patch (unless it's really an error in the doxygen code).  Any
takers?

------- Comment #2 From SpanKY 2006-02-03 16:43:37 0000 -------
well, it works for me heh with flex-2.5.31

are you able to reproduce Steve ?

------- Comment #3 From jaBo 2006-02-05 05:36:00 0000 -------
(In reply to comment #2)
> well, it works for me heh with flex-2.5.31
> 
> are you able to reproduce Steve ?
> 

flex-2.5.31 didnt work for me and I had to add it in package.mask. The other
version (it is stable) flex-2.5.4a-r6 was the solution that worked fine and 
later when emerging doxygen everthing went well.
so for me:
flex-2.5.31 is NOT OK
flex-2.5.4a-r6 is OK
bye

------- Comment #4 From Chris Torske 2006-02-05 06:26:09 0000 -------
I too am getting this bug also.  Originaly I thought that it was working fine
for me; till I decided to remove doxygen and install it over again.

Portage 2.1_pre4-r1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r2,
2.6.15-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5-r2, 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="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X a52 alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2
cairo cdb cdr crypt ctype cups dba doc dvd dvi dynagraph eds emboss encode
erandom esd examples extensions firefox flac foomaticdb fortran fpx gd-external
gdbm gif glitz gnome gnutls gpm grammar graphvix graphviz gstreamer gtk gtk2
gtkhtml hal imlib java javascript jpeg jpeg2k kde kerberos krb4 lcms libgda
linuxthreads-tls logmail logrotate lzw lzw-tiff mad maildir mailwrapper math
motif mozilla mp3 mpeg mysql mysqli ncurses nls nptl nsplugin ogg opengl pam
pam_chroot pam_console pam_timestamp pdf pdflib perl php plotutils png pwdb
python qt quicktime readline sasl sdk sdl snmp spell sql ssl svg symlink t1lib
tcltk tcpd tetex theora thesaurus threads tidy tiff toolbar truetype
truetype-fonts type1-fonts urandom usb userlocales vorbis wmf xml xml2 xpm xv
zip zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTDIR_OVERLAY

------- Comment #5 From Chris Torske 2006-02-05 07:06:03 0000 -------
Created an attachment (id=78942) [edit]
isatty fix

I did a quick search on the web; and found a patch that worked for fixing this
problem from the Conectiva Linux Distribution.  It is a old patch grabbed from
their src rpm for doxygen-1.3.5; but it fixed the problem for me.  Please note;
that this isn't a valid one for gentoo; so someone else will have to remake
this patch in the proper format for us.

------- Comment #6 From SpanKY 2006-02-05 12:59:17 0000 -------
does config.l include unistd.h ?  that should pull in the C definition for
isatty

------- Comment #7 From Michael Cramer 2006-02-05 13:51:55 0000 -------
file config.l in doxywizard directory doesn't include unistd.h 

------- Comment #8 From SpanKY 2006-02-05 19:41:52 0000 -------
Created an attachment (id=79002) [edit]
flex-2.5.31-isatty.patch

patch for flex that should fix this issue ...

------- Comment #9 From Michael Cramer 2006-02-06 08:43:52 0000 -------
(In reply to comment #8)
> Created an attachment (id=79002) [edit]
> flex-2.5.31-isatty.patch
> 
> patch for flex that should fix this issue ...
> 

applied this patch to flex and doxywizard builds now

------- Comment #10 From SpanKY 2006-02-06 15:17:39 0000 -------
added to 2.5.31-r1 then

------- Comment #11 From SpanKY 2006-02-08 18:46:16 0000 -------
*** Bug 122042 has been marked as a duplicate of this bug. ***

------- Comment #12 From Steve Arnold 2006-02-11 15:28:36 0000 -------
*** Bug 121987 has been marked as a duplicate of this bug. ***

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