Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286560 - app-emulation/wine-1.1.30 fails to emerge due to "threads" not in IUSE
Summary: app-emulation/wine-1.1.30 fails to emerge due to "threads" not in IUSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL: http://www.winehq.org
Whiteboard:
Keywords:
: 328649 348685 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-26 19:10 UTC by David Hallas
Modified: 2012-01-14 03:33 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,10.95 KB, text/plain)
2009-09-26 19:12 UTC, David Hallas
Details
build log (build.log.tgz,39.03 KB, application/octet-stream)
2009-09-26 19:13 UTC, David Hallas
Details
Patch that fixes it (ebuild.patch,651 bytes, text/plain)
2009-09-26 19:14 UTC, David Hallas
Details
OpenAL_build.log (build.log,23.87 KB, text/plain)
2009-09-26 20:58 UTC, Alex Barker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Hallas 2009-09-26 19:10:29 UTC
wine-1.1.30 fails to emerge, I have attached the compile log. If I add threads to IUSE in the ebuild, and enable the threads use flag it compiles fine. Maybe this is an upstream bug?

Reproducible: Always
Comment 1 David Hallas 2009-09-26 19:12:07 UTC
Created attachment 205327 [details]
emerge --info
Comment 2 David Hallas 2009-09-26 19:13:43 UTC
Created attachment 205328 [details]
build log
Comment 3 David Hallas 2009-09-26 19:14:56 UTC
Created attachment 205329 [details]
Patch that fixes it
Comment 4 Alex Barker 2009-09-26 20:58:06 UTC
Created attachment 205342 [details]
OpenAL_build.log

Wine also fails to build with openal.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-09-27 03:41:03 UTC
Same symptoms as original reporter. Same solution (add threads to IUSE in ebuild) makes wine compile.
Comment 6 Nick Bowler 2009-09-27 04:26:55 UTC
It appears the problem is that wine simply does not build when configured using --without-pthread.  Since the useflag was omitted in IUSE, the use of $(use_with threads pthread) unconditionally emits this configure option.  Adding threads to IUSE allows one to enable the flag and thus build wine successfully, but the failure persists if the useflag is disabled.
Comment 8 David Hallas 2009-09-28 19:16:58 UTC
Just a heads up, I tested a vanilla wine-1.1.30 configured with --without-pthread and it fails the same way. I have reported the bug upstream: http://bugs.winehq.org/show_bug.cgi?id=20196. So I think we should keep an eye on this, or perhaps remove the threads IUSE and always add --with-pthread?

BTW. Thanks a lot for always keeping wine up to date!
Comment 9 David Hallas 2009-09-29 09:15:17 UTC
The wine devs do not want to fix the build or remove the configure option, so I don't think the ebuild should expose that USE flag at all.

What are your thoughts?
Comment 10 SpanKY gentoo-dev 2010-07-19 23:04:49 UTC
*** Bug 328649 has been marked as a duplicate of this bug. ***
Comment 11 Christohper Harrington 2010-07-19 23:59:06 UTC
Thanks for the Cc vapier.

Why is this marked as fixed if the build still fails?
Comment 12 Christohper Harrington 2010-07-23 15:46:12 UTC
I filed bug 328649 because this bug didn't appear in searches for "wine threads" open bugs. Since this issue is *not* fixed, can we please either re-open or close as "wontfix"? Or, as a better fix, hard-enable threads and leave this bug as resolved.
Comment 13 SpanKY gentoo-dev 2010-12-14 15:04:02 UTC
*** Bug 348685 has been marked as a duplicate of this bug. ***
Comment 14 Kolan Sh. 2010-12-15 13:46:03 UTC
Flag threads not only for wine, some people turn off it globally and receive a compilation error for wine and ask questions at forums. And as has marked Christohper Harrington, this bug in search isn't displayed.
Whether is better to remove a flag threads from ebuild at all?
Thanks.
Comment 15 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-01-14 03:33:01 UTC
Since building wine with USE=-threads on a glibc-based system is guaranteed to fail, all wine ebuilds have now been updated with REQUIRED_USE="elibc_glibc? ( threads )". Hopefully that will prevent anyone else from running into this issue in the future.