Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579406 - app-emulation/wine/wine-1.8.1: "wine-1.8-gstreamer-1.0.patch: No such file or directory" when gstreamer flag isn't set
Summary: app-emulation/wine/wine-1.8.1: "wine-1.8-gstreamer-1.0.patch: No such file or...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-09 07:57 UTC by Victor Gaydov
Modified: 2016-04-10 22:56 UTC (History)
1 user (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 Victor Gaydov 2016-04-09 07:57:22 UTC
It seems that wine-1.8.1 ebuild downloads and unpacks wine-1.8-gstreamer-1.0.patch only if `gstreamer' flag is set, but it tries to apply the patch even if `gstreamer' flag isn't set and fails:

 * Applying wine-1.8-gstreamer-1.0.patch ...
/var/tmp/portage/app-emulation/wine-1.8.1/temp/environment: line 1217: /var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch: No such file or directory                   [ !! ]
 * ERROR: app-emulation/wine-1.8.1::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch

When `gstreamer' flag is set, everything is ok.

Reproducible: Always

Steps to Reproduce:
USE=-gstreamer emerge -v app-emulation/wine
Actual Results:  
USE=-gstreamer emerge -v app-emulation/wine

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

Calculating dependencies... done!
[ebuild     U ~] app-emulation/wine-1.8.1::gentoo [1.8::gentoo] USE="X alsa cups fontconfig gecko jpeg lcms ldap mono mp3 ncurses nls opengl perl png pulseaudio realtime run-exes samba ssl threads truetype udisks xcomposite xml -capi -custom-cflags -dos -gphoto2 -gsm -gstreamer -netapi -odbc -openal -opencl -osmesa -oss -pcap -pipelight -prelink -s3tc -scanner (-selinux) -staging {-test} -v4l -vaapi -xinerama" ABI_X86="32 64 (-x32)" LINGUAS="en ru -ar -bg -ca -cs -da -de -el -en_US -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB


>>> Verifying ebuild manifests
>>> Running pre-merge checks for app-emulation/wine-1.8.1

>>> Emerging (1 of 1) app-emulation/wine-1.8.1::gentoo
 * wine-1.8.1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                      [ ok ]
 * wine_gecko-2.40-x86.msi SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                 [ ok ]
 * wine_gecko-2.40-x86_64.msi SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                              [ ok ]
 * wine-mono-4.5.6.msi SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                     [ ok ]
 * wine-gentoo-2015.03.07.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking wine-1.8.1.tar.bz2 to /var/tmp/portage/app-emulation/wine-1.8.1/work
>>> Unpacking wine-gentoo-2015.03.07.tar.bz2 to /var/tmp/portage/app-emulation/wine-1.8.1/work
 * Looking in /var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8.1/po for new locales ...
 * Done
>>> Source unpacked in /var/tmp/portage/app-emulation/wine-1.8.1/work
>>> Preparing source in /var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8.1 ...
 * Applying wine-1.5.26-winegcc.patch ...                                                                                                                                                       [ ok ]
 * Applying wine-1.4_rc2-multilib-portage.patch ...                                                                                                                                             [ ok ]
 * Applying wine-1.7.12-osmesa-check.patch ...                                                                                                                                                  [ ok ]
 * Applying wine-1.6-memset-O3.patch ...                                                                                                                                                        [ ok ]
 * Applying wine-1.8-gstreamer-1.0.patch ...
/var/tmp/portage/app-emulation/wine-1.8.1/temp/environment: line 1217: /var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch: No such file or directory                   [ !! ]
 * ERROR: app-emulation/wine-1.8.1::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch
 * 
 * Call stack:
 *               ebuild.sh, line  133:  Called src_prepare
 *             environment, line 4449:  Called default
 *      phase-functions.sh, line  769:  Called default_src_prepare
 *      phase-functions.sh, line  834:  Called __eapi6_src_prepare
 *             environment, line  583:  Called eapply '/usr/portage/app-emulation/wine/files/wine-1.5.26-winegcc.patch' '/usr/portage/app-emulation/wine/files/wine-1.4_rc2-multilib-portage.patch' '/usr/portage/app-emulation/wine/files/wine-1.7.12-osmesa-check.patch' '/usr/portage/app-emulation/wine/files/wine-1.6-memset-O3.patch' '/var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch'
 *             environment, line 1282:  Called _eapply_patch '/var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch'
 *             environment, line 1220:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/wine-1.8.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/wine-1.8.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.8.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.8.1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8.1'
 * S: '/var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8.1'

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

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

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

 * ERROR: app-emulation/wine-1.8.1::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch
 * 
 * Call stack:
 *               ebuild.sh, line  133:  Called src_prepare
 *             environment, line 4449:  Called default
 *      phase-functions.sh, line  769:  Called default_src_prepare
 *      phase-functions.sh, line  834:  Called __eapi6_src_prepare
 *             environment, line  583:  Called eapply '/usr/portage/app-emulation/wine/files/wine-1.5.26-winegcc.patch' '/usr/portage/app-emulation/wine/files/wine-1.4_rc2-multilib-portage.patch' '/usr/portage/app-emulation/wine/files/wine-1.7.12-osmesa-check.patch' '/usr/portage/app-emulation/wine/files/wine-1.6-memset-O3.patch' '/var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch'
 *             environment, line 1282:  Called _eapply_patch '/var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch'
 *             environment, line 1220:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8-gstreamer-1.0.patch'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/wine-1.8.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/wine-1.8.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.8.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.8.1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8.1'
 * S: '/var/tmp/portage/app-emulation/wine-1.8.1/work/wine-1.8.1'


Expected Results:  
No error.
Comment 1 Adam Feldman gentoo-dev 2016-04-10 22:47:51 UTC
Thanks for the report.  Will fix asap.
Comment 2 Adam Feldman gentoo-dev 2016-04-10 22:56:15 UTC
commit c9ccfdd335cab9492883d3d4c8798b37da23d64a
Author: NP-Hardass <NP-Hardass@gentoo.org>
Date:   Sun Apr 10 18:52:06 2016 -0400

    app-emulation/wine: Always apply gstreamer patch on 1.8.1
    
    Package-Manager: portage-2.2.26

Thanks for the report