[...] -- Found Freetype: /usr/lib/libfreetype.so (found version "2.8.0") -- Checking for module 'fontconfig' -- Found fontconfig, version 2.12.1 -- Found Fontconfig: /usr/lib/libfontconfig.so CMake Error at CMakeLists.txt:118 (message): Install libjpeg before trying to build poppler. You can also decide to use the internal unmaintained DCT decoder or none at all. -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/app-text/poppler-0.55.0/work/poppler-0.55.0_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/app-text/poppler-0.55.0/work/poppler-0.55.0_build/CMakeFiles/CMakeError.log". * ERROR: app-text/poppler-0.55.0::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 115: Called src_configure * environment, line 3163: Called cmake-utils_src_configure * environment, line 1019: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=app-text/poppler-0.55.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/poppler-0.55.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.55.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.55.0/temp/environment'. * Working directory: '/var/tmp/portage/app-text/poppler-0.55.0/work/poppler-0.55.0_build' * S: '/var/tmp/portage/app-text/poppler-0.55.0/work/poppler-0.55.0' * * The following package has failed to build, install, or execute postinst: * * (app-text/poppler-0.55.0:0/67::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/app-text/poppler-0.55.0/temp/build.log'
And fails with USE="-jpeg2k" also. It seems "-DENABLE_LIBJPEG=OFF" is valid for USE="-jpeg", "-DENABLE_LIBOPENJPEG=none" is valid for USE "-jpeg2k". See Upstream: https://cgit.freedesktop.org/poppler/poppler/commit/CMakeLists.txt?id=b286a6b5b1a63563263072305da04604cb022488 https://cgit.freedesktop.org/poppler/poppler/commit/CMakeLists.txt?id=65c5a5266462244130f110599ac5d1011a04216e
Thanks, fixed in git. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb1a320ada8a638591259e36535b46835491991