Bug 86252 - Kernel rpm does not compile on i686 because of installed but unpackaged files
Kernel rpm does not compile on i686 because of installed but unpackaged files
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
8.0
i686 Linux
low Severity low
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-18 01:42 EST by Horms
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-30 11:40:39 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)
Spec patch that should resolve this problem (274 bytes, patch)
2003-03-18 01:43 EST, Horms
no flags Details | Diff

  None (edit)
Description Horms 2003-03-18 01:42:04 EST
Description of problem:

Kernel rpm does not compile on i686

Tested

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

kernel-2.4.18-27.8.0.src.rpm and 
kernel-2.4.18-24.8.0.src.rpm

How reproducible:

Try and build these packages for the i686 target on a Red Hat 8.0
with the latest updates.

Steps to Reproduce:
1. rpm -hUv kernel-2.4.18-27.8.0.src.rpm
2. cd /usr/src/redhat/SPECS
3. rpmbuild -ba --target i686 kernel-2.4.spec
    
Actual results:

Build fails complaining about lots of files in
$RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/savedheaders
being installed but not part of the package.

(this isn't a problem with the version of rpm shipped with Red Hat 7.x)

Expected results:

Binary kernel rpms


Additional info:

The attached patch to the kernel-2.4.spec file should resove the problem
by making sure that $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/savedheaders
is cleared before packaging.

By the looks of things this will also effect i586 and sparc64.

Also suggest that binary rpms for 8.0 are built in a standard
8.0 environment so these bugs are caught in future.
Comment 1 Horms 2003-03-18 01:43:54 EST
Created attachment 90636 [details]
Spec patch that should resolve this problem
Comment 2 Bugzilla owner 2004-09-30 11:40:39 EDT
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/

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