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

Bug#1050368: please provide full set of uAPI headers



On Wed, 23 Aug 2023 at 22:36, Bastian Blank <waldi@debian.org> 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


Reply to: