[Craft] [Bug 452111] New: dbus package could not be build with html documentation

Ralf Habacker bugzilla_noreply at kde.org
Thu Mar 31 15:16:51 BST 2022


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

            Bug ID: 452111
           Summary: dbus package could not be build with html
                    documentation
           Product: Craft
           Version: master
          Platform: Other
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Blueprints
          Assignee: vonreth at kde.org
          Reporter: ralf.habacker at freenet.de
                CC: kde-windows at kde.org
  Target Milestone: ---

SUMMARY

STEPS TO REPRODUCE
1.  install craft following the howto at
https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows#Installing_Craft
2. open dbus.py (see
https://invent.kde.org/packaging/craft-blueprints-kde/-/blob/master/libs/dbus/dbus.py#L97)
in editor 

in 

 def setTargets(self):

comment out 
        #self.targetConfigurePath["master"] = "cmake"

and set 
        self.defaultTarget = "master"

in 
def setDependencies(self):

add 
        self.runtimeDependencies["data/docbook-dtd"] = None
        self.runtimeDependencies["data/docbook-xsl"] = None

in
      class PackageCMake(CMakePackageBase):
           def __init__(self, **args):
            ...
set
           -DDBUS_ENABLE_XML_DOCS=ON 


3. run  craft dbus

OBSERVED RESULT
The build fails with 

-- Could NOT find DocBookXSL (missing: DocBookXSL_DIR)
CMake Error at doc/CMakeLists.txt:141 (add_dependencies):
  Cannot add target-level dependencies to non-existent target "xmldoc".
...


EXPECTED RESULT
The build show not fail

SOFTWARE/OS VERSIONS
Windows: 10

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


More information about the Kde-windows mailing list