Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sabayon ebuild problems

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
blundakat



Joined: Wed Jul 18, 2012 10:53 pm
Posts: 13

PostPosted: Mon Sep 24, 2012 9:23 pm    Post subject: Sabayon ebuild problems Reply with quote

Hello

Im a pretty new to Sabayon/Gentoo and Im trying to get to grips with ebuilds.

I have successfully manifested it but when I go to emerge it it tells me "Cannot find \$EPATCH_SOURCE!"

I have had a look where it is looking for the patch:

"Called epatch '/usr/local/portage/www-client/httrack/files/httrack-3.44.1+zlib-1.2.5.1.patch'"

and there isnt even a "files" directory just the ebuild and manifest. Im guessing its not downloading the patches at all? I could just remove the epatch from the ebuild but I would like to know how to go about trouble shooting this.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8449
Location: Warrington, UK

PostPosted: Mon Sep 24, 2012 11:14 pm    Post subject: Reply with quote

The ebuild doesn't download the patch, it should be in the ebuild's files directory already. Small patch files (i.e. most of them) are kept in the portage tree, only very large patches (say > 20K) are downloaded during merging.

The path you give looks like a local overlay, is this an ebuild you downloaded from the bugzilla or forums? If so, you need to go back and get the patch file and put it in the files directory.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
blundakat



Joined: Wed Jul 18, 2012 10:53 pm
Posts: 13

PostPosted: Tue Sep 25, 2012 4:29 pm    Post subject: Reply with quote

Yeah, I got it from http://gentoo-portage.com. I cant see the links to download the patches with the ebuild, or do I have to find the patches myself?
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8449
Location: Warrington, UK

PostPosted: Tue Sep 25, 2012 7:41 pm    Post subject: Reply with quote

There's no need to download ebuilds, both 3.44 and 3.45 are in the standard portage tree.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
blundakat



Joined: Wed Jul 18, 2012 10:53 pm
Posts: 13

PostPosted: Tue Sep 25, 2012 10:48 pm    Post subject: Reply with quote

But if I emerge it now it trys to emerge the ebuild, How do I stop it from doing that?

I would still like to know where I would get the epatches from in the future.

Thanks for your help.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8449
Location: Warrington, UK

PostPosted: Wed Sep 26, 2012 12:01 am    Post subject: Reply with quote

That's because the overlay takes priority. Either remove the ebuild or edit it to comment out the KEYWORDS line. The patches should be with the ebuild, you are not expected to supply them separately. If the source of the ebuild does not also provide a link to download the patches, it is broken.

The ebuild and the contents of the files directory are a single entity and are useless without each other.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast