Bug 168212

Summary: mod_auth_kerb SRPM doesn't build as non-root
Product: [Fedora] Fedora Reporter: Roozbeh Pournader <roozbeh>
Component: mod_auth_kerbAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: Patch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-21 12:56:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix the problem none

Description Roozbeh Pournader 2005-09-13 15:39:48 UTC
Description of problem:
mod_auth_kerb's SRPM does not build as a non-root user. It is because when it
searches for apache's apxs, it does not include /usr/sbin in its path. The
problem is there for both Rawhide and FC4. Attached a patch.

Version-Release number of selected component (if applicable):
mod_auth_kerb-5.0-6

How reproducible:
Always

Steps to Reproduce:
1. Login as a non-root user.
2. rpm -Uvh mod_auth_kerb-5.0-6.src.rpm
3. cd rpmbuild/SPECS (or wherever the spec files are)
4. rpmbuild -ba mod_auth_kerb.spec
  
Actual results:
It fails with an error message that includes:

   checking for apxs... no
   configure: error: failed to find apache apxs executable

Expected results:
It should not fail.

Comment 1 Roozbeh Pournader 2005-09-13 15:39:48 UTC
Created attachment 118755 [details]
Patch to fix the problem

Comment 2 Joe Orton 2005-09-21 12:56:26 UTC
Thanks a lot, building for Raw Hide now.