At this time, DISTDIR, where the downloaded source code archives are stored, is '/usr/portage/distfiles/' At this time, PORTDIR, where the portage tree snapshot is mixed with the DISTDIR, is '/usr/portage/' These are different kinds of information that should be kept separate. Mixing them in the same directory as done now causes problems, like making it more difficult to swap different versions of the portage tree snapshots for testing. Recommend that PORTDIR be changed to something like '/usr/portage/tree/', and might as well be renamed to 'TREEDIR', while DISTDIR remains '/usr/portage/distfiles/'. Another option is to change DISTDIR to something else, like '/var/cache/portage/distfiles'. Either one of these changes would make it easier to try out different versions of the portage tree snaphots without the DISTDIR being in the way.
(In reply to Marat Nepomnyashy from comment #0) > At this time, DISTDIR, where the downloaded source code archives are stored, > is '/usr/portage/distfiles/' > > At this time, PORTDIR, where the portage tree snapshot is mixed with the > DISTDIR, is '/usr/portage/' > > These are different kinds of information that should be kept separate. > > Mixing them in the same directory as done now causes problems, like making > it more difficult to swap different versions of the portage tree snapshots > for testing. > > Recommend that PORTDIR be changed to something like '/usr/portage/tree/', > and might as well be renamed to 'TREEDIR', while DISTDIR remains > '/usr/portage/distfiles/'. > > Another option is to change DISTDIR to something else, like > '/var/cache/portage/distfiles'. > > Either one of these changes would make it easier to try out different > versions of the portage tree snaphots without the DISTDIR being in the way. You are free to set these to whatever you want in make.conf. Is this not working for you? -A
In theory changing these to something else should work on a per-system basis, but in reality changing these might break software that has bugs in properly honoring these settings. Some examples: https://bugs.gentoo.org/show_bug.cgi?id=420505 https://bugs.gentoo.org/show_bug.cgi?id=207417 In addition, users should not have to mess with default settings just to get a proper system going.
i see no point in TREEDIR other packages being buggy is irrelevant we're not going to bother fixing one without fixing both which means this is simply bug 378603 *** This bug has been marked as a duplicate of bug 378603 ***