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.
Created attachment 90636 [details] Spec patch that should resolve this problem
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/