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 101268 - rebuilt package requires /usr/local/bin/perl to install
rebuilt package requires /usr/local/bin/perl to install
Product: Red Hat Raw Hide
Classification: Retired
Component: httpd (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
Depends On:
  Show dependency treegraph
Reported: 2003-07-30 11:03 EDT by Karl DeBisschop
Modified: 2007-04-18 12:56 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-21 11:52: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)

  None (edit)
Description Karl DeBisschop 2003-07-30 11:03:33 EDT
Description of problem:

rebuilt package requires /usr/local/bin/perl to install

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


How reproducible:

Steps to Reproduce:
1. Rebuild srpm
2. attempt to install
Actual results:

> sudo rpm -Uv /u/kdebisschop/rpm/RPMS/i386/httpd-*2.0.47-4.i386.rpm
error: Failed dependencies:
        /usr/local/bin/perl is needed by httpd-devel-2.0.47-4

Expected results:

> sudo rpm -Uv --nodeps /u/kdebisschop/rpm/RPMS/i386/httpd-*2.0.47-4.i386.rpm
Preparing packages for installation...
warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew

Additional info:
Comment 1 Karl DeBisschop 2003-07-30 11:21:30 EDT
It's a corner case - I can fix it in my local build by changing my search path. 

(I have a symlink from /usr/local/bin/perl to /usr/bin/perl because we get
scripts that require it. By chance, /usr/local/bin comes ahead of /usr/bin in my
path, which I think causes configure to AC_SUBST that instead of /usr/bin/perl
which of course the copy registered in the rpm db)

Maybe not worh fixing now that I see the cause.
Comment 2 Joe Orton 2003-08-21 11:52:04 EDT
It's either WONTFIX or NOTABUG :)  This is the nature of autoconf really, you
should just make sure /usr/bin is first in your PATH when building RPMs.
Comment 3 James G. Sack 2004-08-21 03:13:53 EDT
I have to disagree with comment #2.

If rpmbuild depends on autoconf to resolve dependencies, and autoconf 
gives an unexpected result I(but technically correct -- eg, I have a 
valid /usr/;local/bin/perl), then it's rpm's responsibility to 
recognize the
alternative/alias to the dependency-requirement that satisfies the 

Telling me to rearrange my PATH is not acceptable -- that always 
leads to
conflicts ("the other toolmaker tells me to do the opposite..")
Comment 4 Joe Orton 2004-08-21 04:47:48 EDT
Well, you could file a bug against RPM or redhat-rpm-config to have
%configure or something like that enforce a sanitized
system-directories-only PATH.  But you'd probably be better of getting
consensus on rpm-list or fedora-devel-list about which behaviour is

If you're building RPMs to redistribute, doing so on a vanilla install
is standard practice.  The package configure scripts may pick up
libraries etc in /usr/local otherwise, regardless of $PATH.

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