Fedora Linux Support Community & Resources Center
  #1  
Old 10th February 2017, 07:12 AM
chandana Offline
Registered User
 
Join Date: Aug 2006
Posts: 9
linuxfedorachrome
Building CentOS5 packages using mock

I am trying to build a CentOS5 package using mock on F23.

Under mock, the build fails with Installed (but unpackaged) file(s) found:

The same srpm and spec file works for a CentOS 6 build.

Has someone come across this problem before ?
Reply With Quote
  #2  
Old 10th February 2017, 12:07 PM
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 71
Posts: 23,054
linuxubuntuchrome
Re: Building CentOS5 packages using mock

moved to EOL
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #3  
Old 10th February 2017, 02:38 PM
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 7,403
linuxchrome
Re: Building CentOS5 packages using mock

Quote:
....the build fails with Installed (but unpackaged) file(s) found:
This is telling you that the install process installed one or more files that have not been declared in the %files section of the spec file. You need to determine which file(s) and then modify the spec file to include them in the %files section.
Reply With Quote
  #4  
Old 13th February 2017, 10:35 PM
chandana Offline
Registered User
 
Join Date: Aug 2006
Posts: 9
linuxfedorachrome
Re: Building CentOS5 packages using mock

I found the problem. CentOS 6 and Fedora define a macro for the Build Root - %{buildroot}.
This is not available on CentOS 5
Reply With Quote
Reply

Tags
building, centos5, mock, packages

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mock: building a simple man page RPM HTF2000 Programming & Packaging 3 27th August 2014 09:30 PM
[SOLVED] Building packages Keldorn Using Fedora 2 26th June 2011 07:01 PM
Mock can't build x86_64 packages Kakao Using Fedora 0 2nd October 2009 01:51 PM
mock: error building kdebase-3.5.2-0.4.fc5.src.rpm cap98 Using Fedora 0 18th June 2006 07:11 PM
Building RPM Packages complete-noobie Using Fedora 6 24th May 2006 06:27 AM


Current GMT-time: 04:20 (Friday, 24-03-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat