Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 122568

Summary: app-text/tetex-2 fails with latest flex
Product: Gentoo Linux Reporter: Caleb Tennis (RETIRED) <caleb>
Component: Current packagesAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Caleb Tennis (RETIRED) gentoo-dev 2006-02-12 08:52:41 UTC
The old standard flex (2.5.4a) causes tetex-2 to emerge fine.

However, with the latest stable flex (2.5.31), tetex-2 emerging causes this:

make[3]: Entering directory `/var/tmp/portage/tetex-2.0.2-r8/work/tetex-src-2.0.2/texk/web2c/omegafonts'
bison -y -d -v ./pl.y
test -f y.tab.c && mv -f y.tab.c y_tab.c
test -f y.tab.h && mv -f y.tab.h y_tab.h
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium4 -O3 -pipe -fomit-frame-pointer  -c omfonts.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium4 -O3 -pipe -fomit-frame-pointer  -c y_tab.c
flex ./pl.l
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -march=pentium4 -O3 -pipe -fomit-frame-pointer  -c lex.yy.c
./pl.l: In function `scan_string':
./pl.l:462: error: `yytext_ptr' undeclared (first use in this function)
./pl.l:462: error: (Each undeclared identifier is reported only once
./pl.l:462: error: for each function it appears in.)
make[3]: *** [lex.yy.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r8/work/tetex-src-2.0.2/texk/web2c/omegafonts'
make[2]: *** [omegafonts/omfonts] Error 2
make[2]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r8/work/tetex-src-2.0.2/texk/web2c'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r8/work/tetex-src-2.0.2/texk'
make: *** [all] Error 1

!!! ERROR: app-text/tetex-2.0.2-r8 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  tetex-2.0.2-r8.ebuild, line 38:   Called tetex_src_compile
Comment 1 Martin Ehmsen (RETIRED) gentoo-dev 2006-02-12 09:15:53 UTC

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