LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   'make rpm' problems (https://www.linuxquestions.org/questions/fedora-35/make-rpm-problems-127757/)

Flarfu 12-21-2003 04:38 AM

'make rpm' problems
 
When trying to compile kernel-2.6.0 from source on my fc1 system with the 'make rpm' command, I get this error:

RPM build errors:
Could not open %files file /usr/src/redhat/BUILD/kernel-2.6.0/debugfiles.list: No such file or directory
make: *** [rpm] Error 1

'make rpm' has worked on the same computer with kernel-2.4.2129. i've searched around and asked on a few IRC channels for solutions but have found none. Any help would be greatly appreciated.

Thetargos 12-21-2003 04:43 AM

By default RH 8, 9 and FC1 is no exception to this, have enabled RPM debug. It tries to locate the debug files list, which BTW I don't know to generate. You may override this if you create a file in your ~/directory called .rpmmacros I can't find right now (its too late for me :D 4:45 AM) what text should this file contain... I'll try to look for it in the morning and then post it...

EDIT
Hehe... found it on my kernel compilation mini-HowTo... how did I came across this info...? In any case this is what the file must contain:
Code:

%debug_package %{null}


All times are GMT -5. The time now is 12:25 PM.