Your message dated Wed, 18 Mar 2009 14:43:03 -0700
with message-id <[email protected]>
and subject line Re: Bug#520304: openafs-modules-source: Can't build openafs
kernel module with 2.6.28 kernel
has caused the Debian Bug report #520304,
regarding openafs-modules-source: Can't build openafs kernel module with 2.6.28
kernel
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
520304: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520304
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openafs-modules-source
Version: 1.4.8.dfsg1-2
Severity: normal
I'm trying to use kernel version 2.6.28.x on a lenny box. I've built
the kernel from source (using make-kpkg), and I'm using a backported
version of the openafs package (from testing). I grabbed 1.4.8dfsg1-2
because the changelog mentioned that it should support the 2.6.28
kernel.
The userland openafs builds fine, but when I try to build the kernel
module with module-assistant the build fails with the following error:
---------------------------------------------------------------------
...
CC [M]
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.o
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:
In function 'xdr_DiskName':
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:351:
warning: passing argument 2 of 'afs_xdr_opaque' from incompatible
pointer type
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:
In function 'xdr_ViceDisk':
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:685:
warning: passing argument 2 of 'xdr_DiskName' from incompatible pointer
type
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:
At top level:
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:1512:
error: expected declaration specifiers or '...' before
'ViceStatistics64'
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:
In function 'xdr_ViceStatistics64':
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:1514:
error: 'objp' undeclared (first use in this function)
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:1514:
error: (Each undeclared identifier is reported only once
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:1514:
error: for each function it appears in.)
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.c:1514:
error: 'STATS64_VERSION' undeclared (first use in this function)
make[5]: ***
[/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP/Kvice.xdr.o]
Error 1
make[4]: ***
[_module_/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP]
Error 2
make[4]: Leaving directory `/usr/local/src/linux/2.6.28/linux-2.6.28'
make[3]: *** [openafs.ko] Error 2
make[3]: Leaving directory
`/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-bp01-MP'
make[2]: *** [linux_compdirs] Error 2
make[2]: Leaving directory `/usr/src/modules/openafs/src/libafs'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/modules/openafs'
make: *** [build-stamp] Error 2
---------------------------------------------------------------------
I've tried building against linux kernel 2.6.28 and 2.6.28.8; getting
the same error for both versions.
Is this a known issue?
I'll try building the kernel module from the openafs 1.4.x stable CVS
branch to see if that addresses the issue.
Ben
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.28.8-bp01 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages openafs-modules-source depends on:
ii bison 1:2.3.dfsg-5 A parser generator that is compati
ii debhelper 7.0.15 helper programs for debian/rules
ii flex 2.5.35-6 A fast lexical analyzer generator.
ii kernel-package 11.015 A utility for building Linux kerne
ii module-assistant 0.10.11.0 tool to make module package creati
openafs-modules-source recommends no packages.
openafs-modules-source suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Ben Poliakoff <[email protected]> writes:
> Thanks, you were right on target:
>
> module-assistant clean openafs-modules
> module-assistant a-b openafs-modules
>
> worked flawlessly. Sorry for the false alarm, and thanks for the 'm-a
> clean' tip.
>
> I guess this bug can be closed.
No problem. Thanks for confirming!
--
Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/>
--- End Message ---