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

Bug 78333

Summary: Wine 20050111 Fails to compile
Product: Gentoo Linux Reporter: Adam Cooper <adam>
Component: Current packagesAssignee: Wine Maintainers <wine>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adam Cooper 2005-01-17 03:07:05 UTC
When emerging wine 20050111 the build fails. Last few lines of build indicate a compilation error with the file 'olepicture.c', part of the oleaut32 dll.

Error:
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o olepicture.o olepicture.c
olepicture.c:52:22: gif_lib.h: No such file or directory
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
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]: 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 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.


Reproducible: Always
Steps to Reproduce:
1. Unmask this version
2. emerge wine
3. Fails

Actual Results:  
emerge fails with above error

Expected Results:  
wine is success fully emerged
Comment 1 SpanKY gentoo-dev 2005-01-17 07:55:15 UTC

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