Attempt to build package media-libs/imgui-1.87-r8 results in a failure during prepare stage. Emerge of package attempts to apply a patch file imgui-1.87-fpermissive.patch but will fail as target of patch cannot be located. Reproducible: Always Steps to Reproduce: Problem occurs during regular emerge update. Actual Results: Error output ''' * Build directory (BUILD_DIR): "/var/tmp/portage/media-libs/imgui-1.87-r8/work/cimgui-1.87_build" * Applying imgui-1.87-fpermissive.patch ... can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/imgui/backends/imgui_impl_allegro5.cpp |+++ b/imgui/backends/imgui_impl_allegro5.cpp -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored '''
Created attachment 884576 [details] emerge log output
Well the only change make recently was the multilib support to imgui to fix mangohud, so I think the patch was already broken to begin. I can install imgui-1.87-r8 (because of mangohud), but I will try to update the patch anyway since it already two year old.
It fix now: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?h=dev&id=e887b0bb7ed88c35f1e81fcf680ce35cf147d046
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e887b0bb7ed88c35f1e81fcf680ce35cf147d046 commit e887b0bb7ed88c35f1e81fcf680ce35cf147d046 Author: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com> AuthorDate: 2024-02-16 21:48:23 +0000 Commit: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com> CommitDate: 2024-02-16 21:50:06 +0000 media-libs/imgui: drop 1.87-r6, 1.87-r8, add 1.87-r9 * fix bug with patch applying before imgui folder be added Closes: https://bugs.gentoo.org/924126 Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com> media-libs/imgui/imgui-1.87-r6.ebuild | 113 --------------------- .../{imgui-1.87-r8.ebuild => imgui-1.87-r9.ebuild} | 13 ++- 2 files changed, 10 insertions(+), 116 deletions(-)