Bug#1050368: please provide full set of uAPI headers
On Wed, 23 Aug 2023 at 22:36, Bastian Blank wrote: > > Control: tags -1 moreinfo > > Hi Dmitry > > On Wed, Aug 23, 2023 at 08:10:17PM +0300, Dmitry Baryshkov wrote: > > The linux-libc-dev package provides only a limited set of uAPI headers. > > For example, scsi, drm, video, etc. headers are missing from the > > package. > > scsi headers are shipped by libc6-dev, see #550130: > > | libc6-dev:amd64: /usr/include/scsi/scsi.h This is a different header. $ ls -1R include/uapi/scsi/ include/uapi/scsi/: cxlflash_ioctl.h fc scsi_bsg_fc.h scsi_bsg_mpi3mr.h scsi_bsg_ufs.h scsi_netlink_fc.h scsi_netlink.h include/uapi/scsi/fc: fc_els.h fc_fs.h fc_gs.h fc_ns.h $ ls -1R /usr/include/scsi/ /usr/include/scsi/: scsi.h scsi_ioctl.h sg.h For example I wanted to use scsi_bsg_ufs.h to compile qbootctl. > drm headers are shipped by libdrm-dev, see #572067. This is not complete. Compare /usr/include/libdrm and include/uapi/drm. armada_drm.h, etnaviv_drm.h, exynos_drm.h, habanalabs_accel.h, ivpu_accel.h, lima_drm.h and several other headers are missing. I checked msm_drm.h, the header which I care about, it is heavily outdated. > video headers are shipped by linux-libc-dev: > > | linux-libc-dev:amd64: /usr/include/video/edid.h Ack, these are up-to-date. -- With best wishes Dmitry
Bug#1050368: please provide full set of uAPI headers
Control: tags -1 moreinfo Hi Dmitry On Wed, Aug 23, 2023 at 08:10:17PM +0300, Dmitry Baryshkov wrote: > The linux-libc-dev package provides only a limited set of uAPI headers. > For example, scsi, drm, video, etc. headers are missing from the > package. scsi headers are shipped by libc6-dev, see #550130: | libc6-dev:amd64: /usr/include/scsi/scsi.h drm headers are shipped by libdrm-dev, see #572067. video headers are shipped by linux-libc-dev: | linux-libc-dev:amd64: /usr/include/video/edid.h Bastian -- There's a way out of any cage. -- Captain Christopher Pike, "The Menagerie" ("The Cage"), stardate unknown.
Bug#1050368: please provide full set of uAPI headers
Package: linux-libc-dev Version: 6.4.4-3 Severity: normal The linux-libc-dev package provides only a limited set of uAPI headers. For example, scsi, drm, video, etc. headers are missing from the package. These headers are not a part of any standard, but are still useful for the userspace programs, they provide information about the kernel-userspace interfaces. Without these headers in the linux-libc-dev package (or any other package) we have either to install them manually or (for Debian packages needing them) bundle respective headers. -- With best wishes Dmitry -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.4.0-1-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/bash Init: systemd (via /run/systemd/system) -- no debconf information