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

            Bug ID: 490690
           Summary: digiKam 8.4.0, Error at Configuring, CMake Error at
                    core/cmake/modules/FindLibheif.cmake:57
    Classification: Applications
           Product: digikam
           Version: 8.4.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: digikam-bugs-n...@kde.org
          Reporter: sighun...@gmx.de
  Target Milestone: ---

Created attachment 171922
  --> https://bugs.kde.org/attachment.cgi?id=171922&action=edit
bootstrap.linux log

SUMMARY
digiKam 8.4.0 aswell as latest git master (tested
ea22fa5a12ed7b7d2d66430719db65c031b849d0) fail to configure when trying to find
Libheif

CMake Error at core/cmake/modules/FindLibheif.cmake:57 (string):
  string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  core/CMakeLists.txt:56 (find_package)

-- Found Libheif: /usr/include
-- HEIF_FOUND        = TRUE
-- HEIF_INCLUDE_DIRS = /usr/include
-- HEIF_LIBRARIES    = /usr/lib64/libheif.so
-- HEIF_DEFINITIONS  = 
-- HEIF_VERSION      = 

See the full log attached


STEPS TO REPRODUCE
1. download digiKam 8.4.0, have libheif installed (in my case 1.17.6)
2. cd digikam-8.4.0
3. ./bootstrap.linux

OBSERVED RESULT
Configure ends with an error
"-- Configuring incomplete, errors occurred!"
Throws an error when detecting libheif but it actually found it, as far as i
can see 
CMake Error at core/cmake/modules/FindLibheif.cmake:57 (string):
  string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  core/CMakeLists.txt:56 (find_package)

-- Found Libheif: /usr/include
-- HEIF_FOUND        = TRUE
-- HEIF_INCLUDE_DIRS = /usr/include
-- HEIF_LIBRARIES    = /usr/lib64/libheif.so
-- HEIF_DEFINITIONS  = 
-- HEIF_VERSION      = 

--  libheif found............................ YES (optional)


EXPECTED RESULT
Configure should succeed

Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.10-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700K CPU @ 4.20GHz
Memory: 23.2 GiB of RAM
Graphics Processor: Mesa Intel® Arc

ADDITIONAL INFORMATION
Used tarball:
https://download.kde.org/stable/digikam/8.4.0/digiKam-8.4.0.tar.xz and git
clone https://invent.kde.org/graphics/digikam.git digikam
It is not a Gentoo packaging problem (in my opinion), as it happens with the
plain source tarball

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

Reply via email to