Summary: | wine fails to emerge with flex-2.5.33 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Fox <gentoo> |
Component: | [OLD] Unspecified | Assignee: | Wine Maintainers <wine> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arnaud.adegm, chris, estar, kristian, mephinet, tom |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ugly patch to fix the error in lex.yy.c
ebuild for the ugly patch |
Description
Peter Fox
2006-02-25 09:37:56 UTC
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. 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 ditto Created attachment 80726 [details, diff]
ugly patch to fix the error in lex.yy.c
This patch should prevent the error in lex.yy.c.
Created attachment 80727 [details]
ebuild for the ugly patch
Modified ebuild to include the ugly patch. (Don
Created attachment 80727 [details]
ebuild for the ugly patch
Modified ebuild to include the ugly patch. (Don?t forget to run ebuild ? digest.)
works with <=flex-2.5.31 *** Bug 124171 has been marked as a duplicate of this bug. *** flex-2.5.33-r1 fixes this (In reply to comment #8) > flex-2.5.33-r1 fixes this Not for me. Still got exactly the same problem. bug wasnt in flex, it was in wine so update your tree and 0.9.8 / 0.9.9 should work *** Bug 126093 has been marked as a duplicate of this bug. *** *** Bug 140846 has been marked as a duplicate of this bug. *** |