LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-24-2012, 03:01 PM   #1
totalimpact
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Rep: Reputation: Disabled
CentOS cannot build kernel RPM


I am following the guide on the CentOS wiki for Centos 5.8

Everything works great, down to the last step but I get no RPMs in my RPM or SRPM directories.

Here is the command I am running:
Code:
rpmbuild -bb --target=`uname -m` kernel.spec 2> build-err.log | tee build-out.log
Once it completes it just says:
Code:
RPM build errors:
Pretty much blank - I assumed that it completed with no errors, but I still have no RPMs, I see all the package sources under /var/tmp/ and I put mine under ~/rpmbuild just like the guide.

The logs have a lot of info, but nothing that points to an error - any ideas?

here are pastebins of build-out.log and build-err.log and the kernel.spec

Last edited by totalimpact; 09-24-2012 at 03:05 PM. Reason: more info
 
Old 09-25-2012, 08:02 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,666
Blog Entries: 54

Rep: Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952
Quote:
Originally Posted by totalimpact View Post
here are pastebins
Thanks, that really helped.


Quote:
Originally Posted by totalimpact View Post
I am following the guide on the CentOS wiki for Centos 5.8
Unfortunately you didn't as you fscked up 3 lines below the first set of bullet points already at the point where the HOWTO urges you to NOT BUILD SOFTWARE, LET ALONE THE KERNEL, AS ROOT ACCOUNT USER, leading to the last stage of the rpmbuild process (yes, the kernel builds OK) erroring out over the +83K of "installed but unpackaged" files that '/usr/lib/rpm/check-files' found outside of /var/tmp/kernel-2.6.18-308.13.1.el5.xenvoip-root in /boot, /lib/modules and /usr/src/kernels.
 
  


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
How to patch and build rpm of a kernel module (btusb.ko) ghoshdibyajyoti Linux - Newbie 1 01-09-2012 10:20 AM
Unable to build kernel RPM with 'custom name'. (need not kernel but kernel-something) RattleSn@ke Linux - Kernel 1 01-12-2011 07:30 PM
How to build an RPM from tar.gz on CentOS 4.5? thatguyinss Linux - Software 3 01-12-2009 09:30 PM
How to build kernel RPM without rebuilding the whole thing every time JoeyAdams Fedora 2 06-22-2008 09:15 PM
kernel-source-2.6.5-7.src.rpm requires kernel-dummy to build!? fizzdandantilus Suse/Novell 5 12-02-2004 01:48 PM


All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
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