Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499154 - emerge =app-emulation/wine-1.7.11 fails due to patch
Summary: emerge =app-emulation/wine-1.7.11 fails due to patch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 All
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-24 18:45 UTC by torsten.scholak
Modified: 2014-01-24 18:50 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 torsten.scholak 2014-01-24 18:45:18 UTC
0004-server-Create-directories-with-the-specified-securit.patch fails.

Reproducible: Always

Steps to Reproduce:
1. emerge =app-emulation/wine-1.7.11
Actual Results:  
fatal error during src_prepare.

# cat /var/tmp/portage/app-emulation/wine-1.7.11/temp/0004-server-Create-directories-with-the-specified-securit.patch.out
***** 0004-server-Create-directories-with-the-specified-securit.patch *****
PWD: /var/tmp/portage/app-emulation/wine-1.7.11/work/wine-1.7.11

===========================================================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/wine/0004-server-Create-directories-with-the-specified-securit.patch'

===========================================================================
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 8ffcfda480ef0475910eee359c8e447571b078cf Mon Sep 17 00:00:00 2001
|From: "Erich E. Hoover" <erich.e.hoover@gmail.com>
|Date: Fri, 9 Aug 2013 20:56:15 -0600
|Subject: server: Create directories with the specified security attributes.
|
|---
| dlls/kernel32/tests/directory.c |  135 +++++++++++++++++++++++++++++++++++++++
| server/fd.c                     |    2 +-
| server/file.c                   |    7 +-
| 3 files changed, 142 insertions(+), 2 deletions(-)
|
|diff --git a/dlls/kernel32/tests/directory.c b/dlls/kernel32/tests/directory.c
|index 9baae47..df434b6 100644
|--- a/dlls/kernel32/tests/directory.c
|+++ b/dlls/kernel32/tests/directory.c
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 176
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/server/fd.c b/server/fd.c
|index f3e42bd..248f15a 100644
|--- a/server/fd.c
|+++ b/server/fd.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 189
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/server/file.c b/server/file.c
|index 2ecf97c..9c6cb80 100644
|--- a/server/file.c
|+++ b/server/file.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
===========================================================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/wine/0004-server-Create-directories-with-the-specified-securit.patch'

===========================================================================
patching file dlls/kernel32/tests/directory.c
patching file server/fd.c
Hunk #1 FAILED at 1765.
1 out of 1 hunk FAILED -- saving rejects to file server/fd.c.rej
patching file server/file.c
Hunk #1 succeeded at 221 with fuzz 2 (offset 2 lines).

patch program exited with status 1
===========================================================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/wine/0004-server-Create-directories-with-the-specified-securit.patch'

===========================================================================
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 8ffcfda480ef0475910eee359c8e447571b078cf Mon Sep 17 00:00:00 2001
|From: "Erich E. Hoover" <erich.e.hoover@gmail.com>
|Date: Fri, 9 Aug 2013 20:56:15 -0600
|Subject: server: Create directories with the specified security attributes.
|
|---
| dlls/kernel32/tests/directory.c |  135 +++++++++++++++++++++++++++++++++++++++
| server/fd.c                     |    2 +-
| server/file.c                   |    7 +-
| 3 files changed, 142 insertions(+), 2 deletions(-)
|
|diff --git a/dlls/kernel32/tests/directory.c b/dlls/kernel32/tests/directory.c
|index 9baae47..df434b6 100644
|--- a/dlls/kernel32/tests/directory.c
|+++ b/dlls/kernel32/tests/directory.c
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 176
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/server/fd.c b/server/fd.c
|index f3e42bd..248f15a 100644
|--- a/server/fd.c
|+++ b/server/fd.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 189
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/server/file.c b/server/file.c
|index 2ecf97c..9c6cb80 100644
|--- a/server/file.c
|+++ b/server/file.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
===========================================================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/wine/0004-server-Create-directories-with-the-specified-securit.patch'

===========================================================================
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 8ffcfda480ef0475910eee359c8e447571b078cf Mon Sep 17 00:00:00 2001
|From: "Erich E. Hoover" <erich.e.hoover@gmail.com>
|Date: Fri, 9 Aug 2013 20:56:15 -0600
|Subject: server: Create directories with the specified security attributes.
|
|---
| dlls/kernel32/tests/directory.c |  135 +++++++++++++++++++++++++++++++++++++++
| server/fd.c                     |    2 +-
| server/file.c                   |    7 +-
| 3 files changed, 142 insertions(+), 2 deletions(-)
|
|diff --git a/dlls/kernel32/tests/directory.c b/dlls/kernel32/tests/directory.c
|index 9baae47..df434b6 100644
|--- a/dlls/kernel32/tests/directory.c
|+++ b/dlls/kernel32/tests/directory.c
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 176
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/server/fd.c b/server/fd.c
|index f3e42bd..248f15a 100644
|--- a/server/fd.c
|+++ b/server/fd.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 189
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/server/file.c b/server/file.c
|index 2ecf97c..9c6cb80 100644
|--- a/server/file.c
|+++ b/server/file.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
===========================================================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/wine/0004-server-Create-directories-with-the-specified-securit.patch'

