From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703 Description of problem: On an older Duron 600 with a completely virgin severn installation: # rpm -hiv kernel-2.4.21-20.1.2024.2.1.nptl.src.rpm # rpmbuild -bb --target athlon /usr/src/redhat/SPECS/kernel.spec This builds correctly until the end, and then runs haywire with messages like /usr/lib/rpm/find-debuginfo.sh: line 25: 22221 Segmentation fault /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/[every single module] "is not a shared library" I ^C'ed after a while, so I don't know what rpm would do if I had let it run. How reproducible: Didn't try
Perhaps I cut a bit too much from the error messages; here is one in its entirety: /usr/lib/rpm/find-debuginfo.sh: line 25: 22221 Segmentation fault /usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $SOURCEFILE $f extracting debug info from /var/tmp/kernel-2.4.21-20.1.2024.2.1.nptl-root/lib/modules/2.4.21-20.1.2024.2.1.nptlsmp/unsupported/drivers/scsi/sym53c416.o /usr/lib/debugedit: "/var/tmp/kernel-2.4.21-20.1.2024.2.1.nptl-root/lib/modules/2.4.21-20.1.2024.2.1.nptlsmp/unsupported/drivers/scsi/sym53c416.o" is not a shared library is not a shared library" For the rest, I'm not at all sure whether this should be filed against the kernel or against rpm.
I believe this is fixed in very latest rpm+elfutils from Raw Hide. Reopen if not.