Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49007 - module-init-tools fails to compile due 'yytext_ptr' undefined
Summary: module-init-tools fails to compile due 'yytext_ptr' undefined
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-25 23:06 UTC by Stephen Torri
Modified: 2005-01-16 14:38 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 Stephen Torri 2004-04-25 23:06:56 UTC
The module-init-tools package fails to install. Apparently there is a missing symbol and there is also a few parser errors that need to be cleaned up.

Reproducible: Always
Steps to Reproduce:
1. emerge -UuvD module-init-tools
2. Wait and the compile fails.

Actual Results:  
make[1]: Entering directory
`/var/tmp/portage/module-init-tools-3.0/work/modutils-2.4.26/genksyms'
gcc -march=pentium3 -O3 -pipe -o makecrc32 makecrc32.c
expect 6 shift/reduce conflicts and 5 reduce/reduce conflicts.
bison -o parse.c -dtv parse.y
parse.y: conflicts: 6 shift/reduce, 5 reduce/reduce
./makecrc32 > crc32.tab.tmp
mv crc32.tab.tmp crc32.tab
gcc -march=pentium3 -O3 -pipe -I. -I. -I./../include -D_GNU_SOURCE
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0   -c -o
genksyms.o genksyms.c
gcc -march=pentium3 -O3 -pipe -Wno-uninitialized -I. -I. -I./../include
-D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0   -c -o
parse.o parse.c
In file included from genksyms.c:32:
../include/util.h:42: warning: built-in function `log' declared as non-function
flex -olex.c -d lex.l parse.h
gcc -march=pentium3 -O3 -pipe -Wno-uninitialized -I. -I. -I./../include
-D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0   -c -o
lex.o lex.c
In file included from lex.l:33:
../include/util.h:42: warning: built-in function `log' declared as non-function
lex.l: In function `yylex':
lex.l:429: error: `yytext_ptr' undeclared (first use in this function)
lex.l:429: error: (Each undeclared identifier is reported only once
lex.l:429: error: for each function it appears in.)
make[1]: *** [lex.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/module-init-tools-3.0/work/modutils-2.4.26/genksyms'
make: *** [all] Error 2

!!! ERROR: sys-apps/module-init-tools-3.0 failed.
!!! Function src_compile, Line 75, Exitcode 2
!!! emake modutils failed


Expected Results:  
package installs.

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 Pentium III (Katmai)
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo cdr crypt cups curl doc encode esd flash
foomaticdb gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap
libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis
opengl oss pam pdflib perl php plotutils png python qt quicktime readline sdl
slang snmp spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-16 14:38:56 UTC
works for me (probably fixed already)