emerging app-text/ghostscript-gpl pull media-libs/openjpeg (direct dependency). But in fact media-libs/openjpeg is not necessary since ghostscript-gpl already have virtual/jpeg dependency. Furthermore app-text/ghostscript-gpl compile fine without media-libs/openjpeg.
Just regarding virtual/jpeg, media-libs/openjpeg cannot satisfy it - they're different libraries (jpg vs jpg2k).
(In reply to LABBE Corentin from comment #0) > emerging app-text/ghostscript-gpl pull media-libs/openjpeg (direct > dependency). > But in fact media-libs/openjpeg is not necessary since ghostscript-gpl > already have virtual/jpeg dependency. > Furthermore app-text/ghostscript-gpl compile fine without > media-libs/openjpeg. It used to compile fine since it had a bundled copy. That's gone now for security reasons. And as Michael says, the two libraries have different purposes.
It compile also fine without it as I said. So it is an optional dependency, please add an USE for it or remove it
Created attachment 465356 [details, diff] Add jpx USE flag for made openjpeg optional
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e913efa0dde9674b465f7741b6e00f0212649cd commit 4e913efa0dde9674b465f7741b6e00f0212649cd Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-01-27 14:47:17 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-01-27 15:10:48 +0000 app-text/ghostscript-gpl: allow building without media-libs/openjpeg Closes: https://bugs.gentoo.org/609222 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r5.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)