Bug#1118540: libucx-dev: The cmake config file ucx-targets.cmake.in needs one more level of ..

Jason Riedy jason at lovesgoodfood.com
Tue Oct 21 21:10:55 BST 2025


Package: libucx-dev
Severity: important

Pretty certain something like this was just fixed in OpenMPI, but I
didn't take sufficient notes. The ucx-targets.cmake.in prefix goes
upward by one too few directories.

Thanks for keeping a platform library going. It's easier than dealing
with the vendor criss-cross while just developing.

diff --git a/cmake/ucx-targets.cmake.in b/cmake/ucx-targets.cmake.in
index a38daba..763d0c6 100644
--- a/cmake/ucx-targets.cmake.in
+++ b/cmake/ucx-targets.cmake.in
@@ -4,7 +4,7 @@
# See file LICENSE for terms.
#

-get_filename_component(prefix "${CMAKE_CURRENT_LIST_DIR}/../../.." 
ABSOLUTE)
+get_filename_component(prefix "${CMAKE_CURRENT_LIST_DIR}/../../../.." 
ABSOLUTE)
set(exec_prefix "@exec_prefix@")

if(NOT TARGET ucx::ucs)

-- System Information:
Debian Release: forky/sid
APT prefers oldoldstable-security
APT policy: (500, 'oldoldstable-security'), (500, 'oldoldstable'), (500, 
'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.12+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE 
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libucx-dev depends on:
ii libucx0 1.19.0+ds-1

libucx-dev recommends no packages.

libucx-dev suggests no packages.



More information about the debian-science-maintainers mailing list