Hi Samuel,
As part of an investigation to establish the feasibility of moving 32-bit
archs to 64-bit time_t, I am running an analysis of all header files in the
archive to determine which libraries' ABIs are affected. This requires the
headers in question to be compilable.
libhwloc-dev ships header files which have includes that are not satisfied
by its dependencies. For my purposes, I've worked around these unusable
headers by adding quirks to my scripts, but it seems worth reporting as a
bug that headers are being shipped that aren't usable.
- /usr/include/hwloc/cuda*.h include cuda.h from nvidia-cuda-dev, which a)
is not depended on, b) is only available on amd64, arm64, and ppc64el.
- /usr/include/hwloc/nvml.h includes nvml.h from libnvidia-ml-dev, same
as above.
- /usr/include/hwloc/levelzero.h includes level_zero/ze_api.h which does not
exist in Debian.
- /usr/include/hwloc/opencl.h includes CL/cl.h from opencl-c-headers.
- /usr/include/hwloc/openfabrics-verbs.h includes infiniband/verbs.h from
libibverbs-dev.
- /usr/include/hwloc/rsmi.h includes rocm_smi/rocm_smi.h which doesn't exist
in Debian.