[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#996811: intel-gpu-tools: missing-pkgconfig-dependency i915-perf => libdrm



Package: intel-gpu-tools
Version: 1.26-2
Severity: minor

The i915-perf.pc file in the package requires libdrm.pc but libdrm-dev
is not in the dependencies of the package.

This is a minor issue since the package doesn't contain the i915-perf C
headers that would be required to build other packages against the
i915-perf library. If the headers were present it would be of a higher
severity, probably important or serious.

I suggest the solution to this would be one of these two options:

 * Remove the i915-perf.pc file from intel-gpu-tools, as the header
   files are already excluded this may be the preferred option.
 * Split the i915-perf into separate libi915-perf1 and libi915-perf-dev
   packages, the latter would have the headers and pkg-config file.

I found and confirmed this issue using this set of commands:

   $ adequate intel-gpu-tools
   intel-gpu-tools: missing-pkgconfig-dependency i915-perf => libdrm
   
   $ man adequate | grep -A3 missing-pkgconfig-dependency
    missing-pkgconfig-dependency
    Dependency of a pkg-config (.pc) file shipped by this package couldn't be satisfied.
   
    References: Debian Policy §8.4.
   
   $ dpkg -L intel-gpu-tools | grep i915-perf.pc | xargs head -vn-0 | grep -E 'Requires|==>'
   ==> /usr/lib/x86_64-linux-gnu/pkgconfig/i915-perf.pc <==
   Requires: libdrm >= 2.4.92
   
   $ apt-file search libdrm.pc
   libdrm-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/libdrm.pc
   
   $ apt-cache show intel-gpu-tools | grep libdrm-dev
   
   $ dpkg -L intel-gpu-tools | grep i915.perf
   /usr/bin/i915-perf-configs
   /usr/bin/i915-perf-control
   /usr/bin/i915-perf-reader
   /usr/bin/i915-perf-recorder
   /usr/lib/x86_64-linux-gnu/libi915_perf.so.1
   /usr/lib/x86_64-linux-gnu/pkgconfig/i915-perf.pc
   /usr/lib/x86_64-linux-gnu/libi915_perf.so

-- System Information:
Debian Release: bookworm/sid
 APT prefers testing-debug
 APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 'testing-proposed-updates-debug'), (860, 'testing-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages intel-gpu-tools depends on:
ii libc6 2.32-4
ii libcairo2 1.16.0-5
ii libdrm-intel1 2.4.107-8
ii libdrm-nouveau2 2.4.107-8
ii libdrm2 2.4.107-8
ii libdw1 0.185-2
ii libglib2.0-0 2.70.0-1+b1
ii libkmod2 29-1
ii libpciaccess0 0.16-1
ii libpixman-1-0 0.40.0-1
ii libprocps8 2:3.3.17-5
ii libudev1 249.5-1
ii libunwind8 1.3.2-2
ii libx11-6 2:1.7.2-2+b1
ii libxext6 2:1.3.4-1
ii libxv1 2:1.0.11-1
ii zlib1g 1:1.2.11.dfsg-2

intel-gpu-tools recommends no packages.

intel-gpu-tools suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: