All the wine ebuilds in portage, 20030709, 20030813 and 20030911 builds fail with the following error: make[2]: Leaving directory `/var/tmp/portage/wine-20030709/work/wine-20030709/ dlls/winmm/wavemap' cd `dirname winmm/winealsa/__depend__` && make depend make[2]: Entering directory `/var/tmp/portage/wine-20030709/work/wine-20030709/ dlls/winmm/winealsa' ../../../tools/makedep -I. -I. -I../../../include -I../../../include -C. audio.c audio_05.c alsa.c make[2]: Leaving directory `/var/tmp/portage/wine-20030709/work/wine-20030709/ dlls/winmm/winealsa' cd `dirname winmm/winearts/__depend__` && make depend make[2]: Entering directory `/var/tmp/portage/wine-20030709/work/wine-20030709/ dlls/winmm/winearts' ../../../tools/makedep -I. -I. -I../../../include -I../../../include -I/usr/kde/cvs/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -C. arts.c audio.c Unknown option '-pthread' Usage: ../../../tools/makedep [options] [files] Options: -Idir Search for include files in directory 'dir' -Cdir Search for source files in directory 'dir' -fxxx Store output in file 'xxx' (default: Makefile) -sxxx Use 'xxx' as separator (default: "### Dependencies") make[2]: *** [depend] Error 1 make[2]: Leaving directory `/var/tmp/portage/wine-20030709/work/wine-20030709/ dlls/winmm/winearts' make[1]: *** [winmm/winearts/__depend__] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-20030709/work/wine-20030709/ dlls' make: *** [dlls/__depend__] Error 2 !!! ERROR: app-emulation/wine-20030709 failed. !!! Function src_compile, Line 65, Exitcode 2 !!! (no error message) I think it is some error in the configure file, but I don't understand enough of the syntax of it to either locate it, or fix it. The gist of it is that -pthread isn't a valid option here. emerge info: Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r4, 2.6.0-test5-mm3) ================================================================= System uname: 2.6.0-test5-mm3 i686 AMD Athlon(tm) XP 2400+ distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/ config /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config /usr/share/texmf/tex/generic/ config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox userpriv usersandbox ccache" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp:// ftp.tu-clausthal.de/pub/linux/gentoo/ " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 apm avi crypt encode foomaticdb jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime xml2 xmms zlib directfb gdbm slang readline tetex svga tcltk guile X sdl gpm tcpd libwww ssl perl python imlib oggvorbis gtk qt kde motif mozilla cdr pic gtk2 sse tiff oss -cups -gnome -spell alsa -berkdb -pam arts gif truetype -smooth java xv opengl artswrappersuid samba -esd -aalib nptl 3dnow"
known problem with kde-cvs users. Util its fixed you can edit /var/tmp/portage/wine-20030709/work/wine-20030709/dlls/winmm/ winearts/Makefile and remove the -pthread flag. *** This bug has been marked as a duplicate of 24385 ***