Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 124084
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Wine Maintainers <wine@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Fox <gentoo@roestock.demon.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
wine-0.9.8-r1-wrclex.patch ugly patch to fix the error in lex.yy.c patch Ewgenij Starostin 2006-02-25 17:02 0000 2.78 KB Details | Diff
wine-0.9.8-r1.ebuild ebuild for the ugly patch application/octet-stream Ewgenij Starostin 2006-02-25 17:05 0000 3.50 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 124084 depends on: Show dependency tree
Bug 124084 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-25 09:37 0000
emerge -puNDv world:

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

Calculating world dependencies ...done!
[ebuild     U ] app-emulation/wine-0.9.8-r1 [0.9.7] USE="X alsa cups gif glut
jpeg lcms ncurses opengl truetype xml2 -arts -debug -esd -jack -ldap -nas -oss
-scanner" 0 kB

Total size of downloads: 0 kB

This is the tail end of the build process, I've tried rebuilding flex with no
change:
....
bison -d -t ./parser.y -o parser.tab.c
./parser.y: conflicts: 5 shift/reduce
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/include/wine\""  -Wall -pipe -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=athlon-xp -pipe -O2  -o
parser.tab.o parser.tab.c
flex ./parser.l
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/include/wine\""  -Wall -pipe -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=athlon-xp -pipe -O2  -o
lex.yy.o lex.yy.c
lex.yy.c:2610: error: parse error before numeric constant
lex.yy.c: In function `yy_scan_string':
lex.yy.c:2611: error: number of arguments doesn't match prototype
lex.yy.c:305: error: prototype declaration
lex.yy.c:2613: warning: passing arg 1 of `strlen' makes pointer from integer
without a cast
lex.yy.c:2613: warning: passing arg 1 of `yy_scan_bytes' makes pointer from
integer without a cast
make[2]: *** [lex.yy.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/wine-0.9.8-r1/work/wine-0.9.8/tools/wrc'
make[1]: *** [wrc] Error 2
make[1]: Leaving directory
`/var/tmp/portage/wine-0.9.8-r1/work/wine-0.9.8/tools'
make: *** [tools] Error 2

!!! ERROR: app-emulation/wine-0.9.8-r1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

emerge --info:
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.6-r3,
2.6.15-gentoo-r3 i686)
=================================================================
System uname: 2.6.15-gentoo-r3 i686 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mmmx -msse -mfpmath=sse -m3dnow -O3 -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /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=athlon-xp -mmmx -msse -mfpmath=sse -m3dnow -O3 -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://peter/pub ftp://cool/ http://distfiles.gentoo.org"
LANG="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/gentoo/portage"
SYNC="rsync://peter/gentoo-portage"
USE="x86 3dnow X aalib acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups doc
dvdr eds emboss encode firefox flac foomaticdb fortran gdbm gif gimpprint gnome
gphoto2 gpm gstreamer gtk gtk2 gtkhtml imlib jpeg lcms libg++ libwww lynxkeymap
mad mikmod mmx mng motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl pam
pdflib perl png python qemu-fast qt quicktime readline sdl softmmu spell sse
ssl svg tcpd tiff truetype truetype-fonts type1-fonts usb vorbis win32codecs
wmf xine xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU
video_cards_via"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, LINGUAS

------------------------------------------
This compiled fine on another machine, which has different use flags and the
stable portage, emerge -pv wine:

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

Calculating dependencies ...done!
[ebuild   R   ] app-emulation/wine-0.9.8-r1  +X +alsa -arts +cups -debug +esd
+gif +glut +jack +jpeg +lcms -ldap -nas +ncurses +opengl +oss +scanner
+truetype +xml2 0 kB

Total size of downloads: 0 kB

------- Comment #1 From John5788 2006-02-25 11:06:12 0000 -------
Same problems here:

