Created attachment 474348 [details] build.log app-text/poppler-0.55.0 build fails with USE=-jpeg2k: CMake Error at CMakeLists.txt:233 (message): Invalid ENABLE_LIBOPENJPEG value: 1) enabling jpeg2k is a workaround 2) removing the line "mycmakeargs+=(-DENABLE_LIBOPENJPEG=)" from the ebuild looks like a fix. tested locally: if use jpeg2k; then mycmakeargs+=(-DENABLE_LIBOPENJPEG=openjpeg2) -else - mycmakeargs+=(-DENABLE_LIBOPENJPEG=) fi
No 2 works for me. Thanks.
Same for me. I think the correct value of ENABLE_LIBOPENJPEG may be "none", but I am not sure.
This works for me: diff --git a/app-text/poppler/poppler-0.55.0.ebuild b/app-text/poppler/poppler-0.55.0.ebuild index 289730d1abc0..89984da6af6c 100644 --- a/app-text/poppler/poppler-0.55.0.ebuild +++ b/app-text/poppler/poppler-0.55.0.ebuild @@ -113,7 +113,7 @@ src_configure() { if use jpeg2k; then mycmakeargs+=(-DENABLE_LIBOPENJPEG=openjpeg2) else - mycmakeargs+=(-DENABLE_LIBOPENJPEG=) + mycmakeargs+=(-DENABLE_LIBOPENJPEG=none) fi if use lcms; then mycmakeargs+=(-DENABLE_CMS=lcms2)
Thanks, fixed in git. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb1a320ada8a638591259e36535b46835491991