Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448970 - app-emulation/wine-9999: 0025-dsound-Use-event-based-threads.patch fails to apply
Summary: app-emulation/wine-9999: 0025-dsound-Use-event-based-threads.patch fails to a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-27 23:14 UTC by Linubie
Modified: 2012-12-31 07:40 UTC (History)
0 users

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


Attachments
0025-dsound-Use-event-based-threads.patch.out (0025-dsound-Use-event-based-threads.patch.out,10.47 KB, text/plain)
2012-12-27 23:15 UTC, Linubie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Linubie 2012-12-27 23:14:16 UTC
emerge wine -av

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   *] app-emulation/wine-9999  USE="X alsa cups fontconfig gecko gnutls gphoto2 jpeg lcms mono mp3 ncurses nls openal opengl oss perl png prelink%* scanner ssl threads truetype v4l win32 xcomposite xinerama xml -capi -custom-cflags -gsm (-gstreamer) -ldap -odbc -opencl -osmesa -pulseaudio -samba (-selinux) {-test} -udisks -vanilla -win64 (-hardened%)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-emulation/wine-9999
 * wine_gecko-1.8-x86.msi SHA256 SHA512 WHIRLPOOL size ;-) ...                      [ ok ]
 * wine-mono-0.0.8.msi SHA256 SHA512 WHIRLPOOL size ;-) ...                         [ ok ]
 * winepulse-patches-1.5.20_pre20121207.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...[ ok ]
 * wine-gentoo-2012.11.24.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...              [ ok ]
