Skip to content

Possible Packaging or Build Issue? cmake issues

Description:

While attempting to build kodi/xbmc from git, I run into the following. Downgrading to 2.14.3 fixes it.

CMake Error at /usr/lib/cmake/libxml2/libxml2-config.cmake:53 (if):
  Flow control statements are not properly nested.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:78 (find_package)
  /usr/lib/cmake/libxslt/libxslt-config.cmake:70 (find_dependency)
  cmake/modules/FindXSLT.cmake:71 (find_package)
  cmake/scripts/common/Macros.cmake:378 (find_package)
  cmake/scripts/common/Macros.cmake:428 (find_package_with_ver)
  CMakeLists.txt:291 (core_optional_dep)


CMake Error at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:78 (find_package):
  find_package Error reading CMake code from
  "/usr/lib/cmake/libxml2/libxml2-config.cmake".
Call Stack (most recent call first):
  /usr/lib/cmake/libxslt/libxslt-config.cmake:70 (find_dependency)
  cmake/modules/FindXSLT.cmake:71 (find_package)
  cmake/scripts/common/Macros.cmake:378 (find_package)
  cmake/scripts/common/Macros.cmake:428 (find_package_with_ver)
  CMakeLists.txt:291 (core_optional_dep)

Additional info:

  • package version(s):
  • config and/or log files:
  • link to upstream bug report, if any:

Steps to reproduce:

  1. Step 1
  2. Step 2
  3. ...
Edited by Matt P
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information