Make RPM fails on Redhat-9
Processing files: kernel-2.4.21pre7-2
Provides: kernel-2.4.21-pre7 kernel-drm
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: kernel-debuginfo-2.4.21pre7-2
error: Could not open %files file /usr/src/redhat/BUILD/kernel-2.4.21pre7/debugfiles.list: No such file or directory
RPM build errors:
Could not open %files file/usr/src/redhat/BUILD/kernel-2.4.21pre7/debugfiles.list: No such file or directory
make: *** [rpm] Error 1
[root@localhost linux]#
Steve Bangert
Quoted 4 lines · Steve Bangert
Processing files: kernel-debuginfo-2.4.21pre7-2
error: Could not open %files file/usr/src/redhat/BUILD/kernel-2.4.21pre7/debugfiles.list: No such file or directory
Redhat 9.0 (and phoebe betas) have debug set on for rpm automatically. The package name kernel-debuginfo implies this is where it is going wrong.
Set up a ~/.rpmmacros file with the line
%debub_package %{nil}
And try make rpm again, this should work.
Hth
Paul