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


Groups > linux.debian.kernel > #80162 > unrolled thread

Bug#1050368: please provide full set of uAPI headers

Started byDmitry Baryshkov <dbaryshkov@gmail.com>
First post2023-08-23 19:20 +0200
Last post2023-09-03 13:50 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  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

#80162 — Bug#1050368: please provide full set of uAPI headers

FromDmitry Baryshkov <dbaryshkov@gmail.com>
Date2023-08-23 19:20 +0200
SubjectBug#1050368: please provide full set of uAPI headers
Message-ID<H5ZGp-3Txs-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#80169 — Processed: Re: Bug#1050368: please provide full set of uAPI headers

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-08-23 21:40 +0200
SubjectProcessed: Re: Bug#1050368: please provide full set of uAPI headers
Message-ID<H61RU-3UPb-7@gated-at.bofh.it>
In reply to#80162
Processing control commands:

> tags -1 moreinfo
Bug #1050368 [linux-libc-dev] please provide full set of uAPI headers
Added tag(s) moreinfo.

-- 
1050368: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050368
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#80170

FromBastian Blank <waldi@debian.org>
Date2023-08-23 21:40 +0200
Message-ID<H61RU-3UPb-5@gated-at.bofh.it>
In reply to#80162
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.

[toc] | [prev] | [next] | [standalone]


#80171

FromDmitry Baryshkov <dbaryshkov@gmail.com>
Date2023-08-23 23:00 +0200
Message-ID<H637j-3VAl-1@gated-at.bofh.it>
In reply to#80170
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

[toc] | [prev] | [next] | [standalone]


#80290 — Bug#1050368: marked as done (please provide full set of uAPI headers)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-09-03 13:50 +0200
SubjectBug#1050368: marked as done (please provide full set of uAPI headers)
Message-ID<H9TM6-6pjL-5@gated-at.bofh.it>
In reply to#80162

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

Your message dated Sun, 03 Sep 2023 11:40:55 +0000
with message-id <E1qclTL-001nCD-G4@fasolo.debian.org>
and subject line Bug#1050368: fixed in linux 6.5.1-1~exp1
has caused the Debian Bug report #1050368,
regarding please provide full set of uAPI headers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1050368: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050368
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web