===========================================================================
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 8ffcfda480ef0475910eee359c8e447571b078cf Mon Sep 17 00:00:00 2001
|From: "Erich E. Hoover" <erich.e.hoover@gmail.com>
|Date: Fri, 9 Aug 2013 20:56:15 -0600
|Subject: server: Create directories with the specified security attributes.
|
|---
| dlls/kernel32/tests/directory.c |  135 +++++++++++++++++++++++++++++++++++++++
| server/fd.c                     |    2 +-
| server/file.c                   |    7 +-
| 3 files changed, 142 insertions(+), 2 deletions(-)
|
|diff --git a/dlls/kernel32/tests/directory.c b/dlls/kernel32/tests/directory.c
|index 9baae47..df434b6 100644
|--- a/dlls/kernel32/tests/directory.c
|+++ b/dlls/kernel32/tests/directory.c
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 176
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/server/fd.c b/server/fd.c
|index f3e42bd..248f15a 100644
|--- a/server/fd.c
|+++ b/server/fd.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 189
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/server/file.c b/server/file.c
|index 2ecf97c..9c6cb80 100644
|--- a/server/file.c
|+++ b/server/file.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1


Expected Results:  
emerge should complete.
Comment 1 torsten.scholak 2014-01-24 18:45:46 UTC
# emerge -pqv '=app-emulation/wine-1.7.11::gentoo'
!!! Repository 'r3pek' is missing masters attribute in '/var/lib/layman/r3pek/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'nachtschichtgeraet' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
[ebuild     U ] app-emulation/wine-1.7.11 [1.7.4] USE="X cups fontconfig gecko gstreamer jpeg lcms ldap mono mp3 ncurses nls openal opengl perl png prelink pulseaudio realtime run-exes samba ssl threads truetype udisks xml -alsa -capi -custom-cflags -dos -gphoto2 -gsm -netapi% -odbc -opencl -osmesa -oss -scanner (-selinux) {-test} -v4l -xcomposite -xinerama" ABI_X86="32 64 (-x32)" LINGUAS="de en -ar -bg -ca -cs -da -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 -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW"


# emerge --info '=app-emulation/wine-1.7.11::gentoo'
!!! Repository 'r3pek' is missing masters attribute in '/var/lib/layman/r3pek/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'nachtschichtgeraet' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.13.0-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.13.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32644596 total,  12834904 free
KiB Swap:   65499132 total,  65499132 free
Timestamp of tree: Fri, 24 Jan 2014 17:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.4.7, 4.6.4, 4.7.3-r1, 4.8.2-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sublime-text gentoo-haskell gamerlay science r3pek hasufell steam-overlay gnome nachtschichtgeraet
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://mirror.the-best-hosting.net"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sublime-text /var/lib/layman/haskell /var/lib/layman/gamerlay /var/lib/layman/science /var/lib/layman/r3pek /var/lib/layman/hasufell /var/lib/layman/steam /var/lib/layman/gnome /usr/local/portage"
USE="X a52 aac acl acpi afp amd64 archive avahi avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cli clutter colord cracklib crypt cups cxx dbus dconf djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam ffmpeg firefox flac fontconfig fontforge fortran fuse gconf gd gdbm gedit gif gnome gnome-keyring gnome-online-accounts gpg gpm gstreamer gtk gtk3 iconv icu imagemagick introspection ipafont ipv6 jpeg kerberos kpathsea lcms ldap libkms libnotify libsecret lua luatex mad mmx mng modules mono mp3 mp4 mpeg mpi-threads mplayer multilib nautilus ncurses nls nptl ogg openal opengl openmp pam pango pcre pdf plymouth png policykit postscript ppds pulseaudio python qt3support qt4 raw readline rhythmbox rss rubber samba sasl sdl session smp socialweb spell sqlite sqlite3 sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg systemd systemtap tcpd telepathy theora threads tiff tk totem tracker truetype udev udisks unicode upower usb vala vim vim-syntax vorbis vpx wayland webkit webp wxwidgets x264 xa xattr xcb xft xml xmp xv xvid zeitgeist zeroconf zfs zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="zfs systemd plymouth" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel dummy fbdev glint v4l vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 2 torsten.scholak 2014-01-24 18:46:05 UTC
# cat /var/tmp/portage/app-emulation/wine-1.7.11/temp/build.log
 * Package:    app-emulation/wine-1.7.11
 * Repository: gentoo
 * Maintainer: wine@gentoo.org
 * USE:        X abi_x86_32 abi_x86_64 amd64 cups elibc_glibc fontconfig gecko gstreamer jpeg kernel_linux lcms ldap linguas_de linguas_en mono mp3 ncurses nls openal opengl perl png prelink pulseaudio realtime run-exes samba ssl threads truetype udisks userland_GNU xml
 * FEATURES:   compressdebug preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking wine-1.7.11.tar.bz2 to /var/tmp/portage/app-emulation/wine-1.7.11/work
