Red Hat Bugzilla – Bug 198945
rpmbuild shows Error's in Scanning objects
Last modified: 2007-11-30 17:07:26 EST
Description of problem:
I am trying to build a kernel rpm as a test before custimizing the kernel. I
installed the kernel src.rpm:
-rw-r--r-- 307 root root 41491422 Sep 26 2005 kernel-2.6.9-22.EL.src.rpm
then run "rpmbuild -ba --target i686 kernel-2.6.spec" (I modified the %release
field in the spec file). I got a lot of "Error:..." lines in "Scanning
objects" section as well as some lines of "No such file or directory" (see
attached file). The rpm build was sucessful and the system can boot up with
the new kernel. But the "Error"s could be a problem in future operation
without knowing the root cause. I found Bugzilla Bug 143270 contains the same
error string. But I don't know the fix.
I also use "rpmbuild -bp" to get the source tree and build the kernel through
the ordinary steps (make oldconfig, make bzImage,..., make install). I did
not see those errors.
Version-Release number of selected component (if applicable):
see the description section.
Steps to Reproduce:
1. rpm -ivh kernel-2.6.9-22.EL.src.rpm
2. /usr/src/redhar/SPECs/rpmbuild -ba --target i686 kernel-2.6.spec
Created attachment 132463 [details]
this file was collected with "rpmbuild -ba --target i686 kernel-2.9.spec &> log"
Sorr, this is a duplicate submmit. After clicked commit, the web page showed
me "Invalid productname, click Back to try again".
*** This bug has been marked as a duplicate of 198943 ***