Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122365 - Tetex-2.0.2-r8 fails to compile
Summary: Tetex-2.0.2-r8 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 122568 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-10 06:02 UTC by Chris Torske
Modified: 2006-02-13 04:16 UTC (History)
1 user (show)

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 Chris Torske 2006-02-10 06:02:03 UTC
Fails to compile.  I believe this problem is from flex, according to what I am reading from a old bug on debian.  Most likly the patch for flex broke this, though I am not fully certain to be sure.

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -O2 -pipe -march=k8  -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

!!! make teTeX failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

luke / # emerge -pv flex

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

Calculating dependencies ...done!
[ebuild     U ] sys-devel/flex-2.5.31-r2 [2.5.31-r1] USE="nls -build -static" 0 kB

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 mng 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 1 Chris Torske 2006-02-10 06:09:44 UTC
tetex-2.0.2-r5 also broken from same thing.  Both of these packages has been marked stable on most systems.
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-02-10 07:55:38 UTC
I don't have time to look at it this weekend.
It seems that the following bug from debian is about the same issue:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=191942

Are you sure you don't try to mix a stable and unstable gentoo system (since you helped with the tetex-3 problems)?
If you are could you please try to locate which version of flex that breaks tetex.
Comment 3 Chris Torske 2006-02-10 09:01:49 UTC
I do admit that this can be caused by an issue of mixing unstable with stable; which when ever my system finishes updating my system.  I will go through the process of finding out which version of flex breaks tetex.  If anything it may help prevent this problem for someone else that uses flex more heavily then I do (which would be a decent reason for using unstable flex on stable system).
Comment 4 Martin Ehmsen (RETIRED) gentoo-dev 2006-02-12 09:15:53 UTC
*** Bug 122568 has been marked as a duplicate of this bug. ***
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2006-02-12 09:20:10 UTC
flex 2.5.31 causes the breakage.  It works fine with flex 2.5.4a
Comment 6 Martin Ehmsen (RETIRED) gentoo-dev 2006-02-13 04:16:31 UTC
Fixed in CVS by using the supplied lexer (lex.yy.c-dist).
Thanks Chris for reporting and the pointer to the similar debian bug.