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

            Bug ID: 356745
           Summary: kpackage optional dependency on kdoctools fails with
                    5.16.0
           Product: frameworks-package
           Version: unspecified
          Platform: Compiled Sources
                OS: OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: default
          Assignee: notm...@gmail.com
          Reporter: rjvber...@gmail.com

kpackage has an optional dependency on kdoctools (making it an optional tier3
framework??) ; starting with 5.17.0 this dependency fails to accept kdoctools v
5.16.0

Reproducible: Always

Steps to Reproduce:
1. start upgrading the tier2 frameworks from 5.16.0 to 5.17.0 preparing them
all for installation in one final step
2. configure KPackage
3.

Actual Results:  
CMake fails with the error

CMake Warning at CMakeLists.txt:49 (find_package):
  Could not find a configuration file for package "KF5DocTools" that is
  compatible with requested version "5.17.0".

  The following configuration files were considered but not accepted:

    /opt/local/lib/cmake/KF5DocTools/KF5DocToolsConfig.cmake, version: 5.16.0
    /Volumes/Debian/MP9/lib/cmake/KF5DocTools/KF5DocToolsConfig.cmake, version:
5.16.0



CMake Error at CMakeLists.txt:116 (kdoctools_install):
  Unknown CMake command "kdoctools_install".



Expected Results:  
CMake should succeed. If kdoctools 5.16.0 is really not usable for some reason,
the dependency should be dropped because it's supposed to be optional.

Removing the version specification from the kdoctools find_package command will
let kdoctools 5.16.0 be accepted, and the build seems to complete just fine.

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

Reply via email to