Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924126 - media-libs/imgui-1.87-r8 emerge failure - patching
Summary: media-libs/imgui-1.87-r8 emerge failure - patching
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-08 22:26 UTC by Scott Furry
Modified: 2024-02-17 02:40 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge log output (imgui-1.87-r8:20240208-221245.log,3.30 KB, text/x-log)
2024-02-08 22:27 UTC, Scott Furry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Furry 2024-02-08 22:26:33 UTC
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                                       
'''
Comment 1 Scott Furry 2024-02-08 22:27:26 UTC
Created attachment 884576 [details]
emerge log output
Comment 2 Gonçalo Negrier Duarte 2024-02-16 16:59:06 UTC
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.
Comment 4 Larry the Git Cow gentoo-dev 2024-02-17 02:40:13 UTC
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(-)