Bug 2292379

Summary: file not found (non-fatal) errors when running gimp3
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: gimp3Assignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 40CC: nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gimp3-2.99.18-8.fc39 gimp3-2.99.18-8.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2292427 (view as bug list) Environment:
Last Closed: 2024-06-26 01:26:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dominik 'Rathann' Mierzejewski 2024-06-14 10:19:52 UTC
Description of problem:
When running gimp3 from terminal, I get many "file not found" errors which seem to be non-fatal.

Version-Release number of selected component (if applicable):
gimp3-2.99.18-5.fc40.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. dnf install gimp3-2.99.18-5.fc40.x86_64
2. Run gimp-2.99 in a terminal

Actual results:
gimp-user-install: migrating from /home/rathann/.config/GIMP/2.10
This is a development version of GIMP.  Debug messages may appear here.

GEGL-WARNING: build program failure
fatal error: malformed or corrupted AST file: 'could not find file '/usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h' referenced by AST file '/tmp/comgr-b190a8/include/opencl1.2-c.pch''
1 error generated.
Error: Failed to compile source (from CL or HIP source to LLVM IR).



GEGL-WARNING: OpenCL Failed to compile color conversions (float_kernels)

Application icon missing: /usr/share/icons/hicolor/64x64/apps/gimp.png (Failed to open file “/usr/share/icons/hicolor/64x64/apps/gimp.png”: No such file or directory)
Application icon missing: /usr/share/icons/hicolor/scalable/apps/gimp.svg (Failed to open file “/usr/share/icons/hicolor/scalable/apps/gimp.svg”: No such file or directory)
GIMP-Message: Some fonts failed to load:
- /usr/share/gimp/2.99/fonts/

gimp_font_factory_load_names: 75 unsupported fonts were ignored. Set the GIMP_DEBUG_FONTS environment variable for a listing.
set device 'Virtual core XTEST pointer' to mode: disabled
set device 'Logitech M325' to mode: disabled
set device 'Logitech K520' to mode: disabled
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

INFO: not existing action 'windows-display-0010' was ignored from the shortcutsrc file.
[rathann@amaterasu ~]$ 
[rathann@amaterasu ~]$ 
[rathann@amaterasu ~]$ gimp-2.99
gimp-user-install: migrating from /home/rathann/.config/GIMP/2.10
This is a development version of GIMP.  Debug messages may appear here.

GEGL-WARNING: build program failure
fatal error: malformed or corrupted AST file: 'could not find file '/usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h' referenced by AST file '/tmp/comgr-b190a8/include/opencl1.2-c.pch''
1 error generated.
Error: Failed to compile source (from CL or HIP source to LLVM IR).



GEGL-WARNING: OpenCL Failed to compile color conversions (float_kernels)

Application icon missing: /usr/share/icons/hicolor/64x64/apps/gimp.png (Failed to open file “/usr/share/icons/hicolor/64x64/apps/gimp.png”: No such file or directory)
Application icon missing: /usr/share/icons/hicolor/scalable/apps/gimp.svg (Failed to open file “/usr/share/icons/hicolor/scalable/apps/gimp.svg”: No such file or directory)
GIMP-Message: Some fonts failed to load:
- /usr/share/gimp/2.99/fonts/

gimp_font_factory_load_names: 75 unsupported fonts were ignored. Set the GIMP_DEBUG_FONTS environment variable for a listing.
set device 'Virtual core XTEST pointer' to mode: disabled
set device 'Logitech M325' to mode: disabled
set device 'Logitech K520' to mode: disabled
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

INFO: not existing action 'windows-display-0010' was ignored from the shortcutsrc file.

Expected results:
No errors about missing files.

Additional info:
This error is I think easily fixable:
GEGL-WARNING: build program failure
fatal error: malformed or corrupted AST file: 'could not find file '/usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h' referenced by AST file '/tmp/comgr-b190a8/include/opencl1.2-c.pch''
1 error generated.
Error: Failed to compile source (from CL or HIP source to LLVM IR).

The file exists as:
/usr/lib/clang/17/include/opencl-c-base.h
but the path above doesn't, because /usr/lib64/llvm17/bin doesn't:
$ ls -l /usr/lib64/llvm17/bin
ls: cannot access '/usr/lib64/llvm17/bin': No such file or directory

After manually creating it, the error disappears. However, I think the path should be fixed instead to avoid parent directory relative references.

Comment 1 Nils Philippsen 2024-06-14 17:35:23 UTC
This latter error comes from libamd_comgr.so, I’ve cloned the bug against rocm-compilersupport as #2292427.

The references to unversioned `gimp.png` files are because I didn’t catch all places referring to the icons files when making the package installable in parallel to GIMP 2.x. I’ll update the patch.

Comment 2 Fedora Update System 2024-06-14 21:53:54 UTC
FEDORA-2024-d8b31192fb (gimp3-2.99.18-6.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-d8b31192fb

Comment 3 Fedora Update System 2024-06-14 21:57:07 UTC
FEDORA-2024-e04c38a56a (gimp3-2.99.18-6.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e04c38a56a

Comment 4 Fedora Update System 2024-06-16 01:23:01 UTC
FEDORA-2024-d8b31192fb has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-d8b31192fb \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-d8b31192fb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-06-16 01:40:19 UTC
FEDORA-2024-e04c38a56a has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e04c38a56a \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e04c38a56a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-06-18 01:36:07 UTC
FEDORA-2024-d8b31192fb has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-d8b31192fb \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-d8b31192fb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-06-18 02:29:23 UTC
FEDORA-2024-e04c38a56a has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e04c38a56a \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e04c38a56a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-06-26 01:26:37 UTC
FEDORA-2024-e04c38a56a (gimp3-2.99.18-8.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2024-06-26 01:55:01 UTC
FEDORA-2024-d8b31192fb (gimp3-2.99.18-8.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.