[Okular-devel] [okular] [Bug 360812] New: CMake fails to Locate poppler-qt4

Gianni via KDE Bugzilla bugzilla_noreply at kde.org
Mon Mar 21 13:42:06 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=360812

            Bug ID: 360812
           Summary: CMake fails to Locate poppler-qt4
           Product: okular
           Version: unspecified
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: nasus.maximos at gmail.com

A syntax error in FindPoppler.cmake causes CMake to not locate Poppler.

Reproducible: Always

Steps to Reproduce:
1. cmake ../source_dir

Actual Results:  
-- checking for module 'poppler-qt4'
--   found poppler-qt4, version 0.32.0
-- Performing Test HAVE_POPPLER_0_12_1
-- Performing Test HAVE_POPPLER_0_12_1 - Success
-- Performing Test HAVE_POPPLER_0_16
-- Performing Test HAVE_POPPLER_0_16 - Success
-- Performing Test HAVE_POPPLER_0_20
-- Performing Test HAVE_POPPLER_0_20 - Success
-- Performing Test HAVE_POPPLER_0_22
-- Performing Test HAVE_POPPLER_0_22 - Success
-- Performing Test HAVE_POPPLER_0_24
-- Performing Test HAVE_POPPLER_0_24 - Success
-- Performing Test HAVE_POPPLER_0_28
-- Performing Test HAVE_POPPLER_0_28 - Success
-- Performing Test HAVE_POPPLER_0_37
-- Performing Test HAVE_POPPLER_0_37 - Failed
CMake Warning (dev) at
/usr/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package):
  A logical block opening on the line

   
/var/tmp/portage/kde-apps/okular-15.12.3/work/okular-15.12.3/cmake/modules/FindPoppler.cmake:149
(if)

  closes on the line

   
/var/tmp/portage/kde-apps/okular-15.12.3/work/okular-15.12.3/cmake/modules/FindPoppler.cmake:165
(endif)

  with mis-matching arguments.
Call Stack (most recent call first):
  generators/CMakeLists.txt:5 (macro_optional_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.


Expected Results:  
-- checking for module 'poppler-qt4'
--   found poppler-qt4, version 0.32.0
-- Performing Test HAVE_POPPLER_0_12_1
-- Performing Test HAVE_POPPLER_0_12_1 - Success
-- Performing Test HAVE_POPPLER_0_16
-- Performing Test HAVE_POPPLER_0_16 - Success
-- Performing Test HAVE_POPPLER_0_20
-- Performing Test HAVE_POPPLER_0_20 - Success
-- Performing Test HAVE_POPPLER_0_22
-- Performing Test HAVE_POPPLER_0_22 - Success
-- Performing Test HAVE_POPPLER_0_24
-- Performing Test HAVE_POPPLER_0_24 - Success
-- Performing Test HAVE_POPPLER_0_28
-- Performing Test HAVE_POPPLER_0_28 - Success
-- Performing Test HAVE_POPPLER_0_37
-- Performing Test HAVE_POPPLER_0_37 - Failed
-- Found Poppler-Qt4: /usr/lib64/libpoppler-qt4.so, (>= 0.28)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list