Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 163144 - RPM may incorrectly brings in the /usr/local directory during configure
RPM may incorrectly brings in the /usr/local directory during configure
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-07-13 10:23 EDT by Mark Hatle
Modified: 2007-11-30 17:11 EST (History)
0 users

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

Attachments (Terms of Use)
Remove /usr/local behavior (1.24 KB, patch)
2005-07-13 10:23 EDT, Mark Hatle
no flags Details | Diff

  None (edit)
Description Mark Hatle 2005-07-13 10:23:42 EDT
Description of problem:
RPM can incorrectly pull in libraries and include files during configuration
from /usr/local.  (In a normal environment, if /usr/local is to be used for
files these are usually passed in to configure.)

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

Additional info:

The code in question is in the configure.ac file, it starts w/ "localdone=" and
ends just before the "AC_MSG_CHECKING(for /usr/ucblib in LIBS)".

The attached patch removes this behavior.  (We have been using this patch since
Comment 1 Mark Hatle 2005-07-13 10:23:42 EDT
Created attachment 116709 [details]
Remove /usr/local behavior
Comment 2 Jeff Johnson 2005-10-25 17:56:04 EDT
The patch is a bit more drastic than necessary. All that is needed is to
not add "/usr/local" to $dirs. That way $prefix is still searched, and /usr/local
will be searched if that is the prefix.

Fixed in rpm-4.4.3-0.23.

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