Dominic Hargreaves <[email protected]> writes:

> Package: openafs-modules-dkms
> Version: 1.6.1-2
> Severity: important

> During an upgrade from squeeze to wheezy, I saw this:

> Setting up openafs-modules-dkms (1.6.1-2) ...
> Removing old openafs-1.6.1 DKMS files...

[...]

> $ tail /var/lib/dkms/openafs/1.6.1/build/make.log
> rm -f AFS_component_version_number.c.NEW
> make[2]: Leaving directory `/var/lib/dkms/openafs/1.6.1/build/src/config'
> gcc  -O2 -I/var/lib/dkms/openafs/1.6.1/build/include -D_LARGEFILE64_SOURCE  
> -I. -c ./config.c
> In file included from /usr/include/bits/errno.h:25,
>                  from /usr/include/errno.h:36,
>                  from ./config.c:16:
> /usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
> make[1]: *** [config.o] Error 1
> make[1]: Leaving directory `/var/lib/dkms/openafs/1.6.1/build/src/config'
> make: *** [all] Error 2

I'm very confused, since I've been using openafs-dkms on wheezy for quite
some time and have never seen any problem like this.  It builds fine with
the current source and the current kernel.  I *think* this is something
specific to your local machine, although I'm not sure what.  Could you be
missing the complete set of linux-header packages, perhaps?

That file is provided by linux-headers-<version>-common:

./linux-headers-3.2.0-3-common/arch/x86/include/asm/errno.h
./linux-headers-3.2.0-3-common/include/linux/errno.h
./linux-headers-3.2.0-3-common/include/asm-generic/errno.h

The error is consistent with a missing -I flag that doesn't pick up the
arch/x86/include directory, but I don't know what would cause that.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to