Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1271107 > unrolled thread

Bug#1121159: librocm-smi-dev should depend on libdrm-dev

Started byGennaro Oliva <oliva@debian.org>
First post2025-11-22 01:10 +0100
Last post2025-11-29 11:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1121159: librocm-smi-dev should depend on libdrm-dev Gennaro Oliva <oliva@debian.org> - 2025-11-22 01:10 +0100
    Bug#1121159: librocm-smi-dev should depend on libdrm-dev Andreas Beckmann <anbe@debian.org> - 2025-11-29 11:10 +0100

#1271107 — Bug#1121159: librocm-smi-dev should depend on libdrm-dev

FromGennaro Oliva <oliva@debian.org>
Date2025-11-22 01:10 +0100
SubjectBug#1121159: librocm-smi-dev should depend on libdrm-dev
Message-ID<LTJmq-eKnx-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: librocm-smi-dev
Version: 6.4.1-1
Severity: important
X-Debbugs-Cc: oliva@debian.org
 
Dear Maintainer,

while building software that uses ROCm SMI (e.g. Slurm), I noticed that the
package librocm-smi-dev installs the header /usr/include/rocm_smi/kfd_ioctl.h
that unconditionally include libdrm/drm.h, but the package does not Depend or
on libdrm-dev.

This issue affects packages building against ROCm SMI (e.g. Slurm), making
configure tests fail with:

error: unable to locate librocm_smi64.so and/or rocm_smi.h

Please consider adding the appropriate Depends/Build-Depends. I am attaching a
patch that adds libdrm-dev to librocm-smi-dev to fix the missing header
dependency.

Thanks for your work.

-- System Information:
Debian Release: 12.12
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)

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

Versions of packages librocm-smi-dev depends on:
pn  librocm-smi64-1  <none>

librocm-smi-dev recommends no packages.

librocm-smi-dev suggests no packages.

-- 
Gennaro Oliva

[toc] | [next] | [standalone]


#1272067

FromAndreas Beckmann <anbe@debian.org>
Date2025-11-29 11:10 +0100
Message-ID<LWq3T-gBzK-3@gated-at.bofh.it>
In reply to#1271107
Control: severity -1 serious
Control: affects -1 + src:papi src:slurm-wlm

On Sat, 22 Nov 2025 01:00:20 +0100 Gennaro Oliva <oliva@debian.org> wrote:
> Package: librocm-smi-dev
> Version: 6.4.1-1

> while building software that uses ROCm SMI (e.g. Slurm), I noticed that the
> package librocm-smi-dev installs the header /usr/include/rocm_smi/kfd_ioctl.h
> that unconditionally include libdrm/drm.h, but the package does not Depend or
> on libdrm-dev.

This causes e.g. papi to FTBFS:

https://salsa.debian.org/hpc-team/papi/-/jobs/8661686#L2050


Andreas

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web