On Thu, 2020-04-30 at 19:26:46 +0200, Max Kellermann wrote: > On 2020/04/30 18:32, Guillem Jover <guil...@debian.org> wrote: > > You are missing the linux-libc-dev package which gets pulled in by the > > libc6-dev package. > > linux-libc-dev, libc6-dev and build-essential are all installed.
I assume then that your linux-libc-dev is older than 5.1, which is when that header got introduced? Are you building in testing/sid? > > I'd recommend just installing the build-essential package, which is > > what every package in Debian can assume being present when being built. > > .. but if you believe these are required, but not installed, then why > does this -dev package not depend on them? For the same reason we do not declare Depends on essential packages, or Build-Depends on build-essential packages. I think adding this explicitly for a -dev is fine, and helpful for users, but the environment expected to build stuff in Debian assumes build-essential. > In any case, no matter how you turn it around, it's a package bug. Not necessarily. :) Thanks, Guillem