>>> Unpacking winepulse-patches-1.7.10.tar.bz2 to /var/tmp/portage/app-emulation/wine-1.7.11/work
>>> Unpacking wine-gentoo-2013.06.24.tar.bz2 to /var/tmp/portage/app-emulation/wine-1.7.11/work
 * Looking in /var/tmp/portage/app-emulation/wine-1.7.11/work/wine-1.7.11/po for new locales ...
 * Done
>>> Source unpacked in /var/tmp/portage/app-emulation/wine-1.7.11/work
>>> Preparing source in /var/tmp/portage/app-emulation/wine-1.7.11/work/wine-1.7.11 ...
 * Applying wine-1.5.26-winegcc.patch ...                                                                                        [ ok ]
 * Applying wine-1.4_rc2-multilib-portage.patch ...                                                                              [ ok ]
 * Applying wine-1.7.2-osmesa-check.patch ...                                                                                    [ ok ]
 * Applying wine-1.6-memset-O3.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-winepulse-v20-fix-the-checks-in-IsFormatSupported.patch ...                                                     [ ok ]
 * Applying 0026-winepulse-fixup-IsFormatSupported-calls.patch ...                                                               [ ok ]
 * Applying 0027-winepulse-v21-return-early-if-padding-didn-t-update.patch ...                                                   [ ok ]
 * Applying 0028-winepulse-fix-unneeded-free-in-write.patch ...                                                                  [ ok ]
 * Applying 0029-winepulse-v23-fixup-a-invalid-free-in-mmdevapi.patch ...                                                        [ ok ]
 * Applying 0030-dsound-rework-ugly-mixer-logic.patch ...                                                                        [ ok ]
 * Applying 0031-dsound-mix-float-natively.patch ...                                                                             [ ok ]
 * Applying 0032-dsound-fix-format-handling-on-invalid-format-to-neve.patch ...                                                  [ ok ]
 * Applying 0033-dsound-fixup-DSOUND_WaveQueue-checks.patch ...                                                                  [ ok ]
 * Applying 0034-dsound-remove-state-machine-from-render-buffer.patch ...                                                        [ ok ]
 * Applying 0035-dsound-kill-unconditional-memory-allocation-in-mixin.patch ...                                                  [ ok ]
 * Applying 0036-winepulse-use-a-pi-mutex-for-serialization.patch ...                                                            [ ok ]
 * Applying 0037-winepulse-add-support-for-IMarshal.patch ...                                                                    [ ok ]
 * Applying 0039-Revert-winmm-Increase-mmdevapi-buffer-sizes.patch ...                                                           [ ok ]
 * Applying 0040-dsound-fixup-IDirectSoundCaptureBuffer_QueryInterfac.patch ...                                                  [ ok ]
 * Applying 0100-no-MAKE_DLL_RULES.patch ...                                                                                     [ ok ]
 * Applying user patches from /etc/portage/patches//app-emulation/wine ...
 *   0001-ws2_32-Ask-the-server-to-process-unsupported-WSAIoct.patch ...                                                         [ ok ]
 *   0002-server-Implement-an-interface-change-notification-ob.patch ...                                                         [ ok ]
 *   0003-ws2_32-Add-an-interactive-test-for-interface-change-.patch ...                                                         [ ok ]
 *   0004-server-Create-directories-with-the-specified-securit.patch ...

 * Failed Patch: 0004-server-Create-directories-with-the-specified-securit.patch !
 *  ( /etc/portage/patches//app-emulation/wine/0004-server-Create-directories-with-the-specified-securit.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-emulation/wine-1.7.11/temp/0004-server-Create-directories-with-the-specified-securit.patch.out

 * ERROR: app-emulation/wine-1.7.11::gentoo failed (prepare phase):
 *   Failed Patch: 0004-server-Create-directories-with-the-specified-securit.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4905:  Called autotools-utils_src_prepare
 *   environment, line 1526:  Called epatch_user
 *   environment, line 2503:  Called epatch
 *   environment, line 2476:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/wine-1.7.11::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/wine-1.7.11::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.7.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.7.11/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/wine-1.7.11/work/wine-1.7.11'
 * S: '/var/tmp/portage/app-emulation/wine-1.7.11/work/wine-1.7.11'
Comment 3 Ben Kohler gentoo-dev 2014-01-24 18:47:58 UTC
PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//app-emulation/wine/0004-server-Create-directories-with-the-specified-securit.patch'

That's your own local patch being applied, fix it or get rid of it.
Comment 4 torsten.scholak 2014-01-24 18:50:42 UTC
Shoot. Never mind then. Got that bit from that awful netflix tutorial and forgot about it. Thx.