openafs kernel module 1.4.8.dfsg1-2 doesnt build

Bug #333691 reported by BotLobsta
6
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: openafs-modules-source

The openafs kernel module version 1.4.8.dfsg1-2 doesnt build on jaunty with 2.6.28-8 kernel.

Here is the section of the make output with the error.

  CC [M] /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.o
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c: In function ‘xdr_DiskName’:
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-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-8-generic-MP/Kvice.xdr.c: In function ‘xdr_ViceDisk’:
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-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-8-generic-MP/Kvice.xdr.c: At top level:
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c:1512: error: expected declaration specifiers or ‘...’ before ‘ViceStatistics64’
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c: In function ‘xdr_ViceStatistics64’:
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c:1514: error: ‘objp’ undeclared (first use in this function)
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c:1514: error: (Each undeclared identifier is reported only once
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c:1514: error: for each function it appears in.)
  CC [M] /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.o
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c: In function ‘xdr_DiskName’:
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-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-8-generic-MP/Kvice.xdr.c: In function ‘xdr_ViceDisk’:
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-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-8-generic-MP/Kvice.xdr.c: At top level:
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c:1512: error: expected declaration specifiers or ‘...’ before ‘ViceStatistics64’
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c: In function ‘xdr_ViceStatistics64’:
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c:1514: error: ‘objp’ undeclared (first use in this function)
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c:1514: error: (Each undeclared identifier is reported only once
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.28-8-generic-MP/Kvice.xdr.c:1514: error: for each function it appears in.)

Attached is the full build log.

Revision history for this message
BotLobsta (kjenks-deactivatedaccount) wrote :
Revision history for this message
Anders Kaseorg (andersk) wrote :

Hmm. Works for me with openafs 1.4.8.dfsg1-2 on Jaunty amd64, kernel 2.6.28-8-generic.

Revision history for this message
Russ Allbery (rra-debian) wrote :

If you're using module-assistant, did you run m-a clean openafs since the previous time you built? Usually that's the problem with this particular error. If you don't run module-assistant clean, it will just unpack the source over top of your old build directory, which can result in all sorts of odd build problems.

Revision history for this message
Franklin Bynum (frabyn) wrote :

m-a clean worked! thanks, russ. we should be able to close this now.

Revision history for this message
Russ Allbery (rra-debian) wrote :

Actually a module-assistant invocation problem. Closing.

Changed in openafs:
status: New → Invalid
Revision history for this message
BotLobsta (kjenks-deactivatedaccount) wrote :

Thanks. It builds now. But it still wont work. But thats a different bug. My question is why doesnt m-a do a clean before each build? I didnt even know that option existed because it never appears as a choice anywhere when running m-a in interactive mode.

Revision history for this message
Russ Allbery (rra-debian) wrote : Re: [Bug 333691] Re: openafs kernel module 1.4.8.dfsg1-2 doesnt build

BotLobsta <email address hidden> writes:

> Thanks. It builds now. But it still wont work. But thats a different
> bug.

Yes, please file that.

> My question is why doesnt m-a do a clean before each build? I didnt
> even know that option existed because it never appears as a choice
> anywhere when running m-a in interactive mode.

I don't know. Might be worth a bug against m-a. I didn't realize this
problem myself until fairly recently.

--
Russ Allbery (<email address hidden>) <http://www.eyrie.org/~eagle/>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.