[OpenAFS-devel] Openafs 1.6.10 does not build on Fedora 21

Dave Botsch botsch@cnf.cornell.edu
Mon, 19 Jan 2015 00:28:46 -0500


perhaps this is known and I should be trying a pre of 1.6.11 instead?

Anyway, 1.6.10 build gives:


  CC [M]
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-SP/afs_daemons.o
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-SP/afs_daemons.c:
In function 'afs_CheckRootVolume':
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-SP/afs_daemons.c:403:24:
error: 'struct dentry' has no member named 'd_alias'
       list_del_init(&dp->d_alias);
                        ^
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-SP/afs_daemons.c:404:19:
error: 'struct dentry' has no member named 'd_alias'
       list_add(&dp->d_alias, &(AFSTOV(vcp)->i_dentry));
                   ^
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-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
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/afs/sysincludes.h:124,
                 from
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-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
'/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-SP/afs_daemons.o'
failed
make[6]: ***
[/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-SP/afs_daemons.o]
Error 1
Makefile:1377: recipe for target
'_module_/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-SP'
failed
make[5]: ***
[_module_/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-SP]
Error 2
make[5]: Leaving directory '/usr/src/kernels/3.17.8-300.fc21.x86_64'
FAILURE: make exit code 2
Makefile.afs:241: recipe for target 'openafs.ko' failed
make[4]: *** [openafs.ko] Error 1
make[4]: Leaving directory
'/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs/MODLOAD-3.17.8-300.fc21.x86_64-SP'
Makefile:138: recipe for target 'linux_compdirs' failed
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory
'/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10/src/libafs'
Makefile:483: recipe for target 'libafs' failed
make[2]: *** [libafs] Error 2
make[2]: Leaving directory '/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10'
Makefile:692: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/dbotsch/rpmbuild/BUILD/openafs-1.6.10'
Makefile:42: recipe for target 'only_libafs' failed
make: *** [only_libafs] Error 2


-- 
********************************
David William Botsch
Programmer/Analyst
@CNFComputing
botsch@cnf.cornell.edu
********************************