[Pkg-oss4-maintainers] Bug#768394: Bug#768394: oss4-dkms: module FTBFS for Linux 3.16: endian.h: No such file or directory

Andreas Beckmann anbe at debian.org
Sat Nov 8 03:52:27 UTC 2014


On 2014-11-07 10:51, heroxbd at gentoo.org wrote:
> Thank you.  I couldn't reproduce it on my amd64 box with linux-3.16-3.
> The error message suggests a missing header of endian.h, which is in
> libc6-dev:amd64: /usr/include/endian.h
> 
> libc6-dev is pulled in by build-essential and dkms.
> 
> It might turn out to be a bug of piuparts.  I will set up a working
> piuparts to find it out.

piuparts uses chroots as minimal as possible. Installing Recommends is
disabled. The only thing piuparts additionally installs before testing a
-dkms package are linux-headers-amd64 and dkms. The piuparts test itself
will usually not fail, but afterwards the log is scanned for dkms failures.

There is no build-essential installed. dkms does not depend on
libc6-dev. The linux-headers-* package depends on the compiler needed to
build out-of-tree modules (since that must match the kernel).
If you need anything else, you need to depend on it. Instead of
libc6-dev better use the virtual package libc-dev because the real
package is named differently on several architectures.

Package: dkms
Version: 2.2.0.3-2
Depends: kmod | kldutils, gcc, make | build-essential | dpkg-dev,
coreutils (>= 7.4), patch
Recommends: fakeroot, menu | sudo, linux-headers-686-pae |
linux-headers-amd64 | linux-headers-generic | linux-headers, linux-image


Andreas



More information about the Pkg-oss4-maintainers mailing list