Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 915052

Summary: media-libs/gegl-0.4.46 fails to configure with clang-17: ERROR: Dependency "openmp" not found, tried system
Product: Gentoo Linux Reporter: ppw0
Component: Current packagesAssignee: Sergey Torokhov <torokhov-s-a>
Status: RESOLVED FIXED    
Severity: normal CC: erhard_f, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 912821    
Attachments: build log
meson log
emerge --info

Description ppw0 2023-10-01 20:18:46 UTC
Created attachment 871977 [details]
build log

In a clang-17[default-libcxx] environment, emerging media-libs/gegl-0.4.46 will fail in the configure stage:
---
Run-time dependency maxflow found: NO (tried pkgconfig and cmake)
Dependency OpenEXR skipped: feature openexr disabled
Run-time dependency OpenMP found: NO (tried system)

meson.build:413:12: ERROR: Dependency "openmp" not found, tried system
---

Attaching logs.
Comment 1 ppw0 2023-10-01 20:19:10 UTC
Created attachment 871978 [details]
meson log
Comment 2 ppw0 2023-10-01 20:19:27 UTC
Created attachment 871979 [details]
emerge --info
Comment 3 Sergey Torokhov 2023-10-14 08:25:25 UTC
This is meson package caused issue [1] that was fixed in meson-1.2.2 (already is in the portage tree). It's related to llvm-17 uses OpenMP 5.1 by default.

[1] https://github.com/mesonbuild/meson/pull/12284
Comment 4 Sergey Torokhov 2023-10-16 05:48:35 UTC
*** Bug 915835 has been marked as a duplicate of this bug. ***