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


Groups > linux.debian.kernel > #80171

Bug#1050368: please provide full set of uAPI headers

From Dmitry Baryshkov <dbaryshkov@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1050368: please provide full set of uAPI headers
Date 2023-08-23 23:00 +0200
Message-ID <H637j-3VAl-1@gated-at.bofh.it> (permalink)
References <H5ZGp-3Txs-3@gated-at.bofh.it> <H61RU-3UPb-5@gated-at.bofh.it> <H5ZGp-3Txs-3@gated-at.bofh.it> <H61RU-3UPb-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1050368: please provide full set of uAPI headers Dmitry Baryshkov <dbaryshkov@gmail.com> - 2023-08-23 19:20 +0200
  Processed: Re: Bug#1050368: please provide full set of uAPI headers "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-08-23 21:40 +0200
  Bug#1050368: please provide full set of uAPI headers Bastian Blank <waldi@debian.org> - 2023-08-23 21:40 +0200
    Bug#1050368: please provide full set of uAPI headers Dmitry Baryshkov <dbaryshkov@gmail.com> - 2023-08-23 23:00 +0200
  Bug#1050368: marked as done (please provide full set of uAPI headers) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-09-03 13:50 +0200

csiph-web