Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165147 - app-emulation/e-uae-0.8.29_pre20061116 fails to compile with old versions of games-emulation/caps, even with USE=-capslib
Summary: app-emulation/e-uae-0.8.29_pre20061116 fails to compile with old versions of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-03 16:55 UTC by Martin Bays
Modified: 2007-02-11 19:50 UTC (History)
1 user (show)

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 Martin Bays 2007-02-03 16:55:34 UTC
Compilation of games-emulation/e-uae-0.8.29_pre20061116 failed with games-emulation/caps-20040303, but works with games-emulation/caps-20060612. This is with -capslib in useflags, so the RDEPEND
 "capslib? ( >=games-emulation/caps-20060612 )" line was ignored.

Reproducible: Always

Steps to Reproduce:
1. emerge =games-emulation/e-uae-0.8.29_pre20061116

Actual Results:  
[...]
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-alsa --without-sdl-sound --without-curses --without-sdl-gfx --enable-dga --enable-vidmode --enable-ui --enable-threads --with-zlib --enable-aga --enable-autoconfig --enable-scsi-device --enable-cdtv --enable-cd32 --enable-bsdsock --with-libscg-includedir=/usr/include/scsilib --build=i686-pc-linux-gnu
[...]
checking caps/capsimage.h usability... yes
checking caps/capsimage.h presence... yes
checking for caps/capsimage.h... yes
[...]
make[3]: Leaving directory `/var/tmp/portage/app-emulation/e-uae-0.8.29_pre20061116/work/e-uae-0.8.29-CVS/src/dms'
Making all in caps
make[3]: Entering directory `/var/tmp/portage/app-emulation/e-uae-0.8.29_pre20061116/work/e-uae-0.8.29-CVS/src/caps'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -I../../src -I../../src -I../..  -Iyes/include  -DFPUEMU -DCPUEMU_0 -DCPUEMU_5 -DCPUEMU_6 -DUNALIGNED_PROFITABLE -DJIT -DNATMEM_OFFSET=0x50000000 -DAGA -DAUTOCONFIG -DFILESYS -DSCSIEMU -DSCSIEMU_LINUX_IOCTL -DCDTV -DCD32 -DBSDSOCKET -DSUPPORT_THREADS -DCAPS -DFDI2RAW -DDEBUGGER -DSAVESTATE -DENFORCER -DACTION_REPLAY  -I/include -DSHM_SUPPORT_LINKS=1  -O2 -march=pentium3 -pipe -Wa,--execstack  -fomit-frame-pointer   -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -pthread  -O2 -march=pentium3 -pipe -DNO_MAIN_IN_MAIN_C  -DUSE_DGA_EXTENSION -DUSE_VIDMODE_EXTENSION -DUSE_XKB -DXKB_PATH=\"/usr/share/X11/xkb/rules/\"   -MT caps.o -MD -MP -MF ".deps/caps.Tpo" \
          -c -o caps.o `test -f 'caps.c' || echo './'`caps.c; \
        then mv -f ".deps/caps.Tpo" ".deps/caps.Po"; \
        else rm -f ".deps/caps.Tpo"; exit 1; \
        fi
caps.c:22: error: 'DI_LOCK_UPDATEFD' undeclared here (not in a function)
caps.c:22: error: 'DI_LOCK_TYPE' undeclared here (not in a function)
caps.c:50: warning: 'struct CapsVersionInfo' declared inside parameter list
caps.c:50: warning: its scope is only this definition or declaration, which is probably not what you want
caps.c: In function 'caps_init':
caps.c:424: error: storage size of 'cvi' isn't known
caps.c: In function 'caps_loadrevolution':
caps.c:498: error: storage size of 'ci' isn't known
caps.c: In function 'caps_loadtrack':
caps.c:517: error: storage size of 'ci' isn't known
caps.c:523: error: 'CTIT_FLAG_FLAKEY' undeclared (first use in this function)
caps.c:523: error: (Each undeclared identifier is reported only once
caps.c:523: error: for each function it appears in.)
caps.c:524: error: 'CTIT_MASK_TYPE' undeclared (first use in this function)
make[3]: *** [caps.o] Error 1


Presumably some sort of build problem causing caps support to attempt to compile even without --with-caps being given to configure.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2007-02-11 19:50:07 UTC
Thank you for report, Martin. Fixed in app-emulation/e-uae-0.8.29_pre20061116-r1.