Emerging media-libs/libsdl2-2.0.12-r1 fails with the following error: >>> Preparing source in /var/tmp/portage/media-libs/libsdl2-2.0.12-r1/work/SDL2-2.0.12 ... * Applying libsdl2-2.0.12-static-libs.patch ... [ ok ] * Applying libsdl2-2.0.12-vulkan-headers.patch ... [ ok ] * Applying vulkan.patch ... patching file src/video/SDL_vulkan_utils.c Hunk #1 FAILED at 85. 1 out of 1 hunk FAILED -- saving rejects to file src/video/SDL_vulkan_utils.c.rej [ !! ] * ERROR: media-libs/libsdl2-2.0.12-r1::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/media-libs/libsdl2-2.0.12-r1/vulkan.patch * * Call stack: * ebuild.sh, line 125: Called src_prepare * environment, line 3694: Called default * phase-functions.sh, line 855: Called default_src_prepare * phase-functions.sh, line 920: Called __eapi6_src_prepare * environment, line 1555: Called eapply_user * environment, line 2222: Called eapply '/etc/portage/patches/media-libs/libsdl2-2.0.12-r1/vulkan.patch' * environment, line 2192: Called _eapply_patch '/etc/portage/patches/media-libs/libsdl2-2.0.12-r1/vulkan.patch' * environment, line 2130: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/media-libs/libsdl2-2.0.12-r1/vulkan.patch' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" Reproducible: Always
Created attachment 653738 [details] emerge --info '=media-libs/libsdl2-2.0.12-r1::gentoo'
PEBKAC, my own patch conflicted with the one in the tree.