Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619568 - app-text/poppler-0.55.0 build failure with USE=-jpeg
Summary: app-text/poppler-0.55.0 build failure with USE=-jpeg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 16:33 UTC by Albert W. Hopkins
Modified: 2017-06-03 15:39 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2017-05-24 16:33:06 UTC
[...]
-- 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'
Comment 1 wjn 2017-05-24 17:22:37 UTC
 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
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-06-03 15:39:11 UTC
Thanks, fixed in git.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb1a320ada8a638591259e36535b46835491991