Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 77892

Summary: wine-20050111 does not compile
Product: Gentoo Linux Reporter: Ivan Yosifov <iyosifov>
Component: Current packagesAssignee: Wine Maintainers <wine>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ivan Yosifov 2005-01-13 13:35:54 UTC
This is a gcc 3.4.3 system , should it matter.

emerge wine
<!-- emerging wine-20050111 , tons of output ommited -->

make[2]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls/rasapi32'
make[2]: Entering directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls/setupapi'
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_  -fosetupapi.res setupapi.rc
../../tools/winebuild/winebuild -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -o setupx.spec.c --main-module setupapi.dll --dll setupx.spec
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o devinst16.o devinst16.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o infparse.o infparse.c
olepicture.c: In function `OLEPictureImpl_get_hPal':
olepicture.c:477: warning: unused variable `This'
olepicture.c: In function `OLEPictureImpl_EnumConnectionPoints':
olepicture.c:752: warning: unused variable `This'
olepicture.c: In function `OLEPictureImpl_GetClassID':
olepicture.c:823: warning: unused variable `This'
olepicture.c: In function `OLEPictureImpl_IsDirty':
olepicture.c:834: warning: unused variable `This'
olepicture.c: At top level:
olepicture.c:899: error: `DGifOpen' undeclared here (not in a function)
olepicture.c:899: warning: type defaults to `int' in declaration of `pDGifOpen'
olepicture.c:900: error: `DGifSlurp' undeclared here (not in a function)
olepicture.c:900: warning: type defaults to `int' in declaration of `pDGifSlurp'
olepicture.c:901: error: `DGifCloseFile' undeclared here (not in a function)
olepicture.c:901: warning: type defaults to `int' in declaration of `pDGifCloseFile'
olepicture.c:930: error: parse error before '*' token
olepicture.c: In function `_gif_inputfunc':
olepicture.c:931: error: `gif' undeclared (first use in this function)
olepicture.c:931: error: (Each undeclared identifier is reported only once
olepicture.c:931: error: for each function it appears in.)
olepicture.c:933: error: `len' undeclared (first use in this function)
olepicture.c:937: error: `data' undeclared (first use in this function)
olepicture.c: In function `OLEPictureImpl_Load':
olepicture.c:1019: error: `GifFileType' undeclared (first use in this function)
olepicture.c:1019: error: `gif' undeclared (first use in this function)
olepicture.c:1024: error: `GifImageDesc' undeclared (first use in this function)
olepicture.c:1024: error: `gid' undeclared (first use in this function)
olepicture.c:1025: error: `SavedImage' undeclared (first use in this function)
olepicture.c:1025: error: `si' undeclared (first use in this function)
olepicture.c:1026: error: `ColorMapObject' undeclared (first use in this function)
olepicture.c:1026: error: `cm' undeclared (first use in this function)
olepicture.c:1028: error: `ExtensionBlock' undeclared (first use in this function)
olepicture.c:1028: error: `eb' undeclared (first use in this function)
olepicture.c:1041: error: called object is not a function
olepicture.c:1042: error: called object is not a function
olepicture.c:1043: error: `GIF_ERROR' undeclared (first use in this function)
olepicture.c:1168: error: called object is not a function
olepicture.c: In function `OLEPictureImpl_GetSizeMax':
olepicture.c:1707: warning: unused variable `This'
olepicture.c: In function `SPCF_QueryInterface':
olepicture.c:2000: warning: unused variable `This'
olepicture.c: In function `SPCF_LockServer':
olepicture.c:2031: warning: unused variable `This'
make[2]: *** [olepicture.o] Error 1
make[2]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o setupx_main.o setupx_main.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o virtcopy.o virtcopy.c
make[2]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls/oleaut32'
make[1]: *** [oleaut32] Error 2
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o devinst.o devinst.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o dirid.o dirid.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o diskspace.o diskspace.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o install.o install.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o parser.o parser.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o queue.o queue.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o setupcab.o setupcab.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o stubs.o stubs.c
../../tools/winebuild/winebuild -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -o setupapi.dll.dbg.c --debug -C. devinst.c dirid.c diskspace.c install.c parser.c queue.c setupcab.c stubs.c devinst16.c infparse.c setupx_main.c virtcopy.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o setupx.spec.o setupx.spec.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_SETUPAPI_ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o setupapi.dll.dbg.o setupapi.dll.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./setupapi.spec setupx.spec.o devinst16.o infparse.o setupx_main.o virtcopy.o  devinst.o dirid.o diskspace.o install.o parser.o queue.o setupcab.o stubs.o  setupapi.dll.dbg.o setupapi.res  -o setupapi.dll.so -L../../dlls -Wb,-dshell32 -luser32 -lversion -ladvapi32 -lrpcrt4 -lkernel32 -lntdll -L../../libs/wine -lwine -L../../libs/unicode -lwine_unicode -L../../libs/port -lwine_port
make[2]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls/setupapi'
make[1]: Leaving directory `/var/tmp/portage/wine-20050111/work/wine-20050111/dlls'
make: *** [dlls] Error 2

!!! ERROR: app-emulation/wine-20050111 failed.
!!! Function src_compile, Line 84, Exitcode 2
!!! all
!!! If you need support, post the topmost build error, NOT this status message.

localhost ~ #


Reproducible: Always
Steps to Reproduce:
1.emerge =wine-20050111


Actual Results:  
Build error

Expected Results:  
Clean compile

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13
Automake:
sys-devel/automake-1.8.5-r2,sys-devel/automake-1.5,sys-devel/automake-1.4_p6,sys-devel/automake-1.6.3,sys-devel/automake-1.7.9,sys-devel/automake-1.9.4
Binutils: sys-devel/binutils-2.15.92.0.2-r2
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays
-fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays
-fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups dba doc
encode esd f77 fam flac font-server foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 guile hal howl imagemagick imlib ipv6 jack java jpeg junit
kde ldap libg++ libwww mad mikmod mmap motif mozilla mpeg mysql ncurses nls nptl
oggvorbis opengl pam pdflib perl plotutils png postgres python qt quicktime
readline sdl session slang spell ssl svga tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts unicode usb vhosts x86 xml xml2 xmms xv zlib linguas_en"
Comment 1 Mindphaser 2005-01-13 14:50:10 UTC
I got EXACTLY the same error.
Here is my emerge info:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org 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.europe.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 apm arts avi bitmap-fonts bmp cdr crypt cups dvd dvdr encode exif f77 fam font-server foomaticdb fortran gdbm gif glx gphoto2 gtk2 imagemagick imlib java jpeg kde lcms libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses network nls nptl oggvorbis opengl oss pam perl php_mod png python qt quicktime readline real samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts x86 xml2 xv zlib linguas_de"

I hope it could be helpful
Comment 2 SpanKY gentoo-dev 2005-01-13 15:16:42 UTC

*** This bug has been marked as a duplicate of 77809 ***