> On 22 Jun 2015, at 15:15, [email protected] wrote:
> 
>>> I used this now, but an yum-builddep of this srpm package tells me that
>>> the package:  kernel-devel-x86_64 = 2.6.18-404.el5 is needed but not
>>> found on centos 7. centos 7 ist working with 3.10.
>> 
>> yum-builddep is looking at the wrong info when used on srpms. Install or
>> unpack the srpm and run "yum-builddep openafs.spec" instead.
> 
> On Centos 7:
> yum-builddep openafs.spec works.
> rpmbuild -ba openafs.spec exits with 0. I got my rpm packages.
> 
> On Fedora 20:
> I add a yum repository file which points to the 1.6.10 rpm Fedora 20 packages 
> at openafs.org
> 
> yum install produce the following output with some errors and bad exit:

1.6.10 is too old for that kernel, you need at least 1.6.11. NB F20 is EOL.

Best,
        Stephan

> Running transaction
>  Installing : openafs-1.6.10-2.fc20.x86_64                                    
>                                                                               
>                         1/5
>  Installing : openafs-client-1.6.10-2.fc20.x86_64                             
>                                                                               
>                         2/5
>  Installing : dkms-openafs-1.6.10-2.fc20.x86_64                               
>                                                                               
>                         3/5
> Error! DKMS tree already contains: openafs-1.6.10-2.fc20
> You cannot add the same module/version combo more than once.
> 
> Kernel preparation unnecessary for this kernel.  Skipping...
> 
> Building module:
> cleaning build area...(bad exit status: 2)
> ./configure 
> --with-linux-kernel-headers=/lib/modules/3.19.8-100.fc20.x86_64/build 
> --with-linux-kernel-packaging && make && case 3.19.8-100.fc20.x86_64 in 
> 2.4.*) mv src/libafs/MODLOAD-*/libafs-* openafs.o ;; *) mv 
> src/libafs/MODLOAD-*/openafs.ko . ;; 
> esac....................................................(bad exit status: 2)
> Error! Bad return status for module build on kernel: 3.19.8-100.fc20.x86_64 
> (x86_64)
> Consult /var/lib/dkms/openafs/1.6.10-2.fc20/build/make.log for more 
> information.
> 
> Kernel preparation unnecessary for this kernel.  Skipping...
> 
> Building module:
> cleaning build area...(bad exit status: 2)
> ./configure 
> --with-linux-kernel-headers=/lib/modules/3.19.8-100.fc20.x86_64/build 
> --with-linux-kernel-packaging && make && case 3.19.8-100.fc20.x86_64 in 
> 2.4.*) mv src/libafs/MODLOAD-*/libafs-* openafs.o ;; *) mv 
> src/libafs/MODLOAD-*/openafs.ko . ;; 
> esac.....................................................(bad exit status: 2)
> Error! Bad return status for module build on kernel: 3.19.8-100.fc20.x86_64 
> (x86_64)
> Consult /var/lib/dkms/openafs/1.6.10-2.fc20/build/make.log for more 
> information.
> warning: %post(dkms-openafs-1.6.10-2.fc20.x86_64) scriptlet failed, exit 
> status 10
> Non-fatal POSTIN scriptlet failure in rpm package 
> dkms-openafs-1.6.10-2.fc20.x86_64
>  Installing : openafs-docs-1.6.10-2.fc20.x86_64                               
>                                                                               
>                         4/5
>  Installing : openafs-krb5-1.6.10-2.fc20.x86_64                               
>                                                                               
>                         5/5
>  Verifying  : openafs-docs-1.6.10-2.fc20.x86_64                               
>                                                                               
>                         1/5
>  Verifying  : dkms-openafs-1.6.10-2.fc20.x86_64                               
>                                                                               
>                         2/5
>  Verifying  : openafs-krb5-1.6.10-2.fc20.x86_64                               
>                                                                               
>                         3/5
>  Verifying  : openafs-client-1.6.10-2.fc20.x86_64                             
>                                                                               
>                         4/5
>  Verifying  : openafs-1.6.10-2.fc20.x86_64                                    
>                                                                               
>                         5/5
> 
> Installed:
>  dkms-openafs.x86_64 0:1.6.10-2.fc20  openafs.x86_64 0:1.6.10-2.fc20  
> openafs-client.x86_64 0:1.6.10-2.fc20  openafs-docs.x86_64 0:1.6.10-2.fc20  
> openafs-krb5.x86_64 0:1.6.10-2.fc20
> 
> Complete!
> 
> 
> 
> The Consult /var/lib/dkms/openafs/1.6.10-2.fc20/build/make.log for more 
> information:
> 
>  CC [M]  
> /var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP/afs_cbqueue.o
>  CC [M]  
> /var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP/afs_cell.o
>  CC [M]  
> /var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP/afs_chunk.o
>  CC [M]  
> /var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP/afs_conn.o
>  CC [M]  
> /var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP/afs_daemons.o
> /var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP/afs_daemons.c:
>  In function ‘afs_CheckRootVolume’:
> /var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-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.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.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));
>                   ^
> /var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP/afs_daemons.c:404:7:
>  warning: passing argument 2 of ‘list_add’ from incompatible pointer type 
> [enabled by default]
>       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.10-2.fc20/build/src/afs/sysincludes.h:124,
>                 from 
> /var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP/afs_daemons.c:19:
> include/linux/list.h:61: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)
>                    ^
> make[4]: *** 
> [/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP/afs_daemons.o]
>  Error 1
> make[3]: *** 
> [_module_/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP]
>  Error 2
> make[3]: Leaving directory `/usr/src/kernels/3.19.8-100.fc20.x86_64'
> FAILURE: make exit code 2
> make[2]: *** [openafs.ko] Error 1
> make[2]: Leaving directory 
> `/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs/MODLOAD-3.19.8-100.fc20.x86_64-SP'
> make[1]: *** [linux_compdirs] Error 2
> make[1]: Leaving directory 
> `/var/lib/dkms/openafs/1.6.10-2.fc20/build/src/libafs'
> make: *** [all] Error 2

_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to