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

            Bug ID: 393449
           Summary: Failure to build from source (CMake error)
           Product: digikam
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: digikam-bugs-n...@kde.org
          Reporter: lbeltr...@kde.org
  Target Milestone: ---

Since a while, digikam has failed to build in the OBS to a CMake error. Excerpt
from the log:

[  315s] -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
[  315s] -- Checking for module 'lcms2'
[  315s] --   Found lcms2, version 2.9
[  315s] -- Found lcms version 2.09, /usr/lib64/liblcms2.so
[  315s] -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.2.5") 
[  315s] -- Looking for pthread.h
[  315s] -- Looking for pthread.h - found
[  315s] -- Looking for pthread_create
[  316s] -- Looking for pthread_create - not found
[  316s] -- Looking for pthread_create in pthreads
[  316s] -- Looking for pthread_create in pthreads - not found
[  316s] -- Looking for pthread_create in pthread
[  316s] -- Looking for pthread_create in pthread - found
[  316s] -- Found Threads: TRUE  
[  316s] -- Found Exiv2: /usr/lib64/libexiv2.so (found suitable version
"0.26.0", minimum required is "0.26") 
[  316s] -- Checking for module 'libavcodec'
[  316s] --   No package 'libavcodec' found
[  316s] -- Checking for module 'libavfilter'
[  316s] --   No package 'libavfilter' found
[  316s] -- Checking for module 'libavformat'
[  316s] --   No package 'libavformat' found
[  316s] -- Checking for module 'libavdevice'
[  316s] --   No package 'libavdevice' found
[  316s] -- Checking for module 'libavutil'
[  316s] --   No package 'libavutil' found
[  316s] -- Checking for module 'libswscale'
[  316s] --   No package 'libswscale' found
[  316s] -- Checking for module 'libpostproc'
[  316s] --   No package 'libpostproc' found
[  316s] -- Could NOT find FFmpeg (missing: FFMPEG_LIBRARIES
FFMPEG_INCLUDE_DIRS AVCODEC_LIBRARIES AVCODEC_INCLUDE_DIRS AVFILTER_LIBRARIES
AVFILTER_INCLUDE_DIRS AVFORMAT_LIBRARIES AVFORMAT_INCLUDE_DIRS AVUTIL_LIBRARIES
AVUTIL_INCLUDE_DIRS SWSCALE_LIBRARIES SWSCALE_INCLUDE_DIRS) 
[  316s] -- FFMPEG_FOUND        = FALSE
[  316s] -- FFMPEG_INCLUDE_DIRS = 
[  316s] -- FFMPEG_LIBRARIES    = 
[  316s] -- FFMPEG_DEFINITIONS  = 
[  316s] -- QtAV search path: /usr/lib64/cmake
[  316s] -- Found QtAV: /usr/lib64/libQtAV.so;/usr/lib64/libQtAVWidgets.so  
[  316s] -- Found QtAV version 1.12.0
[  316s] -- QtAV_FOUND       = TRUE
[  316s] -- QtAV_INCLUDE_DIR = /usr/include/qt5/QtAV
/usr/include/qt5/QtAVWidgets
[  316s] -- QtAV_LIBRARIES   =
/usr/lib64/libQtAV.so;/usr/lib64/libQtAVWidgets.so
[  316s] -- QtAV_VERSION     = 1.12.0
[  316s] CMake Error at core/CMakeLists.txt:239 (if):
[  316s]   if given arguments:
[  316s] 
[  316s]     "AND" "AND" "AND" "AND"
[  316s] 
[  316s]   Unknown arguments specified
[  316s] 
[  316s] 
[  316s] -- Configuring incomplete, errors occurred!
[  316s] See also
"/home/abuild/rpmbuild/BUILD/digikam-5.7.0git1176~a6f70d0fda/build/CMakeFiles/CMakeOutput.log".
[  316s] See also
"/home/abuild/rpmbuild/BUILD/digikam-5.7.0git1176~a6f70d0fda/build/CMakeFiles/CMakeError.log".

My guess is something is not properly found, and is evaluated to a string
rather than a boolean like it should be, resulting in a syntax error.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to