Public bug reported:

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
-------------------------------------------------------------------------

** Affects: openafs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: openafs

** Attachment added: "resulting make.log when trying to install 
openafs-modules-dkms"
   https://bugs.launchpad.net/bugs/1436559/+attachment/4356089/+files/make.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1436559

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/1436559/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to