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

--- Comment #4 from Ralf Habacker <ralf.habac...@freenet.de> ---
Hi,
i have a real world example for this: 

Building package kmymoney from master branch depends on using likalkimia from
git master branch, so I added  in the craft blueprint for kmymoney 

        if self.buildTarget != "master":
            self.runtimeDependencies["extragear/libalkimia"] = None
        else:
            self.runtimeDependencies["extragear/libalkimia"] = 'master'


After that running 

 craft --target master kmymoney 

still fetches libalkimia from the standard branch and not from the master
branch and fails to configure with 

CMake Error at CMakeLists.txt:151 (find_package):
  Could not find a configuration file for package "LibAlkimia5" that is
  compatible with requested version "8.1.72".

  The following configuration files were considered but not accepted:

    /home/user/CraftRoot/lib/cmake/LibAlkimia5-8.1/LibAlkimia5Config.cmake,
version: 8.1.2

I need to change the defaultTarget to 'master' in libalkimia.py  as workaround.

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

Reply via email to