Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 122365
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Text-Markup Team <text-markup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chris Torske <ct85711@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2006-02-10 06:02 0000
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 From Chris Torske 2006-02-10 06:09:44 0000 -------
tetex-2.0.2-r5 also broken from same thing.  Both of these packages has been
marked stable on most systems.

------- Comment #2 From Martin Ehmsen (RETIRED) 2006-02-10 07:55:38 0000 -------
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 From Chris Torske 2006-02-10 09:01:49 0000 -------
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 From Martin Ehmsen (RETIRED) 2006-02-12 09:15:53 0000 -------
*** Bug 122568 has been marked as a duplicate of this bug. ***

------- Comment #5 From Caleb Tennis 2006-02-12 09:20:10 0000 -------
flex 2.5.31 causes the breakage.  It works fine with flex 2.5.4a

------- Comment #6 From Martin Ehmsen (RETIRED) 2006-02-13 04:16:31 0000 -------
Fixed in CVS by using the supplied lexer (lex.yy.c-dist).
Thanks Chris for reporting and the pointer to the similar debian bug.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug