dev-libs/poppler-0.12.0 dev-libs/poppler-qt4-0.12.0 emerging okular-4.3.1 gives: -- Performing Test HAVE_POPPLER_0_6 -- Performing Test HAVE_POPPLER_0_6 - Success -- Performing Test HAVE_POPPLER_0_8 -- Performing Test HAVE_POPPLER_0_8 - Failed -- Found Poppler-Qt4: -lpoppler-qt4, (>= 0.6) And in CMakeFiles/CMakeError.log: /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -msse -msse2 -msse3 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_POPPLER_0_8 -fPIC -Wl,--as-needed CMakeFiles/cmTryCompileExec.dir/src.cxx.o -o cmTryCompileExec -rdynamic -lpoppler-qt4 /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtXml.so -Wl,-rpath,/usr/lib64/qt4 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/libpoppler-qt4.so: undefined reference to `GfxColorSpace::getDisplayProfile()' /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/libpoppler-qt4.so: undefined reference to `GfxColorSpace::setDisplayProfileName(GooString*)' /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/libpoppler-qt4.so: undefined reference to `GfxColorSpace::getRGBProfile()' /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/libpoppler-qt4.so: undefined reference to `GfxColorSpace::setDisplayProfile(void*)' collect2: ld gab 1 als Ende-Status zurück gmake[1]: *** [cmTryCompileExec] Fehler 1 gmake[1]: Leaving directory `/var/tmp/portage/kde-base/okular-4.3.1/work/okular-4.3.1_build/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec/fast] Fehler 2 Source file was: #include <poppler-qt4.h> #include <poppler-form.h> int main() { Poppler::FormFieldButton * button = 0; button->buttonType(); return 0; } As a result okularGenerator_poppler.so isn't built. Forcing HAVE_POPPLER_0_8:INTERNAL=1 in CMakeCache.txt gives working poppler support though so it only seems to be an issue with the check for >=poppler-0.8. Cheers, Sascha Reproducible: Always Steps to Reproduce: 1. emerge =poppler-0.12.0 =poppler-qt4-0.12.0 2. emerge =okular-4.3.1 3. see okularGenerator_poppler.so not being built
I can confirm this on ~amd64. But I can only test the workaround tomorrow...
Also confirm, same symptoms.
4.3.2, still present? Anyone?
Still present in 4.3.2. Workaround of editing the CMakeCache.txt worked.
I have no CMakeCache.txt file after running ebuild ... unpack. Where do I create this file?
After unpack, "ebuild ... configure", the file will be like /var/tmp/portage/kde-base/okular-4.3.2/work/okular-4.3.2_build/CMakeCache.txt Change the line to HAVE_POPPLER_0_8:INTERNAL=1
I thought I'd checked after running configure too, but apparently not. thanks, I've finally got okular working with poppler-0.12.0, which means I can now upgrade calibre.
Is the lcms use-flag set for dev-libs/poppler? If not, try setting it ( per http://forums.gentoo.org/viewtopic-t-792376.html ).
Right, setting the lcms flag for poppler fixed it for me. But okular runs totally fine without that flag. There seems to be a problem with poppler itself, using uncompiled functions. Failing code in configure: ------ #include <poppler-qt4.h> #include <poppler-form.h> int main() { Poppler::FormFieldButton * button = 0; button->buttonType(); return 0; } ------ # g++ -I/usr/include/poppler/qt4 -I/usr/include/poppler -I/usr/include/qt4 -o source source.c -lpoppler-qt4 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/libpoppler-qt4.so: undefined reference to `GfxColorSpace::getDisplayProfile()' /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/libpoppler-qt4.so: undefined reference to `GfxColorSpace::setDisplayProfileName(GooString*)' /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/libpoppler-qt4.so: undefined reference to `GfxColorSpace::getRGBProfile()' /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../lib64/libpoppler-qt4.so: undefined reference to `GfxColorSpace::setDisplayProfile(void*)' collect2: ld gab 1 als Ende-Status zurück
(In reply to comment #5) (Sorry for being a n00b), but how do I edit something in the unpacked files and continue emerging?
Well that patch of yours is more hack, because you force using internal poppler which has lcms already enabled :D so... I rather fixed the deps so they will be correct :P
I've got an error message: - virtual/poppler-0.10.7 (Missing IUSE: lcms) (dependency required by "kde-base/okular-4.3.2" [installed]) Indeed, there is no virtual/poppler[lcms] How can I fix it?.. ps my portage is: sys-apps/portage-2.2_rc46
Right, I guess my kde4 keywords file need to updated. I've added these packages: virtual/poppler dev-libs/poppler virtual/poppler-utils app-text/poppler-utils virtual/poppler-qt4 dev-libs/poppler-qt4
I have this problem. All popplers are unkeyworded. Okular requires poppler 0.10.7 which don't have flag lcms. dev-libs/poppler:0 ('ebuild', '/', 'dev-libs/poppler-0.10.7', 'merge') pulled in by ~dev-libs/poppler-0.10.7 required by ('ebuild', '/', 'virtual/poppler-0.10.7', 'merge') ('installed', '/', 'dev-libs/poppler-0.12.1', 'nomerge') pulled in by ~dev-libs/poppler-0.12.1 required by ('installed', '/', 'dev-libs/poppler-glib-0.12.1', 'nomerge') ~dev-libs/poppler-0.12.1[abiword] required by ('installed', '/', 'app-text/poppler-utils-0.12.1', 'nomerge') ~dev-libs/poppler-0.12.1 required by ('installed', '/', 'dev-libs/poppler-qt4-0.12.1', 'nomerge')
I kinda expected that 4.3.2 users will be using ~ stuff. Ok wired updated the deps for 4.3.2 too to match the 4.3.1.
(In reply to comment #15) > I kinda expected that 4.3.2 users will be using ~ stuff. Ok wired updated the > deps for 4.3.2 too to match the 4.3.1. > Hi, Tomáš ! Unfortunately, now emerge -avuDN yields: Calculating dependencies... done! !!! All ebuilds that could satisfy "virtual/poppler[lcms]" have been masked. !!! One of the following masked packages is required to complete your request: - virtual/poppler-0.12.1 (masked by: ~amd64 keyword) - virtual/poppler-0.12.0 (masked by: ~amd64 keyword) - virtual/poppler-0.10.6 (masked by: ~amd64 keyword) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by "kde-base/okular-4.3.2" [installed]) (dependency required by "kde-base/kdegraphics-meta-4.3.2" [installed]) (dependency required by "kde-base/kde-meta-4.3.2" [installed]) (dependency required by "world" [argument]) ALTHOUGH mammut ~ # equery list -p virtual/poppler * installed packages [I--] [ ] virtual/poppler-0.10.7 (0) <---------- [I--] [ ] virtual/poppler-glib-0.10.7 (0) [I--] [ ] virtual/poppler-qt3-0.10.7 (0) [I--] [ ] virtual/poppler-qt4-0.10.7 (0) [I--] [ ] virtual/poppler-utils-0.10.7 (0) * Portage tree (/usr/portage) [-P-] [ ] virtual/poppler-0.8.7 (0) [-P-] [ ] virtual/poppler-0.10.4 (0) [-P-] [ ] virtual/poppler-0.10.5 (0) [-P-] [M~] virtual/poppler-0.10.6 (0) <-------- [-P-] [M~] virtual/poppler-0.12.0 (0) [-P-] [M~] virtual/poppler-0.12.1 (0) ...
I updated the poppler dependency, it should be working for both stable and ~arch users now :)