Package: openafs-modules-source Version: 1.4.5~pre2.dfsg1-1 The openafs module does not build on an i386 userspace with an amd64 kernel, because the debian/module/sysname script uses `dpkg --print-architecture` to compute the sysname to pass to configure, which returns the architecture of the userspace instead of the kerenel.
# m-a -t build openafs … sh configure --with-afs-sysname=i386_linux26 \ … /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.18-5-amd64-MP/afs_vnop_flock.c:46: error: conflicting types for ‘lockIdSet’ The module builds and works fine if I somehow force it to configure --with-afs-sysname=amd64_linux26, for example: # MAKEFLAGS=SYS_NAME=amd64_linux26 m-a -t build openafs This should be detected automatically. Anders