Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915052 - media-libs/gegl-0.4.46 fails to configure with clang-17: ERROR: Dependency "openmp" not found, tried system
Summary: media-libs/gegl-0.4.46 fails to configure with clang-17: ERROR: Dependency "o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords:
: 915835 (view as bug list)
Depends on:
Blocks: 912821
  Show dependency tree
 
Reported: 2023-10-01 20:18 UTC by ppw0
Modified: 2023-10-16 05:48 UTC (History)
2 users (show)

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


Attachments
build log (media-libs:gegl-0.4.46:20231001-195442.log,8.57 KB, text/x-log)
2023-10-01 20:18 UTC, ppw0
Details
meson log (meson-log.txt,78.96 KB, text/plain)
2023-10-01 20:19 UTC, ppw0
Details
emerge --info (emerge_info.log,7.36 KB, text/x-log)
2023-10-01 20:19 UTC, ppw0
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***