when I try to emerge winelib, I get compilation error Reproducible: Always Steps to Reproduce: 1. emerge mono 2. emerge wine 3. change winelib-0.3-r1.ebuild to ebuild from this http://bugs.gentoo.org/show_bug.cgi?id=76459 bugreport, new ebuild is http://bugs.gentoo.org/attachment.cgi?id=54306&action=view 4. emerge winelib Actual Results: winelib ./configure is success, but make command fail with: gcc -c -I. -Iinclude -I/usr/include/wine/windows/.. -I/usr/include/wine/windows -O2 -march=pentium4 -fomit-frame-pointer -fPIC -DDLLPATH=\"/usr/lib/wine\" -DLIBPATH=\"/usr/lib\" -D_REENTRANT -o gettid.o gettid.c pthread.c: In function `wine_pthread_exit_thread': pthread.c:167: warning: `noreturn' function does return pthread.c: In function `wine_pthread_abort_thread': pthread.c:177: warning: `noreturn' function does return gcc -c -I. -Iinclude -I/usr/include/wine/windows/.. -I/usr/include/wine/windows -O2 -march=pentium4 -fomit-frame-pointer -fPIC -DDLLPATH=\"/usr/lib/wine\" -DLIBPATH=\"/usr/lib\" -D_REENTRANT -o winelib.o winelib.c LD_LIBRARY_PATH=":$LD_LIBRARY_PATH" /usr/bin/winebuild -fPIC -o winelib.exe.spec.c --exe winelib.exe -mgui pthread.o interlocked.o gettid.o winelib.o -L/usr/lib/wine -L/usr/lib/wine -ladvapi32 -lcomdlg32 -lgdi32 -lkernel32 -lodbc32 -lole32 -loleaut32 -lshell32 -luser32 -lwinspool winebuild: executable must be named via the -F option make[1]: *** [winelib.exe.spec.c] Error 1 make[1]: Leaving directory `/var/tmp/portage/winelib-0.3-r1/work/winelib-0.3/winelib' make: *** [winelib] Error 2 Gentoo Base System version 1.4.16 Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 10:03:47)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.14.90.0.8-r1 sys-devel/libtool: 1.5.2-r5 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86 ~amd64 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="ru_RU.KOI8-R" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode fam font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
If you need to use System.Windows.Forms, I highly suggest you use the mono-1.1.x series, in combination with libgdiplus. I'll try to track this down, but it's low priority as 1.1.x and the managed implementation is the new, actively developed method, and winelib is a dead package at this point.
Ok, i've just put winelib into package.mask. It's broken against recent wine versions, and is completely abandoned by upstream, who are focusing on the managed System.Windows.Forms implementation in mono-1.1.x. Marking this bug WONTFIX, but please feel free to re-open if you feel this is innapropriate. Thanks.