Closed issue by sirkhancision on void-packages repository https://github.com/void-linux/void-packages/issues/42911 Description: ### Is this a new report? Yes ### System Info Void 6.1.20_1 x86_64 GenuineIntel uptodate rFFFFFFFFFF ### Package(s) Affected wine-8.4_1 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? _No response_ ### Expected behaviour The package is compiled correctly. ### Actual behaviour ``` => xbps-src: updating repositories for host (x86_64)... [*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ... => xbps-src: updating software in / masterdir... => xbps-src: cleaning up / masterdir... => wine-8.4_1: removing autodeps, please wait... => wine-8.4_1: the following build options are set: mingw: Use the MinGW cross compiler to build WinPE DLLs (ON) staging: Apply the wine-staging patchset (ON) xshm: Enable support for the X Shared Memory Extension (ON) => wine-8.4_1: building [gnu-configure] for x86_64... [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current) [host] flex-2.6.4_3: found (https://repo-default.voidlinux.org/current) [host] gettext-0.21_4: found (https://repo-default.voidlinux.org/current) [host] cross-x86_64-w64-mingw32-10.0.0_1: found (https://repo-default.voidlinux.org/current) [host] autoconf-2.71_1: found (https://repo-default.voidlinux.org/current) [host] prelink-20130503_4: found (https://repo-default.voidlinux.org/current) [target] gettext-devel-0.21_4: found (https://repo-default.voidlinux.org/current) [target] ncurses-devel-6.3_3: found (https://repo-default.voidlinux.org/current) [target] glu-devel-9.0.2_2: found (https://repo-default.voidlinux.org/current) [target] libSM-devel-1.2.3_1: found (https://repo-default.voidlinux.org/current) [target] libXext-devel-1.3.5_1: found (https://repo-default.voidlinux.org/current) [target] libX11-devel-1.8.4_1: found (https://repo-default.voidlinux.org/current) [target] libXpm-devel-3.5.14_1: found (https://repo-default.voidlinux.org/current) [target] libXinerama-devel-1.1.5_1: found (https://repo-default.voidlinux.org/current) [target] libXcomposite-devel-0.4.6_1: found (https://repo-default.voidlinux.org/current) [target] libXmu-devel-1.1.4_1: found (https://repo-default.voidlinux.org/current) [target] libXxf86vm-devel-1.1.5_1: found (https://repo-default.voidlinux.org/current) [target] libXcursor-devel-1.2.1_2: found (https://repo-default.voidlinux.org/current) [target] libXrandr-devel-1.5.3_1: found (https://repo-default.voidlinux.org/current) [target] libXdamage-devel-1.1.6_1: found (https://repo-default.voidlinux.org/current) [target] libXi-devel-1.8_1: found (https://repo-default.voidlinux.org/current) [target] alsa-lib-devel-1.2.8_1: found (https://repo-default.voidlinux.org/current) [target] libgphoto2-devel-2.5.30_1: found (https://repo-default.voidlinux.org/current) [target] glib-devel-2.74.0_3: found (https://repo-default.voidlinux.org/current) [target] freetype-devel-2.12.1_2: found (https://repo-default.voidlinux.org/current) [target] pulseaudio-devel-15.0_3: found (https://repo-default.voidlinux.org/current) [target] giflib-devel-5.2.1_1: found (https://repo-default.voidlinux.org/current) [target] v4l-utils-devel-1.22.1_1: found (https://repo-default.voidlinux.org/current) [target] fontconfig-devel-2.14.2_1: found (https://repo-default.voidlinux.org/current) [target] gnutls-devel-3.7.8_1: found (https://repo-default.voidlinux.org/current) [target] dbus-devel-1.14.4_1: found (https://repo-default.voidlinux.org/current) [target] sane-devel-1.1.1_1: found (https://repo-default.voidlinux.org/current) [target] libpcap-devel-1.10.3_1: found (https://repo-default.voidlinux.org/current) [target] cups-devel-2.4.2_3: found (https://repo-default.voidlinux.org/current) [target] ocl-icd-devel-2.3.1_1: found (https://repo-default.voidlinux.org/current) [target] vulkan-loader-1.3.231.2_1: found (https://repo-default.voidlinux.org/current) [target] gst-plugins-base1-devel-1.20.3_1: found (https://repo-default.voidlinux.org/current) [target] SDL2-devel-2.26.3_1: found (https://repo-default.voidlinux.org/current) [runtime] libXi-1.8_1: found (https://repo-default.voidlinux.org/current) [runtime] libXinerama-1.1.5_1: found (https://repo-default.voidlinux.org/current) [runtime] libXcomposite-0.4.6_1: found (https://repo-default.voidlinux.org/current) [runtime] libXcursor-1.2.1_2: found (https://repo-default.voidlinux.org/current) [runtime] libOSMesa-22.3.5_1: found (https://repo-default.voidlinux.org/current) [runtime] desktop-file-utils-0.26_1: found (https://repo-default.voidlinux.org/current) [runtime] hicolor-icon-theme-0.17_3: found (https://repo-default.voidlinux.org/current) [runtime] liberation-fonts-ttf-2.1.5_2: found (https://repo-default.voidlinux.org/current) [runtime] gnutls-3.7.8_1: found (https://repo-default.voidlinux.org/current) [runtime] SDL2-2.26.3_1: found (https://repo-default.voidlinux.org/current) [runtime] wine-common-8.4_1: found (https://repo-default.voidlinux.org/current) [runtime] libwine-8.4_1: found (https://repo-default.voidlinux.org/current) [runtime] libXi-1.8_1: found (https://repo-default.voidlinux.org/current) [runtime] libXinerama-1.1.5_1: found (https://repo-default.voidlinux.org/current) [runtime] libXcomposite-0.4.6_1: found (https://repo-default.voidlinux.org/current) [runtime] libXcursor-1.2.1_2: found (https://repo-default.voidlinux.org/current) [runtime] libOSMesa-22.3.5_1: found (https://repo-default.voidlinux.org/current) [runtime] desktop-file-utils-0.26_1: found (https://repo-default.voidlinux.org/current) [runtime] hicolor-icon-theme-0.17_3: found (https://repo-default.voidlinux.org/current) [runtime] liberation-fonts-ttf-2.1.5_2: found (https://repo-default.voidlinux.org/current) [runtime] gnutls-3.7.8_1: found (https://repo-default.voidlinux.org/current) [runtime] SDL2-2.26.3_1: found (https://repo-default.voidlinux.org/current) [runtime] wine-common-8.4_1: found (https://repo-default.voidlinux.org/current) [runtime] libwine-8.4_1: found (https://repo-default.voidlinux.org/current) [runtime] libXi-1.8_1: found (https://repo-default.voidlinux.org/current) [runtime] libXinerama-1.1.5_1: found (https://repo-default.voidlinux.org/current) [runtime] libXcomposite-0.4.6_1: found (https://repo-default.voidlinux.org/current) [runtime] libXcursor-1.2.1_2: found (https://repo-default.voidlinux.org/current) [runtime] libOSMesa-22.3.5_1: found (https://repo-default.voidlinux.org/current) [runtime] desktop-file-utils-0.26_1: found (https://repo-default.voidlinux.org/current) [runtime] hicolor-icon-theme-0.17_3: found (https://repo-default.voidlinux.org/current) [runtime] liberation-fonts-ttf-2.1.5_2: found (https://repo-default.voidlinux.org/current) [runtime] gnutls-3.7.8_1: found (https://repo-default.voidlinux.org/current) [runtime] SDL2-2.26.3_1: found (https://repo-default.voidlinux.org/current) [runtime] wine-common-8.4_1: found (https://repo-default.voidlinux.org/current) [runtime] libwine-8.4_1: found (https://repo-default.voidlinux.org/current) [runtime] libwine-8.4_1: found (https://repo-default.voidlinux.org/current) [runtime] wine-8.4_1: found (https://repo-default.voidlinux.org/current) => wine-8.4_1: installing host dependencies: pkg-config-0.29.2_3 flex-2.6.4_3 gettext-0.21_4 cross-x86_64-w64-mingw32-10.0.0_1 autoconf-2.71_1 prelink-20130503_4 ... => wine-8.4_1: installing target dependencies: gettext-devel-0.21_4 ncurses-devel-6.3_3 glu-devel-9.0.2_2 libSM-devel-1.2.3_1 libXext-devel-1.3.5_1 libX11-devel-1.8.4_1 libXpm-devel-3.5.14_1 libXinerama-devel-1.1.5_1 libXcomposite-devel-0.4.6_1 libXmu-devel-1.1.4_1 libXxf86vm-devel-1.1.5_1 libXcursor-devel-1.2.1_2 libXrandr-devel-1.5.3_1 libXdamage-devel-1.1.6_1 libXi-devel-1.8_1 alsa-lib-devel-1.2.8_1 libgphoto2-devel-2.5.30_1 glib-devel-2.74.0_3 freetype-devel-2.12.1_2 pulseaudio-devel-15.0_3 giflib-devel-5.2.1_1 v4l-utils-devel-1.22.1_1 fontconfig-devel-2.14.2_1 gnutls-devel-3.7.8_1 dbus-devel-1.14.4_1 sane-devel-1.1.1_1 libpcap-devel-1.10.3_1 cups-devel-2.4.2_3 ocl-icd-devel-2.3.1_1 vulkan-loader-1.3.231.2_1 gst-plugins-base1-devel-1.20.3_1 SDL2-devel-2.26.3_1 ... => wine-8.4_1: running do-fetch hook: 00-distfiles ... => wine-8.4_1: running do-extract hook: 00-distfiles ... => wine-8.4_1: extracting distfile(s), please wait... => wine-8.4_1: running do-patch hook: 00-patches ... => wine-8.4_1: patching: musl-limits.patch. => wine-8.4_1: patching: musl-rpath.patch. => wine-8.4_1: patching: musl-uid-t.patch. => wine-8.4_1: running post_patch ... /void-packages/srcpkgs/wine/template: line 79: ../wine-staging-8.4/patches/patchinstall.sh: No such file or directory => ERROR: wine-8.4_1: post_patch: '"../wine-staging-${_pkgver}/patches/patchinstall.sh" --all' exited with 127 => ERROR: in post_patch() at srcpkgs/wine/template:79 ``` ### Steps to reproduce 1. Build wine with staging option (`./xbps-src -o staging pkg wine`) 2. Issue happens at post_patch phase