Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31557 - wine-20031016 fails with "Unknown option '-pthread'"
Summary: wine-20031016 fails with "Unknown option '-pthread'"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
: 33901 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-19 18:07 UTC by Ian Leitch (RETIRED)
Modified: 2003-12-01 04:03 UTC (History)
2 users (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 Ian Leitch (RETIRED) gentoo-dev 2003-10-19 18:07:58 UTC
make[2]: Entering directory
`/var/tmp/portage/wine-20031016/work/wine-20031016/dlls/winmm/winearts'
../../../tools/makedep -I. -I. -I../../../include -I../../../include
-I/usr/kde/3.2/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-20031016/work/wine-20031016/dlls/winmm/winearts'
make[1]: *** [winmm/winearts/__depend__] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-20031016/work/wine-20031016/dlls'
make: *** [dlls/__depend__] Error 2
 
!!! ERROR: app-emulation/wine-20031016 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! (no error message)

I thought it may have been related to arts, so I merged arts and tried with and
without the arts use flag; no dice.

[ebuild  N    ] app-emulation/wine-20031016  -nas -arts -cups +opengl -alsa
-tcltk -nptl -debug


Reproducible: Always
Steps to Reproduce:





Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.6.0-test7-mm1)
=================================================================
System uname: 2.6.0-test7-mm1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math
-fprefetch-loop-arrays  -fforce-addr -falign-functions=4 -fstack-protector"
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/3.2/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer -ffast-math
-fprefetch-loop-arra ys -fforce-addr -falign-functions=4 -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs cvs"
GENTOO_MIRRORS="http://194.83.57.2/sites/www.ibiblio.org/gentoo/
http://gentoo.mirror.sdv .fr http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://194.83.57.3/sites/www.ibiblio.or g/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt encode foomaticdb gif jpeg libg++ libwww mikmod motif
mpeg ncurses  pdflib png quicktime truetype xml2 xv zlib gdbm berkdb slang
readline svga java sdl tcpd  pam ssl perl imlib opengl X gtk gtk2 gnome cdr sse
mmx 3dnow dvd -arts -qt -mozilla -spe ll -kde -xmms -esd -gpm -cups -mad -alsa
-nls -apm -oggvorbis -python"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-10-19 23:05:21 UTC

*** This bug has been marked as a duplicate of 24385 ***
Comment 2 Hans Cats 2003-10-22 13:20:28 UTC
Found a fix on the forums (just change the date):
http://forums.gentoo.org/viewtopic.php?t=80094
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-10-28 03:08:39 UTC
reopen
Comment 4 Hanno Böck gentoo-dev 2003-10-31 10:12:10 UTC
As far as I can see, we have two bugs here.
1. wine-ebuild ignores use-vars, it tries to build with arts-support even
if use="-arts" is set
2. wine compilation fails when arts is installed (seems only to happen if
you have arts from kde 3.2, today I removed all stuff from kde 3.1 and had
to recompile wine, because it was linked to old arts)
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-11-20 04:05:29 UTC
*** Bug 33901 has been marked as a duplicate of this bug. ***
Comment 6 LuisMi Garcia 2003-11-30 10:06:51 UTC
at the end of this weekly news, there is a patch that solves this bug.

http://www.winehq.com/?issue=198
Comment 7 Alex Veber (RETIRED) gentoo-dev 2003-12-01 04:03:12 UTC
fixed in cvs (wine-20031118-r1.ebuild), Thanks.