Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21368 - libIDL-0.8.1 doesn't compile with flex-2.5.31
Summary: libIDL-0.8.1 doesn't compile with flex-2.5.31
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 21189
  Show dependency tree
 
Reported: 2003-05-20 17:35 UTC by Sébastien Champigny
Modified: 2003-09-28 14:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Champigny 2003-05-20 17:35:07 UTC
The occurence of this bug occured as I wanted to upgrade to the last
gnome-terminal. I got an compilation error about libIDL. Back to libIDL, got an
compilation error about flex (version installed: 2.5.31).



Reproducible: Always
Steps to Reproduce:
1. Unmask >=sys-devel/flex-2.5.23
2. emerge -u flex
3. emerge libIDL

Actual Results:  
bash $ emerge libIDL
...
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DLIBIDL_VERSION=\"0.8.1\"
-DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"\" "-DCPP_PROGRAM=\"gcc -E\""
-DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1
-DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1 -DSIZEOF_LONG_LONG=8 -I. -I.
-DYYDEBUG=1 -DYYERROR_VERBOSE=1 -DIDL_LIBRARY -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -march=pentium3 -O3 -pipe -g -g -g
-g -g -c lexer.c  -fPIC -DPIC -o .libs/lexer.lo
<stdout>:2470: warning: no previous prototype for `__IDL_get_lineno'
<stdout>:2479: warning: no previous prototype for `__IDL_get_in'
<stdout>:2487: warning: no previous prototype for `__IDL_get_out'
<stdout>:2495: warning: no previous prototype for `__IDL_get_leng'
<stdout>:2504: warning: no previous prototype for `__IDL_get_text'
<stdout>:2513: warning: no previous prototype for `__IDL_set_lineno'
<stdout>:2525: warning: no previous prototype for `__IDL_set_in'
<stdout>:2530: warning: no previous prototype for `__IDL_set_out'
<stdout>:2535: warning: no previous prototype for `__IDL_get_debug'
<stdout>:2540: warning: no previous prototype for `__IDL_set_debug'
<stdout>:2546: warning: no previous prototype for `__IDL_lex_destroy'
./lexer.l: In function `__IDL_lex_cleanup':
./lexer.l:394: error: `YY_NEW_FILE' undeclared (first use in this function)
./lexer.l:394: error: (Each undeclared identifier is reported only once
./lexer.l:394: error: for each function it appears in.)
<stdout>: At top level:
<stdout>:1976: warning: `__IDL_unput' defined but not used
make: *** [lexer.lo] Error 1
 
!!! ERROR: dev-libs/libIDL-0.8.1 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)

Expected Results:  
Smoothly emerge.

root@idk-002c307 seb # emerge info
  Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r2)
=================================================================
System uname: 2.5.69-mm6 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/home/pub/src"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg mikmod mmx mpeg ncurses
nls pdflib png quicktime truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm
berkdb slang readline tetex aalib nas bonobo svga tcltk java guile mysql X sdl
gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif
opengl mozilla ldap cdr scanner acpi acpi4linux apache2 dvd emacs evms2 evo gtk2
hbci imap lcms maildir mbox moznocompose moznoirc moznomail pic plotutils samba
socks5 sse tiff vim-with-x xfs -libg++ -spell -arts"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Sébastien Champigny 2003-05-20 18:06:55 UTC
http://forums.gentoo.org/viewtopic.php?p=331368#331368

You can find here just the result of emerge gnome-terminal.
Why oh why, this still doesn't compile with sys-devel/flex-2.5.4a-r5
and dev-libs/libIDL-0.8.1 ?

Regards,
S
Comment 2 Sébastien Champigny 2003-05-20 18:06:55 UTC
http://forums.gentoo.org/viewtopic.php?p=331368#331368

You can find here just the result of emerge gnome-terminal.
Why oh why, this still doesn't compile with sys-devel/flex-2.5.4a-r5
and dev-libs/libIDL-0.8.1 ?

Regards,
Sébastien.
Comment 3 foser (RETIRED) gentoo-dev 2003-06-10 06:47:40 UTC
try libIDL-0.8.2 instead, if i remember correctly that fixed the flex issue. And please attach relevant output (gnome-terminal), don't provide links.

Hm and btw, this is just the reason why flex is masked, so you were asking for trouble
Comment 4 foser (RETIRED) gentoo-dev 2003-06-25 08:41:37 UTC
waiting for confirmation
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-09-28 14:19:11 UTC
reclosing