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

Re: consolidate linux-libc-dev headers



Hi!

On Mon, Dec 25, 2023 at 3:00 AM Bastian Blank <waldi@debian.org> wrote:
>
> On Sun, Dec 24, 2023 at 04:10:52PM +0100, Bastian Blank wrote:
> > On Sat, Dec 23, 2023 at 05:15:18PM +0100, Helmut Grohne wrote:
> > > I guess that the list of architectures will always be incomplete for
> > > some, so we probably still need a process for building a modified
> > > linux-libc-dev package only. This probably requires some build profiles.
> > > Is pkg.linux.nokernel pkg.linux.notools pkg.linux.quick a sensible set
> > > of profiles for this? Is there an easily patchable way to add an
> > > architecture?
> >
> > Let's see.  I have some changes pending that make config changes easier.
> >
> > Also we might be able to add a linux-libc-dev-arch that builds a
> > standalone version again and is only built with a special build profile,
> > but it still needs the package to know more information then dpkg does
> > provide.
> >
> > Or you inject a new reboostrap-specific package that just adds a
> > symlink /usr/lib/$DEB_HOST_MULTIARCH/asm pointing to the appropriate
> > /usr/lib/linux/uapi/$ARCH if linux-libc-dev does not include this.
>
> I think we can also just ship all Linux architectures.  We currently do
> ship 13 (becoming 14) of the 21 currently supported ones.  Then only the
> multiarch aliases are missing.

Unfortunately, there is no kernel to support loong64 in debian-ports.
>From my view, there is no package that can be built from a point, see:
https://buildd.debian.org/status/architecture.php?a=loong64&suite=sid

```
/usr/include/linux/types.h:5:10: fatal error: asm/types.h: No such
file or directory
    5 | #include <asm/types.h>
```
just one of these full buildd log:
https://buildd.debian.org/status/fetch.php?pkg=brightnessctl&arch=loong64&ver=0.5.1-3.1&stamp=1703466178&raw=0

So could we fix the issue with the MR?
https://salsa.debian.org/kernel-team/linux/-/merge_requests/879

Or something?

BR,
Bo
>
> Or, most likely bad idea, we teach the compiler or the libc to look into
> /usr/lib/linux/uapi.
>
> Bastian
>
> --
> What kind of love is that?  Not to be loved; never to have shown love.
>                 -- Commissioner Nancy Hedford, "Metamorphosis",
>                    stardate 3219.8
>


Reply to: