Public bug reported:

Bug type: packaging RFE (wishlist)


Summary
-------

Ubuntu's rdma-core source package ships individual development packages
— libibverbs-dev, libibumad-dev, librdmacm-dev, ibverbs-utils — but
no single rdma-core-dev meta-package that pulls them all in.

Many out-of-tree kernel-module projects (Lustre, ZFS-on-RDMA, NCCL
custom builds, custom RDMA backends) document rdma-core-dev as their
build dependency name, matching the RHEL / Fedora packaging convention
where rdma-core-devel is the standard meta-package. Users on Ubuntu
have to enumerate the sub-packages individually or fail at configure
time with unhelpful errors. The sub-package list is also poorly
discoverable for first-time RDMA builders on Ubuntu.

Compounding the friction: libtirpc-dev (TI-RPC, needed for ZFS configure
on systems where libc no longer ships sunrpc) is also a separate
package not always documented in upstream READMEs that target both
RHEL and Ubuntu families.


Reproduction
------------

On Ubuntu 24.04 LTS (Noble) ARM64 — same behavior on x86_64 and
earlier LTS releases:

  $ sudo apt install rdma-core-dev
  E: Unable to locate package rdma-core-dev

The user must know the sub-package list (libibverbs-dev libibumad-dev
librdmacm-dev ibverbs-utils) to proceed.


Expected
--------

  $ sudo apt install rdma-core-dev

succeeds and pulls in the standard set of RDMA development files,
matching the RHEL/Fedora rdma-core-devel convention.


Where this surfaces in practice
-------------------------------

Encountered while building Lustre master and NFSoRDMA stacks on Ubuntu
24.04 ARM64 (NVIDIA DGX Spark, kernel 6.17.0-1014-nvidia) for a
personal AI infrastructure lab. Both build paths reference rdma-core-dev
in their documentation and require manually enumerating Ubuntu's
sub-packages.

Public reproduce kit (build cascade documented end-to-end, includes
the Ubuntu sub-package enumeration as a workaround):

https://github.com/knachiketa04/aihomelab/tree/main/artifacts/training/lustre-
on-uma-workstations/reproduce


Suggested fix
-------------

Introduce an rdma-core-dev meta-package in Ubuntu's rdma-core source
that depends on at minimum:

  - libibverbs-dev
  - libibumad-dev
  - librdmacm-dev
  - ibverbs-utils

Maps cleanly to the existing RHEL/Fedora convention, reduces friction
for any out-of-tree RDMA-aware project building on Ubuntu, and is a
purely additive change (no existing package is renamed or removed).


Workaround for users today
--------------------------

Enumerate the sub-packages explicitly in build documentation:

  sudo apt install libibverbs-dev libibumad-dev librdmacm-dev \
                   ibverbs-utils libtirpc-dev


Affects
-------

  Ubuntu 24.04 LTS (Noble) — confirmed on ARM64
  Likely affects all currently supported Ubuntu releases (no
  rdma-core-dev meta-package in any release I've checked).

** Affects: rdma-core (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: packaging rdma wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152129

Title:
  Add rdma-core-dev meta-package matching RHEL/Fedora convention to ease
  out-of-tree RDMA builds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rdma-core/+bug/2152129/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to