[Craft] [Bug 454941] New: Binary-factory : "RelWithDebInfo" OpenCV library targets not found while configuring digiKam.

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Jun 6 20:14:03 BST 2022


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

            Bug ID: 454941
           Summary: Binary-factory : "RelWithDebInfo" OpenCV library
                    targets not found while configuring digiKam.
           Product: Craft
           Version: master
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Blueprints
          Assignee: vonreth at kde.org
          Reporter: caulier.gilles at gmail.com
                CC: kde-windows at kde.org
  Target Milestone: ---

Hi,

Look the configuring stage of digiKam under MSVC from the binary-factory. All
OpenCV targets are not found by cmake and compilation is broken. Example :

18:59:35  -- Configuring done
18:59:45  CMake Warning (dev) in core/CMakeLists.txt:
18:59:45    Policy CMP0111 is not set: An imported target missing its location
property
18:59:45    fails during generation.  Run "cmake --help-policy CMP0111" for
policy
18:59:45    details.  Use the cmake_policy command to set the policy and
suppress this
18:59:45    warning.
18:59:45  
18:59:45    IMPORTED_IMPLIB not set for imported target "opencv_core"
configuration
18:59:45    "RelWithDebInfo".
18:59:45  This warning is for project developers.  Use -Wno-dev to suppress it.
18:59:45  
18:59:45  CMake Warning (dev) in core/CMakeLists.txt:
18:59:45    Policy CMP0111 is not set: An imported target missing its location
property
18:59:45    fails during generation.  Run "cmake --help-policy CMP0111" for
policy
18:59:45    details.  Use the cmake_policy command to set the policy and
suppress this
18:59:45    warning.
18:59:45  
18:59:45    IMPORTED_IMPLIB not set for imported target "opencv_objdetect"
18:59:45    configuration "RelWithDebInfo".
18:59:45  This warning is for project developers.  Use -Wno-dev to suppress it.
18:59:45  
18:59:45  CMake Warning (dev) in core/CMakeLists.txt:
18:59:45    Policy CMP0111 is not set: An imported target missing its location
property
18:59:45    fails during generation.  Run "cmake --help-policy CMP0111" for
policy
18:59:45    details.  Use the cmake_policy command to set the policy and
suppress this
18:59:45    warning.
18:59:45  
18:59:45    IMPORTED_IMPLIB not set for imported target "opencv_imgproc"
configuration
18:59:45    "RelWithDebInfo".
18:59:45  This warning is for project developers.  Use -Wno-dev to suppress it.
18:59:45  
...

Full log file can be found here :

https://binary-factory.kde.org/view/Windows%2064-bit/job/Digikam_Nightly_win64/952/console

Note : digiKam compile fine under MSVC from the KDE build :

https://build.kde.org/view/OS%20-%20Windows/job/Extragear/job/digikam/job/kf5-qt5%20WindowsMSVCQt5.15/2284/consoleFull

As both uses Craft, so there is something wrong in binary-factory
infrastructure...

Best regards

Gilles Caulier

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list