Bug 81196 - RPM will not build in a sub directory
RPM will not build in a sub directory
Status: CLOSED DEFERRED
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-06 13:10 EST by Mark Hatle
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-12 12:16:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Part 1 of our patch to fix this. (3.95 KB, patch)
2003-01-06 13:12 EST, Mark Hatle
no flags Details | Diff
Part 2 of our patch to fix this - Hack to fix libelf from not being found properly. (385 bytes, patch)
2003-01-06 13:14 EST, Mark Hatle
no flags Details | Diff
Part 3 of our patch to fix this - Include files (2.54 KB, patch)
2003-01-06 13:14 EST, Mark Hatle
no flags Details | Diff
Part 4 of our patch to fix this - db3 configure (526 bytes, patch)
2003-01-06 13:16 EST, Mark Hatle
no flags Details | Diff

  None (edit)
Description Mark Hatle 2003-01-06 13:10:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20021030

Description of problem:
when I build software with configure I normally do:

mkdir objdir
cd objdir
../configure [options]
make

rpm does not support this correct.  (Various source files don't show up properly.)

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


How reproducible:
Always

Steps to Reproduce:
(inside of the rpm 4.1 source code directory)

1. mkdir objdir
2. cd objdir
3. ../configure [options]
4. make


Actual Results:  Software fails to build.

Expected Results:  Software should build without errors.

Additional info:
Comment 1 Mark Hatle 2003-01-06 13:12:36 EST
Created attachment 89165 [details]
Part 1 of our patch to fix this.

These patches are designed for our system and may contain a few "short cuts"
<cough>hacks</cough>, but are generally correct.
Comment 2 Mark Hatle 2003-01-06 13:14:01 EST
Created attachment 89166 [details]
Part 2 of our patch to fix this - Hack to fix libelf from not being found properly.

This is needed to make the building in an alternative directory work, but it is
a hack.  I was not sure of the correct fix.
Comment 3 Mark Hatle 2003-01-06 13:14:53 EST
Created attachment 89167 [details]
Part 3 of our patch to fix this - Include files

Fix the include component when building in an alternative location.
Comment 4 Mark Hatle 2003-01-06 13:16:10 EST
Created attachment 89168 [details]
Part 4 of our patch to fix this - db3 configure

The integrated DB3's configure shell script was unable to work in an
alternative build environment.	This should fix that.
Comment 5 Paul Nasrat 2005-06-07 17:35:52 EDT
Mark do you still require this functionality in upstream rpm?  Can you confirm
still an issue with rpm 4.4.x/HEAD?
Comment 6 Mark Hatle 2005-06-07 18:35:14 EDT
This was still broken as of RPM 4.3.  I have not tried to do this in rpm 4.4 yet.

Is this absolutly required, no.  But it's nice to be able to build in an objdir.

Feel free to change this to an enhancement request.
Comment 7 Paul Nasrat 2005-09-29 14:54:31 EDT
Changing to enhancement - rediff against HEAD/rpm 4.4.x will certainly expediate.
Comment 8 Jeff Johnson 2006-02-12 12:16:31 EST
Almost all of the changes have been applied. The perl subdir still has problems, but
that's because of the way in which "perl Makefile.PL" and MakeMaker are wired up.

Deferred until somewhen.

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