I receive this error when doing: USE="-X" emerge =wine-20050725-r1 or when doing: USE="-*" emerge =wine-20050725-r1 i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -march=pentium4 -pipe -O2 -o winetest.exe.dbg.o winetest.exe.dbg.c ../../tools/bin2res -f -o wine.ico ./winetest.rc cp ../../dlls/advpack/tests/advpack_test.exe.so advpack_test.exe.so && i686-pc-linux-gnu-strip advpack_test.exe.so cp ../../dlls/advapi32/tests/advapi32_test.exe.so advapi32_test.exe.so && i686-pc-linux-gnu-strip advapi32_test.exe.so cp ../../dlls/comctl32/tests/comctl32_test.exe.so comctl32_test.exe.so && i686-pc-linux-gnu-strip comctl32_test.exe.so cp ../../dlls/crypt32/tests/crypt32_test.exe.so crypt32_test.exe.so && i686-pc-linux-gnu-strip crypt32_test.exe.so make[2]: *** No rule to make target `../../dlls/ddraw/tests/ddraw_test.exe.so', needed by `ddraw_test.exe.so'. Stop. make[2]: Leaving directory `/var/tmp/portage/wine-20050725-r1/work/wine-20050725/programs/winetest' make[1]: *** [winetest] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-20050725-r1/work/wine-20050725/programs' make: *** [programs] Error 2 !!! ERROR: app-emulation/wine-20050725-r1 failed. !!! Function src_compile, Line 114, Exitcode 2 !!! all !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12.3 i686) ================================================================= System uname: 2.6.12.3 i686 Intel(R) Genuine CPU 1.50GHz Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks sandbox sfperms strict" sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache2 apm avi berkdb bitmap-fonts crypt eds emboss encode esd fam foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib ipv6 jpeg ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
wine-20050419 is also affected.
this error has been around for a while but no one has been able to narrow down the source of the bug
sent upstream and fixed locally, thanks for narrowing this down