Bug 173251 - buildinstall when CanonArch == ppc
Summary: buildinstall when CanonArch == ppc
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: anaconda
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-15 17:36 UTC by Mike McLean
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-03-14 20:45:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mike McLean 2005-11-15 17:36:16 UTC
If you try to run buildinstall for our ppc product in a buildroot with
'ppc-redhat-linux' in /etc/rpm/platform, the operation fails because
buildinstall doesn't think that either of the kernels are valid (ppc64,
ppc64iseries).

It seems entirely reasonable to have these contents in /etc/rpm/platform, yet it
breaks buildinstall. Perhaps buildinstall (or possibly rhpl) can be taught to be
more accomodating?

>>> hl = hdrlist.HeaderListFromFile(path_to_ppc_hdlist)
>>> hl['kernel']
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File
"/mnt/redhat/devel/mikem/mikem-nahant-re1115.1/ppc/buildinstall.dir/usr/lib/anaconda/hdrlist.py",
line 422, in __getitem__
    raise KeyError, "No such package %s" %(item,)
KeyError: 'No such package kernel'

Comment 1 Jeremy Katz 2005-11-15 18:02:55 UTC
/etc/rpm/platform in buildroots causes other problems -- you won't be able to do
builds with --target properly either.

Comment 2 Dennis Gregorovic 2006-12-19 22:27:18 UTC
Is this still an issue?

Comment 3 Mike McLean 2006-12-20 16:58:26 UTC
I haven't hit this in a while.

Comment 4 Chris Lumens 2007-03-14 20:45:07 UTC
Closing on the basis of comment #3.


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