Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 19341

Summary: unpack ignores PORTAGE_OVERLAY
Product: Gentoo Linux Reporter: Sean E Russell <gentoobugs>
Component: New packagesAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: radek
Priority: High    
Version: 1.4_rc2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sean E Russell 2003-04-14 21:57:02 UTC
If a package lives in ${PORTAGE_OVERLAY}, then the ebuild command "unpack( <archive> )" 
should look for tarballs in ${PORTAGE_OVERLAY}/${CATEGORY}/${PF}/files/, rather than 
${PORTAGE}/${CATEGORY}/${PF}/files/, which is where it looks now.  In fact, it entirely 
ignores the overlay directory, and there is no logical reason for it to base the search for 
supplemental files in the regular Portage home directory when the ebuild itself lives in the 
overlay directory. 
 
If there /is/ a way to get unpack to look in the overlay directory, then this should be a bug 
report about unpack being poorly documented ;-) 
 
To see this bug in action, pull the Karamba 
[http://www.kdelook.org/content/show.php?content=5649] ebuild package, place it in the 
overlay directory, and attempt to install it.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-04-28 05:33:46 UTC
Why? It's a waste of space to do that...
Comment 2 Sean E Russell 2003-04-28 08:15:03 UTC
How do you mean, a waste of space?  $PORTAGE_OVERLAY is the sanctioned place to put 
packages that aren't in rsync. 
Comment 3 Radek Podgorny 2003-10-26 04:02:01 UTC
I think you should look at that now, seems to be fixed but I'm not sure...
:-)

Radek
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-02-04 19:53:03 UTC
${FILESDIR} is set correctly, don't know if it was ever wrong. Tarballs are still in ${DISTFILES} ignoring where the ebuild lives.