Created attachment 780296 [details] emerge output Packages that depend on media-libs/openjpeg can't pass configure phase(cmake), even though openjpeg is installed. For example app-text/poppler and net-libs/webkit-gtk. emerge output is in the attachment.
I too see this problem when building ffmpeg. It seems that the pkgconfig file installed by openjpeg-2.5.0 is faulty: With openjpeg-2.4.0-r3 I get: > #pkg-config --cflags libopenjp2 > -I/usr/include/openjpeg-2.4 With openjpeg-2.5.0 I get: > #pkg-config --cflags libopenjp2 > i.e. it no longer prints the include path. The openjpeg-2.5.0 pkgconfig file libopenjp2.pc contains the line: > includedir=${prefix}/include instead of > includedir=${prefix}/include/openjpeg-2.5.0
Yes, the pkgconfig file is broken in 2.5.0. I think bug 694776 has ended up tracking this issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf92bccd8ffd7dc4ff4b32b465fa5e34ca04a564 commit bf92bccd8ffd7dc4ff4b32b465fa5e34ca04a564 Author: Thomas Bracht Laumann Jespersen <t@laumann.xyz> AuthorDate: 2022-05-23 11:33:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-23 17:26:28 +0000 media-libs/openjpeg: add 2.5.0-r1, fix includedir Bug: https://bugs.gentoo.org/694776 Closes: https://bugs.gentoo.org/847058 Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Closes: https://github.com/gentoo/gentoo/pull/25607 Signed-off-by: Sam James <sam@gentoo.org> media-libs/openjpeg/files/openjpeg-2.5.0-gnuinstalldirs.patch | 4 ++-- .../openjpeg/{openjpeg-2.5.0.ebuild => openjpeg-2.5.0-r1.ebuild} | 0 2 files changed, 2 insertions(+), 2 deletions(-)
*** Bug 847118 has been marked as a duplicate of this bug. ***
*** Bug 847082 has been marked as a duplicate of this bug. ***
*** Bug 847079 has been marked as a duplicate of this bug. ***
*** Bug 847076 has been marked as a duplicate of this bug. ***