Bug 42475 - rpm --rebuild with multiple files checks build dependancies for only one package at a time
Summary: rpm --rebuild with multiple files checks build dependancies for only one pack...
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm-build   
(Show other bugs)
Version: 7.0
Hardware: All Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-05-27 18:24 UTC by Gregory Leblanc
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-05-27 18:24:57 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Gregory Leblanc 2001-05-27 18:24:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i586; en-US; 0.8.1)

Description of problem:
When I issue a command like 'rpm --rebuild GConf-1.0.1-0.1.src.rpm
gdm-2.2.1-0.1.src.rpm' in an attempt to rebuild both of those packages, rpm
checks for BuildRequires dependancies.  However, it checks these on only
the first package, not on all packages listed.  This means that I can't
ensure that all dependancies are met before any of the builds start.  

How reproducible:

Steps to Reproduce:
1. Issue a command to rebuild 2 or more SRPMs where multiple packages have
un-met build time dependancies
2. Install packages to meet build-time dependancies that are listed at the
failure of the first step
3. re-issue first command, it should complete the build of the first set of
binary rpms, but fail when it gets to the second, because it's build-time
dependancies aren't met.

Actual Results:  RPM test/lists only the un-met build-time dependancies of
the first package on the command line.

Expected Results:  RPM should list the un-met build-time dependancies of
all packages listed on the command line.

Comment 1 Jeff Johnson 2001-05-28 17:51:38 UTC
    for i in GConf-1.0.1-0.1.src.rpm gdm-2.2.1-0.1.src.rpm
	rpm --rebuild $i
as there's much more (like re-ordering package builds using build dependencies)
that is more important to do with build dependencies before attempting to fix
problem. That's gonna take a while ...

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