Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133121 - compile error on wine-0.9.3
Summary: compile error on wine-0.9.3
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-12 06:53 UTC by Bruno Lustosa
Modified: 2006-05-12 07:06 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 Bruno Lustosa 2006-05-12 06:53:50 UTC
Hello.
When trying to emerge wine-0.9.3 (I've masked newer versions because I use winetools, and it only works with wine-0.9.[123]), I get the following compile error:

i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -DINCLUDEDIR="\"/usr/include/wine\""  -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith  -O2 -march=athlon-xp -pipe  -o lex.yy.o lex.yy.c
lex.yy.c:9174: error: syntax error before numeric constant
lex.yy.c: In function `yy_scan_string':
lex.yy.c:9175: error: number of arguments doesn't match prototype
lex.yy.c:367: error: prototype declaration
lex.yy.c:9177: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
lex.yy.c:9177: warning: passing arg 1 of `yy_scan_bytes' makes pointer from integer without a cast
./parser.l: At top level:
lex.yy.c:8687: warning: 'yyunput' defined but not used
lex.yy.c:9266: warning: 'yy_top_state' defined but not used
make[2]: *** [lex.yy.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/wine-0.9.3/work/wine-0.9.3/tools/wrc'
make[1]: *** [wrc] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-0.9.3/work/wine-0.9.3/tools'
make: *** [tools] Error 2

!!! ERROR: app-emulation/wine-0.9.3 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 930:   Called src_compile
  wine-0.9.3.ebuild, line 135:   Called die

!!! depend


Portage 2.1_pre10-r5 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 AMD Sempron(tm)  2400+
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="pt_BR"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm avi bash-completion berkdb bitmap-fonts bluetooth cli crypt cups dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib isdnlog jpeg libg++ libwww mad maildir mikmod motif mp3 mpeg ncurses nls nptl nsplugin offensive ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pt_BR userland_GNU video_cards_nvidia video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-12 07:06:59 UTC
(In reply to comment #0)
> When trying to emerge wine-0.9.3 (I've masked newer versions because I use
> winetools, and it only works with wine-0.9.[123]), I get the following compile
> error:

Well, too bad it's fixed in later versions (>=0.9.8). Not our fault that winetools is broken, sorry.