Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612918 - [RAP] app-text/poppler[qt4] - Building Poppler with support for qt4 seems to silently fail
Summary: [RAP] app-text/poppler[qt4] - Building Poppler with support for qt4 seems to ...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-17 14:39 UTC by Martin Mokrejš
Modified: 2018-09-11 07:50 UTC (History)
1 user (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 Martin Mokrejš 2017-03-17 14:39:32 UTC
On one host I cannot emerge qpdfview and indeed I do not have poppler-qt4.pc available in pkg-config. Althou the underlying cause is a qt4 support missing from poppler I wonder whether qpdfview ebuild could check more properly for the poppler-qt4 support.


 * Package:    app-text/qpdfview-0.4.16
 * Repository: gentoo
 * Maintainer: qt@gentoo.org
 * USE:        abi_x86_64 amd64 dbus elibc_glibc kernel_linux linguas_cs linguas_en_GB pdf prefix sqlite svg userland_GNU
 * FEATURES:   nostrip preserve-libs splitdebug
>>> Unpacking source...
>>> Unpacking qpdfview-0.4.16.tar.gz to /apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/work
>>> Source unpacked in /apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/work
>>> Preparing source in /apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/work/qpdfview-0.4.16 ...
 * Looking in translations for new locales ...
 [ ok ]
Updating 'translations/qpdfview_cs.qm'...
    Generated 350 translation(s) (0 finished and 350 unfinished)
Updating 'translations/qpdfview_en_GB.qm'...
    Generated 349 translation(s) (0 finished and 349 unfinished)
    Ignored 1 untranslated source text(s)
>>> Source prepared.
>>> Configuring source in /apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/work/qpdfview-0.4.16 ...
 * Running qmake ...
 [ ok ]
>>> Source configured.
>>> Compiling source in /apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/work/qpdfview-0.4.16 ...
make -j8 
/apps/gentoo/usr/lib64/qt4/bin/qmake /apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/work/qpdfview-0.4.16/pdf-plugin.pro QMAKE_AR=x86_64-pc-linux-gnu-ar\ cqs QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= QMAKE_CFLAGS=-O2\ -pipe\ -O2\ -pipe\ -march=native QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= QMAKE_CXXFLAGS=-O2\ -pipe\ -O2\ -pipe\ -march=native QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_LFLAGS=-Wl,-O1\ -Wl,--as-needed QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= QMAKE_LIBDIR_QT=/apps/gentoo/usr/lib64/qt4 QMAKE_LIBDIR_X11=/apps/gentoo/usr/lib64 QMAKE_LIBDIR_OPENGL=/apps/gentoo/usr/lib64 CONFIG+=without_cups\ without_djvu\ without_synctex\ without_ps PLUGIN_INSTALL_PATH=/apps/gentoo/usr/lib64/qpdfview -o Makefile.pdf-plugin
/apps/gentoo/usr/lib64/qt4/bin/qmake /apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/work/qpdfview-0.4.16/image-plugin.pro QMAKE_AR=x86_64-pc-linux-gnu-ar\ cqs QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= QMAKE_CFLAGS=-O2\ -pipe\ -O2\ -pipe\ -march=native QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= QMAKE_CXXFLAGS=-O2\ -pipe\ -O2\ -pipe\ -march=native QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_LFLAGS=-Wl,-O1\ -Wl,--as-needed QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= QMAKE_LIBDIR_QT=/apps/gentoo/usr/lib64/qt4 QMAKE_LIBDIR_X11=/apps/gentoo/usr/lib64 QMAKE_LIBDIR_OPENGL=/apps/gentoo/usr/lib64 CONFIG+=without_cups\ without_djvu\ without_synctex\ without_ps PLUGIN_INSTALL_PATH=/apps/gentoo/usr/lib64/qpdfview -o Makefile.image-plugin
/apps/gentoo/usr/lib64/qt4/bin/qmake /apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/work/qpdfview-0.4.16/application.pro QMAKE_AR=x86_64-pc-linux-gnu-ar\ cqs QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= QMAKE_CFLAGS=-O2\ -pipe\ -O2\ -pipe\ -march=native QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= QMAKE_CXXFLAGS=-O2\ -pipe\ -O2\ -pipe\ -march=native QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_LFLAGS=-Wl,-O1\ -Wl,--as-needed QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= QMAKE_LIBDIR_QT=/apps/gentoo/usr/lib64/qt4 QMAKE_LIBDIR_X11=/apps/gentoo/usr/lib64 QMAKE_LIBDIR_OPENGL=/apps/gentoo/usr/lib64 CONFIG+=without_cups\ without_djvu\ without_synctex\ without_ps PLUGIN_INSTALL_PATH=/apps/gentoo/usr/lib64/qpdfview -o Makefile.application
Package poppler-qt4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `poppler-qt4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'poppler-qt4' found
Project ERROR: Package poppler-qt4 not found
make: *** [Makefile:33: Makefile.pdf-plugin] Error 2
make: *** Waiting for unfinished jobs....
 * ERROR: app-text/qpdfview-0.4.16::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-text/qpdfview-0.4.16::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/qpdfview-0.4.16::gentoo'`.
 * The complete build log is located at '/apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/temp/build.log'.
 * The ebuild environment file is located at '/apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/temp/environment'.
 * Working directory: '/apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/work/qpdfview-0.4.16'
 * S: '/apps/gentoo/var/tmp/portage/app-text/qpdfview-0.4.16/work/qpdfview-0.4.16'

$ pkg-config --print-variables poppler-qt4
Package poppler-qt4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `poppler-qt4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'poppler-qt4' found
$


I even upgraded poppler from 0.51.0 to 0.52.0 (in both cases I had USE=qt4)
$ emerge -pv poppler

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] app-text/poppler-0.52.0:0/66::gentoo [0.51.0:0/66::gentoo] USE="cairo cxx introspection jpeg jpeg2k lcms png qt4 tiff utils -cjk -curl -debug -doc -nss -qt5 (-cairo-qt%)" 1653 KiB

Still, I do not have poppler-qt4:

$ pkg-config --list-all |  grep poppler
poppler-splash                      poppler-splash - Splash backend for Poppler PDF rendering library

(pkg-config:2696): GLib-CRITICAL **: g_string_insert_len: assertion 'len == 0 || val != NULL' failed
poppler-glib                        poppler-glib - GLib wrapper for poppler
poppler                             poppler - PDF rendering library
poppler-cpp                         poppler-cpp - cpp backend for Poppler PDF rendering library
poppler-cairo                       poppler-cairo - Cairo backend for Poppler PDF rendering library
poppler-data                        poppler-data - Encoding files for use with poppler
$


Turns out poppler did not actually compile with qt4 support:

>>> Emerging (1 of 1) app-text/poppler-0.52.0::gentoo
 * poppler-0.52.0.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking poppler-0.52.0.tar.xz to /apps/gentoo/var/tmp/portage/app-text/poppler-0.52.0/work
>>> Source unpacked in /apps/gentoo/var/tmp/portage/app-text/poppler-0.52.0/work
>>> Preparing source in /apps/gentoo/var/tmp/portage/app-text/poppler-0.52.0/work/poppler-0.52.0 ...
 * Applying poppler-0.26.0-qt5-dependencies.patch ...                                                                                                                                                                                                                                                                   [ ok ]
 * Applying poppler-0.28.1-fix-multilib-configuration.patch ...                                                                                                                                                                                                                                                         [ ok ]
 * Applying poppler-0.28.1-respect-cflags.patch ...                                                                                                                                                                                                                                                                     [ ok ]
 * Applying poppler-0.33.0-openjpeg2.patch ...                                                                                                                                                                                                                                                                          [ ok ]
 * Applying poppler-0.40-FindQt4.patch ...                                                                                                                                                                                                                                                                              [ ok ]
>>> Source prepared.
>>> Configuring source in /apps/gentoo/var/tmp/portage/app-text/poppler-0.52.0/work/poppler-0.52.0 ...
>>> Working in BUILD_DIR: "/apps/gentoo/var/tmp/portage/app-text/poppler-0.52.0/work/poppler-0.52.0_build"
cmake -C /apps/gentoo/var/tmp/portage/app-text/poppler-0.52.0/work/poppler-0.52.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/apps/gentoo/usr -DBUILD_GTK_TESTS=OFF -DBUILD_QT4_TESTS=OFF -DBUILD_QT5_TESTS=OFF -DBUILD_CPP_TESTS=OFF -DENABLE_SPLASH=ON -DENABLE_ZLIB=ON -DENABLE_ZLIB_UNCOMPRESS=OFF -DENABLE_XPDF_HEADERS=ON -DENABLE_LIBCURL=no -DENABLE_CPP=yes -DENABLE_UTILS=yes -DSPLASH_CMYK=OFF -DUSE_FIXEDPOINT=OFF -DUSE_FLOAT=OFF -DWITH_Cairo=yes -DWITH_GObjectIntrospection=yes -DWITH_JPEG=yes -DWITH_NSS3=no -DWITH_PNG=yes -DWITH_Qt4=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Core=ON -DWITH_TIFF=yes -DENABLE_LIBOPENJPEG=openjpeg2 -DENABLE_CMS=lcms2 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/apps/gentoo/var/tmp/portage/app-text/poppler-0.52.0/work/poppler-0.52.0_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/apps/gentoo/var/tmp/portage/app-text/poppler-0.52.0/work/poppler-0.52.0_build/gentoo_toolchain.cmake  /apps/gentoo/var/tmp/portage/app-text/poppler-0.52.0/work/poppler-0.52.0
...
-- Found Freetype: /apps/gentoo/usr/lib64/libfreetype.so (found version "2.7.1") 
-- Checking for module 'fontconfig'
--   Found fontconfig, version 2.12.1
-- Found Fontconfig: /apps/gentoo/usr/lib64/libfontconfig.so  
-- Found JPEG: /apps/gentoo/usr/lib64/libjpeg.so  
-- Found ZLIB: /apps/gentoo/usr/lib64/libz.so (found version "1.2.11") 
-- Found PNG: /apps/gentoo/usr/lib64/libpng.so (found version "1.6.28") 
-- Found TIFF: /apps/gentoo/usr/lib64/libtiff.so (found version "4.0.7") 
CMake Warning at CMakeLists.txt:116 (find_package):
  By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Gui", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Gui" with any
  of the following names:

    Qt5GuiConfig.cmake
    qt5gui-config.cmake

  Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
  "Qt5Gui_DIR" to a directory containing one of the above files.  If "Qt5Gui"
  provides a separate development package or SDK, be sure it has been
  installed.


CMake Warning at CMakeLists.txt:117 (find_package):
  By not providing "FindQt5Xml.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Xml", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Xml" with any
  of the following names:

    Qt5XmlConfig.cmake
    qt5xml-config.cmake

  Add the installation prefix of "Qt5Xml" to CMAKE_PREFIX_PATH or set
  "Qt5Xml_DIR" to a directory containing one of the above files.  If "Qt5Xml"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Package Qt5Core or Qt5Gui or Qt5Xml not found
-- Checking for module 'cairo>=1.10.0'
--   Found cairo, version 1.14.8
-- Found Cairo: /apps/gentoo/usr/lib64/libcairo.so (Required is at least version "1.10.0") 
-- Checking for modules 'glib-2.0>=2.41;gobject-2.0>=2.41;gio-2.0>=2.41'
--   Found glib-2.0, version 2.50.2
--   Found gobject-2.0, version 2.50.2
--   Found gio-2.0, version 2.50.2
-- Found GLib: gio-2.0;gobject-2.0;glib-2.0  
-- Checking for module 'gobject-introspection-1.0'
--   Found gobject-introspection-1.0, version 1.50.0
-- Checking for modules 'gtk+-3.0>=3.8;gdk-pixbuf-2.0'
--   Found gtk+-3.0, version 3.22.5
--   Found gdk-pixbuf-2.0, version 2.36.2
-- Found GTK: gtk-3;gdk-3;pangocairo-1.0;pango-1.0;atk-1.0;cairo-gobject;cairo;gio-2.0;gdk_pixbuf-2.0;gobject-2.0;glib-2.0  
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Iconv: /apps/gentoo/usr/lib64/libc.so
-- Checking for module 'libopenjp2'
--   Found libopenjp2, version 2.1.2
-- Checking for module 'lcms2'
--   Found lcms2, version 2.8
-- Found lcms version 2.08, /apps/gentoo/usr/lib64/liblcms2.so
-- Checking for module 'poppler-data'
--   Found poppler-data, version 0.4.7
...
Building Poppler with support for:
  font configuration:   fontconfig
  splash output:        yes
  cairo output:         yes
  qt4 wrapper:          no
  qt5 wrapper:          no
  glib wrapper:         yes
    introspection:      yes
  cpp wrapper:          yes
  use gtk-doc:          not supported with this CMake build system
  use libjpeg:          yes
  use libpng:           yes
  use libtiff:          yes
  use zlib compress:    yes
  use zlib uncompress:  no
  use nss3:             no
  use curl:             no
  use libopenjpeg:      yes
      with openjpeg2
  use cms:              yes
      with lcms2
  command line utils:   yes
  test data dir:        /apps/gentoo/var/tmp/portage/app-text/poppler-0.52.0/work/poppler-0.52.0/../test
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /apps/gentoo/usr
Compiler flags:
C               -Wall -O2 -pipe -O2 -pipe -march=native -std=c99
C++             -Wall -Wcast-align -fno-exceptions -fno-check-new -fno-common -O2 -pipe -O2 -pipe -march=native -Wnon-virtual-dtor -Woverloaded-virtual
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
Comment 1 Martin Mokrejš 2017-03-17 14:40:17 UTC
$ emerge --info
Portage 2.3.3 (python 2.7.12-final-0, prefix/linux-standalone/amd64, gcc-4.9.4, glibc-2.24-r1, 2.6.32-642.6.2.el6.Bull.104.x86_64 x86_64)
=================================================================
System uname: Linux-2.6.32-642.6.2.el6.Bull.104.x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E5-2670_0_@_2.60GHz-with-redhat-6.4-Santiago
KiB Mem:   131942608 total,  67752432 free
KiB Swap:   65536128 total,  65198040 free
Timestamp of repository gentoo: Thu, 16 Mar 2017 10:00:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            3.4.6-r2::gentoo, 4.1.2::gentoo, 4.2.4-r1::gentoo, 4.4.7::gentoo, 4.5.4::gentoo, 4.7.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo, 4.9.4::gentoo
sys-devel/gcc-config:     1.8_p20160608::rap
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /apps/gentoo/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    eclass-overrides: rap

rap
    location: /apps/gentoo/usr/portage-stage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/android.git
    masters: gentoo
    eclass-overrides: rap

x-portage
    location: /apps/gentoo/usr/local/portage
    masters: gentoo
    priority: 0
    eclass-overrides: rap

haskell
    location: /apps/gentoo/var/lib/layman/haskell
    masters: gentoo
    priority: 50
    eclass-overrides: rap

science
    location: /apps/gentoo/var/lib/layman/science
    masters: gentoo
    priority: 50
    eclass-overrides: rap

ACCEPT_KEYWORDS="amd64 ~amd64 ~amd64-linux"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 skype-eula Nero-EULA-US AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x Intel-SDP OPERA-2014"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -O2 -pipe -march=native"
DISTDIR="/apps/gentoo/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/apps/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/apps/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/apps/gentoo/var/tmp"
USE="X alsa amd64 apache apache2 avx berkdb boost bzip2 cairo cgi cli coin cracklib crypt cryptlib cxx dbus device-mapper dhcp dri emboss encode fax fbcon ffmpeg fontconfig fortran gbm gd gdbm gimp glpk gnutls gtk hal hwdb iconv imaging innodb ithreads java javafx javascript jce jpeg jpg js jscript keymap ladspa lapack lcms libnotify lm_sensors mad mmx modules mpi mpich2 mysql ncurses nfs nls nptl nptlonly nscd objc openmp openssl pcre pdf perl php png policykit polkit ppds pppd prefix python qt3support readline resolvconf seccomp server session sftp slideshow sndfile spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 suexec svg syslog tcl tcpd threads tiff tk truetype unicode usb v4l v4l2 vim-syntax vnc wavpack wifi x11 xcb xml xorg xrandr xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en_GB en cs" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-03-18 03:26:13 UTC
This is a problem with poppler - qpdfview depends correctly on poppler[qt4] and can't do much if a library that is supposed to be there isn't.

I'm pretty sure this is a prefix/rap issue, so assigning there - but please feel free to assign the relevant package maintainers if needed.
Comment 3 Andreas Sturmlechner gentoo-dev 2018-03-13 22:46:08 UTC
app-text/poppler[qt4] is going to be a thing of the past soon, so this may be obsolete without putting work into it.
Comment 4 Benda Xu gentoo-dev 2018-03-13 22:50:09 UTC
Hi Martin,

Does the bug remain for poppler[qt5]?
Comment 5 Andreas Sturmlechner gentoo-dev 2018-08-11 13:03:10 UTC
ping, poppler[qt4] is gone for some time.
Comment 6 Martin Mokrejš 2018-09-11 07:50:26 UTC
I can confirm I can compile poppler-0.67.0::gentoo with USE=qt5 on two Gentoo-Prefix hosts. I am not certain I am happy with bug #612918#c2 and I would still hope there could be a better error message caught in time, but I take it as it was a temporary glitch tyhen and no code change to the ebuild could even be done.