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

Bug 572192

Summary: Remove PORTDIR from make.conf in stage3
Product: Gentoo Release Media Reporter: charles17
Component: StagesAssignee: Gentoo Release Team <releng>
Status: RESOLVED DUPLICATE    
Severity: normal CC: esigra, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /etc/portage/make.conf from stage3-amd64-20160114.tar.bz2

Description charles17 2016-01-17 12:34:18 UTC
Created attachment 423138 [details]
/etc/portage/make.conf from stage3-amd64-20160114.tar.bz2

PORTDIR is deprecated according to https://wiki.gentoo.org/wiki/Project:Portage/Sync#Migration 

But it still appears in /etc/portage/make.conf as of stage3-amd64-20160114.tar.bz2 and should be removed from the stages.
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2016-11-14 02:42:19 UTC
I've poked others in catalyst about this patch:

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 68ccb79..bbd2683 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1111,7 +1111,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
                                for hostuseexpand in myuseexpandvars:
                                        myf.write(hostuseexpand + '="' + ' '.join(myuseexpandvars[hostuseexpand]) + '"\n')
 
-                       myf.write('PORTDIR="%s"\n' % self.settings['portdir'])
                        myf.write('DISTDIR="%s"\n' % self.settings['distdir'])
                        myf.write('PKGDIR="%s"\n' % self.settings['packagedir'])
 

This would address PORTDIR. I need to look again at the code to make sure we can do the same to PORTDIR_OVERLAY.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2017-02-06 21:56:34 UTC
This bug is actually a duplicate.

*** This bug has been marked as a duplicate of bug 560518 ***