Bug 117873 - Cant build rpmdb-redhat if it is installed
Cant build rpmdb-redhat if it is installed
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: rpmdb-redhat (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dennis Gregorovic
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-09 10:01 EST by Lance Davis
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

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


Attachments (Terms of Use)

  None (edit)
Description Lance Davis 2004-03-09 10:01:21 EST
Description of problem:

Macro expansion prevents building of rpmdb-redhat if it is installed
on the system

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


How reproducible:

always

Steps to Reproduce:
1. install rpmdb-redhat
2. rpmbuild -bb rpmdb-redhat
3.
  
Actual results:

/etc/rpm/macros.solve has expanded macros inserted
rpm always flags error with macro define

Expected results:

shouldnt

Additional info:

Suggested fixes :-

either if [ -e /etc/rpm/macros.solve ]
                add an extra % on macro defs to dereference
or same if macro defined

or Buildconflicts: rpmdb-redhat
Comment 1 Lance Davis 2004-03-09 10:08:04 EST
fixed component
Comment 4 Dennis Gregorovic 2005-05-02 12:48:40 EDT
Should be fixed in U5
Comment 5 Dennis Gregorovic 2005-05-18 10:13:11 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2005-312.html

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