Bug 156974 - Unable to rebuild from src rpm
Unable to rebuild from src rpm
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-05-05 15:59 EDT by Mike Hoffman
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 5.0.4-10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-10 09:01:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mike Hoffman 2005-05-05 15:59:02 EDT
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:

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 06:29:45 EDT
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 09:01:40 EDT
Fixed in 5.0.4-10 which should hit Raw Hide sometime soon.

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