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

Bug 28312

Summary: wine-20030813 build fails: Unknown option '-pthread'
Product: Gentoo Linux Reporter: Alex Walker <alex>
Component: Current packagesAssignee: Wine Maintainers <wine>
Status: RESOLVED CANTFIX    
Severity: major CC: arent, matt.rogers
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex Walker 2003-09-09 18:45:15 UTC
It fails thus: 
 
cd `dirname winmm/winearts/__depend__` && make depend 
make[2]: Entering directory `/store/portage-tmp/portage/wine-20030813/work/
wine-20030813/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 `/store/portage-tmp/portage/wine-20030813/work/
wine-20030813/dlls/winmm/winearts' 
make[1]: *** [winmm/winearts/__depend__] Error 2 
make[1]: Leaving directory `/store/portage-tmp/portage/wine-20030813/work/
wine-20030813/dlls' 
make: *** [dlls/__depend__] Error 2 
 
!!! ERROR: app-emulation/wine-20030813 failed. 
!!! Function src_compile, Line 65, Exitcode 2 
!!! (no error message) 
 
$ emerge info 
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test5) 
================================================================= 
System uname: 2.6.0-test5 i686 Pentium III (Coppermine) 
ccache version 2.2 [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr 
-falign-functions=4 -fprefetch-loop-arrays" 
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="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr 
-falign-functions=4 -fprefetch-loop-arrays" 
DISTDIR="/store/distfiles" 
FEATURES="autoaddcvs sandbox ccache" 
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://
ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/
pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/store/packages" 
PORTAGE_TMPDIR="/store/portage-tmp/" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 apm libg++ mad mikmod ncurses xml2 zlib gtkhtml gdbm berkdb slang tetex 
nas bonobo svga ggi tcltk guile mysql postgres pam libwww python esd gtk motif ldap 
-3dfx -3dnow aalib acpi -afs alsa apache2 arts avi cdr -cjk crypt cups -debug dga 
-directfb -doc dvd encode evo -fbcon foomaticdb gd gif gnome gpm -gps gtk2 -icc imap 
imlib -ipv6 java -joystick jpeg kde lirc -matrox mmx mozilla mpeg nls oggvorbis opengl 
-oss -pcmcia ppds pdflib perl png -pnp qt quicktime readline samba -scanner sdl slp 
-socks5 spell sse ssl tcpd tiff truetype usb videos -voodoo3 wmf X xosd xmms xv"
Comment 1 Alex Veber (RETIRED) gentoo-dev 2003-09-10 06:52:16 UTC
This is a know problem, the bug is actually in glib and not in wine, you see it if  you use 
kde-cvs as it uses glib for some of its functions(basicly arts), In the mean time you can edit 
the Makefile during compile and remove the "-pthread", wine will compile properly. 
 
 
Comment 2 Alex Veber (RETIRED) gentoo-dev 2003-10-11 00:50:00 UTC
closing
Comment 3 Alex Veber (RETIRED) gentoo-dev 2003-10-15 04:51:50 UTC
*** Bug 31156 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2003-10-15 18:25:53 UTC
*** Bug 31232 has been marked as a duplicate of this bug. ***