Bug 156974

Summary: Unable to rebuild from src rpm
Product: [Fedora] Fedora Reporter: Mike Hoffman <mike.hoffman>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0.4-10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-10 13:01:40 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:

Description Mike Hoffman 2005-05-05 19:59:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-1.3.1 Firefox/1.0.3

Description of problem:
Unable to rebuild php-5.0.4-8 from source rpm due to a Kerberos libraries problem.  Src rpm looking for libraries in /usr/kerberos instead of /usr/lib



Version-Release number of selected component (if applicable):
rpmbuild --rebuild php-5.0.4-8.src.rpm

How reproducible:
Always

Steps to Reproduce:
1.download php-5.0.4-8.src.rpm from fedora's development repository
2.rpmbuild --rebuil php-5.0.4-8.src.rpm
  

Actual Results:  fails with the following error:
+/usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
ERROR: file '/usr/lib/php/modules/imap.so' contains an invalid rpath
'/usr/kerberos/lib' in [/usr/kerberos/lib]
error: Bad exit status from /var/tmp/rpm-tmp.3252 (%install)

Expected Results:  build rpms from source

Additional info:

no modifications have been made to the spec file and trying to rebuild from a stock fedora C3 install with everything installed

Comment 1 Joe Orton 2005-05-06 10:29:45 UTC
There is no /usr/lib/rpm/check-rpaths in stock FC3, so that's not quite true, at
least.  However the RPATHs should not be there, indeed.

Comment 2 Joe Orton 2005-05-10 13:01:40 UTC
Fixed in 5.0.4-10 which should hit Raw Hide sometime soon.