>>> Unpacking source...
GIT update -->
   repository:               git://source.winehq.org/git/wine.git
   at the commit:            dabde6a04f6d02233bc5074a8eba613b2c4adc68
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/wine.git"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/app-emulation/wine-9999/work/wine-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/app-emulation/wine-9999/work/wine-9999
>>> Unpacking wine_gecko-1.8-x86.msi to /var/tmp/portage/app-emulation/wine-9999/work
unpack wine_gecko-1.8-x86.msi: file format not recognized. Ignoring.
>>> Unpacking wine-mono-0.0.8.msi to /var/tmp/portage/app-emulation/wine-9999/work
unpack wine-mono-0.0.8.msi: file format not recognized. Ignoring.
>>> Unpacking winepulse-patches-1.5.20_pre20121207.tar.bz2 to /var/tmp/portage/app-emulation/wine-9999/work
>>> Unpacking wine-gentoo-2012.11.24.tar.bz2 to /var/tmp/portage/app-emulation/wine-9999/work
>>> Unpacking winepulse-patches-1.5.20_pre20121207.tar.bz2 to /var/tmp/portage/app-emulation/wine-9999/work
>>> Unpacking wine-gentoo-2012.11.24.tar.bz2 to /var/tmp/portage/app-emulation/wine-9999/work
>>> Source unpacked in /var/tmp/portage/app-emulation/wine-9999/work
>>> Preparing source in /var/tmp/portage/app-emulation/wine-9999/work/wine-9999 ...
 * Applying wine-1.1.15-winegcc.patch ...                                           [ ok ]
 * Applying wine-1.4_rc2-multilib-portage.patch ...                                 [ ok ]
 * Applying wine-1.5.17-osmesa-check.patch ...                                      [ ok ]
 * Applying 0001-server-Use-rtkit-to-set-realtime-priority-try-4.patch ...          [ ok ]
 * Applying 0002-avrt-Add-realtime-to-stub.patch ...                                [ ok ]
 * Applying 0003-server-Bump-priority-on-server-to-process-messages-f.patch ...     [ ok ]
 * Applying 0004-rtkit-add-SIGXCPU-handling-to-wineserver.patch ...                 [ ok ]
 * Applying 0005-mmdevapi-be-stricter-about-tests.patch ...                         [ ok ]
 * Applying 0006-winmm-Load-winealsa-if-winepulse-is-found.patch ...                [ ok ]
 * Applying 0007-winepulse-Add-initial-stub-for-pulseaudio-support.patch ...        [ ok ]
 * Applying 0008-winepulse-Add-format-and-period-probing.patch ...                  [ ok ]
 * Applying 0009-winepulse-Add-audioclient.patch ...                                [ ok ]
 * Applying 0010-winepulse-Add-IAudioRenderClient-and-IAudioCaptureCl.patch ...     [ ok ]
 * Applying 0011-winepulse-Add-IAudioClock-and-IAudioClock2.patch ...               [ ok ]
 * Applying 0012-winepulse-Add-audiostreamvolume.patch ...                          [ ok ]
 * Applying 0013-winepulse-Add-session-support.patch ...                            [ ok ]
 * Applying 0014-fix-fdels-trailing-whitespaces.patch ...                           [ ok ]
 * Applying 0015-winepulse-v12.patch ...                                            [ ok ]
 * Applying 0016-winepulse-v15-Add-support-for-missing-formats-and-si.patch ...     [ ok ]
 * Applying 0017-winepulse-v16-Add-official-warning-wine-doesn-t-want.patch ...     [ ok ]
 * Applying 0018-winepulse-v17-Fix-winmm-tests.patch ...                            [ ok ]
 * Applying 0019-winepulse-v18-Latency-and-compilation-improvements.patch ...       [ ok ]
 * Applying 0020-winepulse-API-Compatibility-with-1.5.2-onward-v2.patch ...         [ ok ]
 * Applying 0021-winepulse-Fix-low-latency-support.patch ...                        [ ok ]
 * Applying 0022-winepulse-drop-realtime-priority-before-thread-destr.patch ...     [ ok ]
 * Applying 0023-winepulse-remove-bogus-SetEvent-from-pulse_started_c.patch ...     [ ok ]
 * Applying 0024-winepulse-disable-the-setevent-part-of-the-latency-h.patch ...     [ ok ]
 * Applying 0025-dsound-Use-event-based-threads.patch ...

 * Failed Patch: 0025-dsound-Use-event-based-threads.patch !
 *  ( ../winepulse-patches-1.5.20_pre20121207/0025-dsound-Use-event-based-threads.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-emulation/wine-9999/temp/0025-dsound-Use-event-based-threads.patch.out

 * ERROR: app-emulation/wine-9999 failed (prepare phase):
 *   Failed Patch: 0025-dsound-Use-event-based-threads.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4064:  Called epatch '../winepulse-patches-1.5.20_pre20121207/0001-server-Use-rtkit-to-set-realtime-priority-try-4.patch' '../winepulse-patches-1.5.20_pre20121207/0002-avrt-Add-realtime-to-stub.patch' '../winepulse-patches-1.5.20_pre20121207/0003-server-Bump-priority-on-server-to-process-messages-f.patch' '../winepulse-patches-1.5.20_pre20121207/0004-rtkit-add-SIGXCPU-handling-to-wineserver.patch' '../winepulse-patches-1.5.20_pre20121207/0005-mmdevapi-be-stricter-about-tests.patch' '../winepulse-patches-1.5.20_pre20121207/0006-winmm-Load-winealsa-if-winepulse-is-found.patch' '../winepulse-patches-1.5.20_pre20121207/0007-winepulse-Add-initial-stub-for-pulseaudio-support.patch' '../winepulse-patches-1.5.20_pre20121207/0008-winepulse-Add-format-and-period-probing.patch' '../winepulse-patches-1.5.20_pre20121207/0009-winepulse-Add-audioclient.patch' '../winepulse-patches-1.5.20_pre20121207/0010-winepulse-Add-IAudioRenderClient-and-IAudioCaptureCl.patch' '../winepulse-patches-1.5.20_pre20121207/0011-winepulse-Add-IAudioClock-and-IAudioClock2.patch' '../winepulse-patches-1.5.20_pre20121207/0012-winepulse-Add-audiostreamvolume.patch' '../winepulse-patches-1.5.20_pre20121207/0013-winepulse-Add-session-support.patch' '../winepulse-patches-1.5.20_pre20121207/0014-fix-fdels-trailing-whitespaces.patch' '../winepulse-patches-1.5.20_pre20121207/0015-winepulse-v12.patch' '../winepulse-patches-1.5.20_pre20121207/0016-winepulse-v15-Add-support-for-missing-formats-and-si.patch' '../winepulse-patches-1.5.20_pre20121207/0017-winepulse-v16-Add-official-warning-wine-doesn-t-want.patch' '../winepulse-patches-1.5.20_pre20121207/0018-winepulse-v17-Fix-winmm-tests.patch' '../winepulse-patches-1.5.20_pre20121207/0019-winepulse-v18-Latency-and-compilation-improvements.patch' '../winepulse-patches-1.5.20_pre20121207/0020-winepulse-API-Compatibility-with-1.5.2-onward-v2.patch' '../winepulse-patches-1.5.20_pre20121207/0021-winepulse-Fix-low-latency-support.patch' '../winepulse-patches-1.5.20_pre20121207/0022-winepulse-drop-realtime-priority-before-thread-destr.patch' '../winepulse-patches-1.5.20_pre20121207/0023-winepulse-remove-bogus-SetEvent-from-pulse_started_c.patch' '../winepulse-patches-1.5.20_pre20121207/0024-winepulse-disable-the-setevent-part-of-the-latency-h.patch' '../winepulse-patches-1.5.20_pre20121207/0025-dsound-Use-event-based-threads.patch' '../winepulse-patches-1.5.20_pre20121207/0026-dsound-rework-ugly-mixer-logic.patch' '../winepulse-patches-1.5.20_pre20121207/0027-dsound-fix-format-handling-on-invalid-format-to-neve.patch' '../winepulse-patches-1.5.20_pre20121207/0028-dsound-fixup-DSOUND_WaveQueue-checks.patch' '../winepulse-patches-1.5.20_pre20121207/0029-dsound-remove-state-machine-from-render-buffer.patch' '../winepulse-patches-1.5.20_pre20121207/0030-winepulse-v20-fix-the-checks-in-IsFormatSupported.patch' '../winepulse-patches-1.5.20_pre20121207/0031-winepulse-fixup-IsFormatSupported-calls.patch' '../winepulse-patches-1.5.20_pre20121207/0032-winepulse-v21-return-early-if-padding-didn-t-update.patch' '../winepulse-patches-1.5.20_pre20121207/0033-winepulse-fix-unneeded-free-in-write.patch'
 *   environment, line 1869:  Called epatch '../winepulse-patches-1.5.20_pre20121207/0025-dsound-Use-event-based-threads.patch'
 *   environment, line 2028:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/wine-9999'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/wine-9999'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/wine-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/wine-9999/work/wine-9999'
 * S: '/var/tmp/portage/app-emulation/wine-9999/work/wine-9999'

>>> Failed to emerge app-emulation/wine-9999, Log file:

>>>  '/var/tmp/portage/app-emulation/wine-9999/temp/build.log'

 * Messages for package app-emulation/wine-9999:

 * Failed Patch: 0025-dsound-Use-event-based-threads.patch !
 *  ( ../winepulse-patches-1.5.20_pre20121207/0025-dsound-Use-event-based-threads.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-emulation/wine-9999/temp/0025-dsound-Use-event-based-threads.patch.out
 * ERROR: app-emulation/wine-9999 failed (prepare phase):
 *   Failed Patch: 0025-dsound-Use-event-based-threads.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4064:  Called epatch '../winepulse-patches-1.5.20_pre20121207/0001-server-Use-rtkit-to-set-realtime-priority-try-4.patch' '../winepulse-patches-1.5.20_pre20121207/0002-avrt-Add-realtime-to-stub.patch' '../winepulse-patches-1.5.20_pre20121207/0003-server-Bump-priority-on-server-to-process-messages-f.patch' '../winepulse-patches-1.5.20_pre20121207/0004-rtkit-add-SIGXCPU-handling-to-wineserver.patch' '../winepulse-patches-1.5.20_pre20121207/0005-mmdevapi-be-stricter-about-tests.patch' '../winepulse-patches-1.5.20_pre20121207/0006-winmm-Load-winealsa-if-winepulse-is-found.patch' '../winepulse-patches-1.5.20_pre20121207/0007-winepulse-Add-initial-stub-for-pulseaudio-support.patch' '../winepulse-patches-1.5.20_pre20121207/0008-winepulse-Add-format-and-period-probing.patch' '../winepulse-patches-1.5.20_pre20121207/0009-winepulse-Add-audioclient.patch' '../winepulse-patches-1.5.20_pre20121207/0010-winepulse-Add-IAudioRenderClient-and-IAudioCaptureCl.patch' '../winepulse-patches-1.5.20_pre20121207/0011-winepulse-Add-IAudioClock-and-IAudioClock2.patch' '../winepulse-patches-1.5.20_pre20121207/0012-winepulse-Add-audiostreamvolume.patch' '../winepulse-patches-1.5.20_pre20121207/0013-winepulse-Add-session-support.patch' '../winepulse-patches-1.5.20_pre20121207/0014-fix-fdels-trailing-whitespaces.patch' '../winepulse-patches-1.5.20_pre20121207/0015-winepulse-v12.patch' '../winepulse-patches-1.5.20_pre20121207/0016-winepulse-v15-Add-support-for-missing-formats-and-si.patch' '../winepulse-patches-1.5.20_pre20121207/0017-winepulse-v16-Add-official-warning-wine-doesn-t-want.patch' '../winepulse-patches-1.5.20_pre20121207/0018-winepulse-v17-Fix-winmm-tests.patch' '../winepulse-patches-1.5.20_pre20121207/0019-winepulse-v18-Latency-and-compilation-improvements.patch' '../winepulse-patches-1.5.20_pre20121207/0020-winepulse-API-Compatibility-with-1.5.2-onward-v2.patch' '../winepulse-patches-1.5.20_pre20121207/0021-winepulse-Fix-low-latency-support.patch' '../winepulse-patches-1.5.20_pre20121207/0022-winepulse-drop-realtime-priority-before-thread-destr.patch' '../winepulse-patches-1.5.20_pre20121207/0023-winepulse-remove-bogus-SetEvent-from-pulse_started_c.patch' '../winepulse-patches-1.5.20_pre20121207/0024-winepulse-disable-the-setevent-part-of-the-latency-h.patch' '../winepulse-patches-1.5.20_pre20121207/0025-dsound-Use-event-based-threads.patch' '../winepulse-patches-1.5.20_pre20121207/0026-dsound-rework-ugly-mixer-logic.patch' '../winepulse-patches-1.5.20_pre20121207/0027-dsound-fix-format-handling-on-invalid-format-to-neve.patch' '../winepulse-patches-1.5.20_pre20121207/0028-dsound-fixup-DSOUND_WaveQueue-checks.patch' '../winepulse-patches-1.5.20_pre20121207/0029-dsound-remove-state-machine-from-render-buffer.patch' '../winepulse-patches-1.5.20_pre20121207/0030-winepulse-v20-fix-the-checks-in-IsFormatSupported.patch' '../winepulse-patches-1.5.20_pre20121207/0031-winepulse-fixup-IsFormatSupported-calls.patch' '../winepulse-patches-1.5.20_pre20121207/0032-winepulse-v21-return-early-if-padding-didn-t-update.patch' '../winepulse-patches-1.5.20_pre20121207/0033-winepulse-fix-unneeded-free-in-write.patch'
 *   environment, line 1869:  Called epatch '../winepulse-patches-1.5.20_pre20121207/0025-dsound-Use-event-based-threads.patch'
 *   environment, line 2028:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/wine-9999'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/wine-9999'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/wine-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/wine-9999/work/wine-9999'
 * S: '/var/tmp/portage/app-emulation/wine-9999/work/wine-9999'



Reproducible: Always
Comment 1 Linubie 2012-12-27 23:15:45 UTC
Created attachment 333532 [details]
0025-dsound-Use-event-based-threads.patch.out
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-31 07:40:39 UTC
Fixed by removing pulseaudio patchset from wine-9999. Having pulseaudio support in the live ebuild had seemed like a good idea at first, but sound code in wine git changes rapidly enough that 9999 becomes unbuildable for a significant part of the biweekly release cycle.

Users who need high-quality pulseaudio support can use the normal biweekly releases of wine.

+  31 Dec 2012; Alexandre Rostovtsev <tetromino@gentoo.org> wine-1.5.20.ebuild,
+  wine-9999.ebuild:
+  Completely disable pulseaudio patches for the live 9999 ebuild since it
+  breaks too often (e.g. bug #448970). Remove the vanilla USE flag since it is
+  now superfluous.