[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help needed for glbinding: CMake fails in autopkgtest



Hi,

I wanted to fix all Debian Science packages that fulfill the Bug of the
Day criteria.  Glbinding was the last one but unfortunately there is
some cmake issue inside the autopkgtest. I have no idea how to fix this.
Please have a look at the Salsa CI output:

   https://salsa.debian.org/science-team/glbinding/-/jobs/6657234

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/glbinding/glbinding-export.cmake:71 (set_target_properties):
  The link interface of target "glbinding::glbinding" contains:
    KHR::KHR
  but the target was not found.  Possible reasons include:
    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/glbinding/glbinding-config.cmake:1 (include)
  CMakeLists.txt:7 (find_package)
CMake Error at glbinding-test/CMakeLists.txt:83 (target_link_libraries):
  Target "glbinding-test" links to:
    glbinding::glbinding-aux
  but the target was not found.  Possible reasons include:
    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.
-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.


BTW, I've turned the autopkgtest into a script users can run localy via

   sh /usr/share/doc/libglbinding-dev/run-unit-test

This is reproducing the error provided you have installed all Test-Depends
locally.

Any help is welcome
   Andreas.

-- 
https://fam-tille.de


Reply to: