LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 11-01-2008, 09:33 PM   #1
scmbg
Member
 
Registered: Oct 2008
Location: Mexico City
Distribution: Fedora
Posts: 65

Rep: Reputation: 15
error creating kernel RPM [make binrpm-pkg]


After customize, compile and install my kernel, i want to create a rpm.

But this is the error showed when i execute make binrpm-pkg

error: Installed (but unpackaged) file(s) found:

there is the output:
Code:
# here comes the last modules installed.
  INSTALL /var/tmp/kernel-2.6.27.4-chinazo.15-root/lib/firmware/keyspan_pda/keyspan_pda.fw
  INSTALL /var/tmp/kernel-2.6.27.4-chinazo.15-root/lib/firmware/keyspan_pda/xircom_pgs.fw
  DEPMOD  2.6.27.4-chinazo.15
+ cp arch/x86/boot/bzImage /var/tmp/kernel-2.6.27.4-chinazo.15-root/boot/vmlinuz-2.6.27.4-chinazo.15
+ cp System.map /var/tmp/kernel-2.6.27.4-chinazo.15-root/boot/System.map-2.6.27.4-chinazo.15
+ cp .config /var/tmp/kernel-2.6.27.4-chinazo.15-root/boot/config-2.6.27.4-chinazo.15
+ /usr/lib/rpm/brp-compress
Processing files: kernel-2.6.27.4-chinazo.15
Provides: kernel-2.6.27.4-chinazo.15
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/kernel-2.6.27.4-chinazo.15-root
error: Installed (but unpackaged) file(s) found:
   /lib/firmware/atmsar11.fw
   /lib/firmware/dabusb/bitstream.bin
   /lib/firmware/dabusb/firmware.fw
   /lib/firmware/edgeport/boot.fw
   /lib/firmware/edgeport/boot2.fw
   /lib/firmware/edgeport/down.fw
   /lib/firmware/edgeport/down2.fw
   /lib/firmware/edgeport/down3.bin
   /lib/firmware/emi26/bitstream.fw
   /lib/firmware/emi26/firmware.fw
   /lib/firmware/emi26/loader.fw
   /lib/firmware/emi62/bitstream.fw
   /lib/firmware/emi62/loader.fw
   /lib/firmware/emi62/midi.fw
   /lib/firmware/emi62/spdif.fw
   /lib/firmware/kaweth/new_code.bin
   /lib/firmware/kaweth/new_code_fix.bin
   /lib/firmware/kaweth/trigger_code.bin
   /lib/firmware/kaweth/trigger_code_fix.bin
   /lib/firmware/keyspan_pda/keyspan_pda.fw
   /lib/firmware/keyspan_pda/xircom_pgs.fw
   /lib/firmware/korg/k1212.dsp
   /lib/firmware/ti_3410.fw
   /lib/firmware/ti_5052.fw
   /lib/firmware/whiteheat.fw
   /lib/firmware/whiteheat_loader.fw


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /lib/firmware/atmsar11.fw
   /lib/firmware/dabusb/bitstream.bin
   /lib/firmware/dabusb/firmware.fw
   /lib/firmware/edgeport/boot.fw
   /lib/firmware/edgeport/boot2.fw
   /lib/firmware/edgeport/down.fw
   /lib/firmware/edgeport/down2.fw
   /lib/firmware/edgeport/down3.bin
   /lib/firmware/emi26/bitstream.fw
   /lib/firmware/emi26/firmware.fw
   /lib/firmware/emi26/loader.fw
   /lib/firmware/emi62/bitstream.fw
   /lib/firmware/emi62/loader.fw
   /lib/firmware/emi62/midi.fw
   /lib/firmware/emi62/spdif.fw
   /lib/firmware/kaweth/new_code.bin
   /lib/firmware/kaweth/new_code_fix.bin
   /lib/firmware/kaweth/trigger_code.bin
   /lib/firmware/kaweth/trigger_code_fix.bin
   /lib/firmware/keyspan_pda/keyspan_pda.fw
   /lib/firmware/keyspan_pda/xircom_pgs.fw
   /lib/firmware/korg/k1212.dsp
   /lib/firmware/ti_3410.fw
   /lib/firmware/ti_5052.fw
   /lib/firmware/whiteheat.fw
   /lib/firmware/whiteheat_loader.fw
make[1]: *** [binrpm-pkg] Error 1
make: *** [binrpm-pkg] Error 2

Last edited by scmbg; 11-01-2008 at 10:07 PM. Reason: change the title
 
Old 11-02-2008, 05:42 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,264
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
Your $BUILDROOT is /var/tmp/kernel-2.6.27.4-chinazo.15-root. That is where the .spec file should look to find files included in the package, however something got installed in /lib/firmware, or the .spec file contains a reference to /lib/firmware instead of %{BUILDROOT}/lib/firmware, or you modified the .spec file to include files in /lib/firmware? If this is all doesn't mean anything to you maybe post the .spec file contents to some pastebin or upload to some free hoster and post the URI here?
 
Old 11-02-2008, 08:32 PM   #3
scmbg
Member
 
Registered: Oct 2008
Location: Mexico City
Distribution: Fedora
Posts: 65

Original Poster
Rep: Reputation: 15
Well the spec file is generated automatically by the makefile.

Now works, i put /lib/firmware just below the %files tag.

I think this problem come from the makefile that take care to create the rpm.

Thanks unSpawn
 
  


Reply

Tags
build, error, kernel, rpm


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
Downloaded Wireshark source code and while make rpm got this error, kindly help pkhera_2001 Linux - Newbie 1 03-20-2008 08:09 AM
rpm compile time error:make error ashmita04 Red Hat 1 07-09-2007 03:44 AM
error while creating rpm anshul2181981 Linux - Software 2 01-31-2007 09:18 AM
trying to install a java .bin trouble creating deb pkg randell6564 Ubuntu 4 06-30-2006 09:04 PM
Error creating make file for knoda ?????? glenn69 Linux - Newbie 4 08-25-2004 05:08 PM


All times are GMT -5. The time now is 10:48 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