Bug 1938

Summary: akmods-openafs requires pam-devel and ncurses-devel
Product: Fedora Reporter: J. S. Billings <jsbillings>
Component: openafsAssignee: Jack Neely <jjneely>
Status: RESOLVED FIXED    
Severity: normal CC: ktdreyer
Priority: P5    
Version: 15   
Hardware: x86_64   
OS: GNU/Linux   
namespace:
Attachments: set %{AkmodsBuildRequires}

Description J. S. Billings 2011-09-15 18:44:27 CEST
When I install the akmod-openafs package, it fails to build the module.  If I look in the akmodsbuild logs, I see:

15 Sep 12:31:58 akmodsbuild: error: Failed build dependencies:
15 Sep 12:31:58 akmodsbuild: pam-devel is needed by openafs-kmod-1.6.0-0.pre4.fc15.1.x86_64
15 Sep 12:31:58 akmodsbuild: ncurses-devel is needed by openafs-kmod-1.6.0-0.pre4.fc15.1.x86_64

Installing pam-devel and ncurses-devel fixed the problem, running akmods --force now builds the kernel module.  The akmod-openafs package should require pam-devel and ncurses-devel to install.
Comment 1 Ken Dreyer 2011-09-28 02:21:52 CEST
This sounds like it could be a bug in the akmods package.
Comment 2 Ken Dreyer 2011-09-28 02:41:49 CEST
Created attachment 720 [details]
set %{AkmodsBuildRequires}

...er, actually we need to set %{AkmodsBuildRequires}.

I'm attaching a patch for Jack to review since he's the lead maintainer. This patch also removes the duplicate BR on kmodtool.
Comment 3 Jack Neely 2011-10-18 22:29:26 CEST
This should be fixed in 

   openafs-kmod-1.6.0-2.fc15

as well as

   openafs-kmod-1.6.0-2.fc16

on the devel branch.

Please let me know if this continues.