openafs-modules-dkms (1.6.9-2) fails to build

Bug #1436559 reported by seth goldstein
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1) Version of Ubuntu:

$ lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10

2) Version of Package

$ apt-cache policy openafs-modules-dkms
openafs-modules-dkms:
  Installed: 1.6.9-2
  Candidate: 1.6.9-2
  Version table:
 *** 1.6.9-2 0
        500 http://us.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen

That the package would build resulting in a valid 'openafs.ko' created in /lib/modules/3.16.0-33-generic/fs/openafs.ko

4) What happened instead

It failed to build and printed:

Error! Bad return status for module build on kernel: 3.16.0-33-generic (x86_64)

Summary:

I tried to install openafs-modules-dkms to get openafs working on 14.10. It fails to build (attaching the make.log), but in short libafs/MODLOAD-3.16.0-33-generic-SP/afs_daemons.o fails to build.

------------ from make.log
/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-33-generic-SP/afs_daemons.c: In function ‘afs_CheckRootVolume’:
/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-33-generic-SP/afs_daemons.c:403:24: error: ‘struct dentry’ has no member named ‘d_alias’
       list_del_init(&dp->d_alias);
                        ^
/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-33-generic-SP/afs_daemons.c:404:19: error: ‘struct dentry’ has no member named ‘d_alias’
       list_add(&dp->d_alias, &(AFSTOV(vcp)->i_dentry));
                   ^
/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-33-generic-SP/afs_daemons.c:404:30: warning: passing argument 2 of ‘list_add’ from incompatible pointer type
       list_add(&dp->d_alias, &(AFSTOV(vcp)->i_dentry));
                              ^
In file included from include/linux/wait.h:6:0,
                 from /var/lib/dkms/openafs/1.6.9/build/src/afs/sysincludes.h:124,
                 from /var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-33-generic-SP/afs_daemons.c:19:
include/linux/list.h:60:20: note: expected ‘struct list_head *’ but argument is of type ‘struct hlist_head *’
 static inline void list_add(struct list_head *new, struct list_head *head)
                    ^
scripts/Makefile.build:257: recipe for target '/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-33-generic-SP/afs_daemons.o' failed
make[4]: *** [/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-33-generic-SP/afs_daemons.o] Error 1
Makefile:1345: recipe for target '_module_/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-33-generic-SP' failed
make[3]: *** [_module_/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-33-generic-SP] Error 2
-------------------------------------------------------------------------

Tags: openafs
Revision history for this message
seth goldstein (seth-u) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openafs (Ubuntu):
status: New → Confirmed
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.