i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/include/wine\""  -Wall -pipe -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=pentium4 -O2 -pipe  -o
translation.o translation.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/include/wine\""  -Wall -pipe -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=pentium4 -O2 -pipe  -o
utils.o utils.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/include/wine\""  -Wall -pipe -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=pentium4 -O2 -pipe  -o
wrc.o wrc.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/include/wine\""  -Wall -pipe -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=pentium4 -O2 -pipe  -o
writeres.o writeres.c
bison -d -t ./parser.y -o parser.tab.c
./parser.y: conflicts: 5 shift/reduce
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/include/wine\""  -Wall -pipe -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=pentium4 -O2 -pipe  -o
parser.tab.o parser.tab.c
flex ./parser.l
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR="\"/usr/include/wine\""  -Wall -pipe -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=pentium4 -O2 -pipe  -o
lex.yy.o lex.yy.c
lex.yy.c:2610: error: parse error before numeric constant
lex.yy.c: In function `yy_scan_string':
lex.yy.c:2611: error: number of arguments doesn't match prototype
lex.yy.c:305: error: prototype declaration
lex.yy.c:2613: warning: passing arg 1 of `strlen' makes pointer from integer
without a cast
lex.yy.c:2613: warning: passing arg 1 of `yy_scan_bytes' makes pointer from
integer without a cast
make[2]: *** [lex.yy.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/wine-0.9.8-r1/work/wine-0.9.8/tools/wrc'
make[1]: *** [wrc] Error 2
make[1]: Leaving directory
`/var/tmp/portage/wine-0.9.8-r1/work/wine-0.9.8/tools'
make: *** [tools] Error 2

!!! ERROR: app-emulation/wine-0.9.8-r1 failed.

------- Comment #2 From Thomas Scheiblauer 2006-02-25 13:06:16 0000 -------
the same here.

Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r3,
2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     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="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /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/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_AT.utf8"
LC_ALL="de_AT.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-gentopia"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa apache2 apm arts avi bash-completion
berkdb bitmap-fonts bluetooth bonobo bzip2 cairo cdr cpdflib crypt cups curl
curlwrappers dba dbus dga dio divx4linux dts dv dvd dvdr dvdread eds emboss
encode exif ffmpeg flac flash foomaticdb fortran ftp gd gdbm gif gmp gnome gpm
gstreamer gtk gtk2 gtkhtml hal ieee1394 imagemagick imap imlib ipv6 java
javascript jpeg ldap libcaca libg++ libwww mad matroska mikmod mime ming mmx
mono motif mozilla mp3 mpeg mpi mysql nas ncurses nls nptl nptlonly nsplugin
odbc ogg oggvorbis opengl oss pam pcmcia pda pdflib perl php plotutils png pnp
ppds python qt quicktime readline samba scanner sdl session sharedmem smartcard
sockets spell sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts
type1-fonts unicode usb userlocales utf8 v4l vcd vhosts vorbis wifi win32codecs
wxwindows xml xml2 xmms xv xvid xvmc zlib elibc_glibc kernel_linux linguas_de
userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS

------- Comment #3 From Chris Smith 2006-02-25 13:52:32 0000 -------
ditto

------- Comment #4 From Ewgenij Starostin 2006-02-25 17:02:29 0000 -------
Created an attachment (id=80726) [details]
ugly patch to fix the error in lex.yy.c

This patch should prevent the error in lex.yy.c.

------- Comment #5 From Ewgenij Starostin 2006-02-25 17:05:10 0000 -------
Created an attachment (id=80727) [details]
ebuild for the ugly patch

Modified ebuild to include the ugly patch. (Don

------- Comment #6 From Ewgenij Starostin 2006-02-25 17:05:10 0000 -------
Created an attachment (id=80727) [details]
ebuild for the ugly patch

Modified ebuild to include the ugly patch. (Don’t forget to run ebuild …
digest.)

------- Comment #7 From SpanKY 2006-02-25 21:11:38 0000 -------
works with <=flex-2.5.31

------- Comment #8 From Jakub Moc (RETIRED) 2006-02-26 09:06:46 0000 -------
*** Bug 124171 has been marked as a duplicate of this bug. ***

------- Comment #9 From SpanKY 2006-02-26 16:47:00 0000 -------
flex-2.5.33-r1 fixes this

------- Comment #10 From Mr. Anderson 2006-03-13 10:26:54 0000 -------
(In reply to comment #8)
> flex-2.5.33-r1 fixes this

Not for me. Still got exactly the same problem.

------- Comment #11 From SpanKY 2006-03-13 10:36:10 0000 -------
bug wasnt in flex, it was in wine

so update your tree and 0.9.8 / 0.9.9 should work

------- Comment #12 From SpanKY 2006-03-14 06:07:21 0000 -------
*** Bug 126093 has been marked as a duplicate of this bug. ***

------- Comment #13 From Jakub Moc (RETIRED) 2006-07-17 15:31:28 0000 -------
*** Bug 140846 has been marked as a duplicate of this bug. ***

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