Source: xrt
Version: 1:2.21.70-1
Severity: serious

Hello, while debugging vart FTBFS I found that the xrt cmake tries to load a 
non-existing library.

But checking xrt build log I see it being built, so I guess it is just a matter 
of including it to the dev package?

-- building for edge OFF
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (found version 
"3.21.12")
-- Found importable target unilog::unilog: 
/usr/lib/x86_64-linux-gnu/libunilog.so.2.5.0
-- Found importable target xir::xir: /usr/lib/x86_64-linux-gnu/libxir.so.2.5.0
-- Found importable target target-factory::target-factory: 
/usr/lib/x86_64-linux-gnu/libtarget-factory.so.2.5.0
-- Found Threads: TRUE
CMake Error at /usr/share/cmake/XRT/xrt-targets.cmake:141 (message):
  The imported target "XRT::xrt_core_static" references the file

     "/usr/lib/x86_64-linux-gnu/libxrt_core.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/share/cmake/XRT/xrt-targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/share/cmake/XRT/xrt-config.cmake:58 (include)
  CMakeLists.txt:48 (find_package)



Then adding that file brings a new missing library:
/usr/lib/x86_64-linux-gnu/libxrt_swemu.so.2.21.70
/usr/lib/x86_64-linux-gnu/libxrt_swemu.a
/usr/lib/x86_64-linux-gnu/libxrt_hwemu.so.2.21.70
/usr/lib/x86_64-linux-gnu/libxrt_hwemu.a
/usr/lib/x86_64-linux-gnu/libxrt_noop.so.2.21.70
/usr/lib/python3/dist-packages/pyxrt.cpython-313-x86_64-linux-gnu.so

and so on...

CMake Error at xrt-device-handle/CMakeLists.txt:61 (message):
  cannot find xclIPName2Index


thanks for having a look,

G.

Reply via email to