Bug 168212 - mod_auth_kerb SRPM doesn't build as non-root
Summary: mod_auth_kerb SRPM doesn't build as non-root
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_auth_kerb
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-13 15:39 UTC by Roozbeh Pournader
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 5.0-7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-21 12:56:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix the problem (529 bytes, patch)
2005-09-13 15:39 UTC, Roozbeh Pournader
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.