LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-11-2004, 12:43 PM   #1
mindcry
Member
 
Registered: Nov 2002
Distribution: Libranet 2.8 Debian Solaris 9
Posts: 118

Rep: Reputation: 15
building kernel RPM problems


I am trying to build a custom kernel RPM on a RHEL 3.0 AS system. Here is part of the output I am getting towards the end.

Code:
make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.2115.0.4.EL.RU'
+ cp arch/i386/boot/bzImage /var/tmp/kernel-2.4.2115.0.4.EL.RU-root/boot/vmlinuz-2.4.21-15.0.4.EL.RU
+ cp System.map /var/tmp/kernel-2.4.2115.0.4.EL.RU-root/boot/System.map-2.4.21-15.0.4.EL.RU
+ cp .config /var/tmp/kernel-2.4.2115.0.4.EL.RU-root/boot/config-2.4.21-15.0.4.EL.RU
+ /usr/lib/rpm/brp-compress
Processing files: kernel-2.4.2115.0.4.EL.RU-2
Provides: kernel-2.4.21-15.0.4.EL.RU kernel-drm
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: kernel-debuginfo-2.4.2115.0.4.EL.RU-2
error: Could not open %files file /usr/src/redhat/BUILD/kernel-2.4.2115.0.4.EL.RU/debugfiles.list: No such file or directory


RPM build errors:
    Could not open %files file /usr/src/redhat/BUILD/kernel-2.4.2115.0.4.EL.RU/debugfiles.list: No such file or directory
make: *** [rpm] Error 1
 
Old 08-12-2004, 08:39 AM   #2
mindcry
Member
 
Registered: Nov 2002
Distribution: Libranet 2.8 Debian Solaris 9
Posts: 118

Original Poster
Rep: Reputation: 15
Actually found that there is a patch to fix that issue. Just in case anyone else has the same problem.

---Snip---
scripts/mkspec | 1 +
1 files changed, 1 insertion(+)

diff -puN scripts/mkspec~make-rpm-fix scripts/mkspec
--- 25/scripts/mkspec~make-rpm-fix 2004-02-16 20:50:19.000000000 -0800
+++ 25-akpm/scripts/mkspec 2004-02-16 20:50:19.000000000 -0800
@@ -37,6 +37,7 @@ echo "$EXTRAVERSION.tar.gz" | sed -e "s/
echo "BuildRoot: /var/tmp/%{name}-%{PACKAGE_VERSION}-root"
echo "Provides: $PROVIDES"
echo "%define __spec_install_post /usr/lib/rpm/brp-compress || :"
+echo "%define debug_package %{nil}"
echo ""
echo "%description"
echo "The Linux Kernel, the operating system core itself"
---Snip---
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
macromedia flash player rpm building problems sailajabhandaru Linux - Software 2 06-04-2005 04:14 AM
Problems building a simple kernel module for kernel 2.6.7 atticman Linux - Software 2 12-13-2004 03:35 PM
Building a kernel RPM with applying a patch barisdemiray Programming 1 08-04-2004 06:50 AM
Building kernel rpm with acl support clancyian Red Hat 2 07-27-2004 03:16 PM
RH 7.2 problems building rpm myra Linux - General 0 05-01-2002 10:36 PM


All times are GMT -5. The time now is 11:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration