Due to limited space, I moved around the directories portage uses to do its business. I did an emerge sync. I then tried to emerge openoffice, and got the following error: !!! No profile directory; system mode unavailable. A little digging on the forums revealed that /etc/make.profile is a symlink which points at /usr/portage/profiles/default-x86-1.4 . If you change PORTDIR , then this symlink MUST be updated. I am proposing a small comment above PORTDIR in /etc/make.conf making a note of this. While there is already a note saying it's not reccommended, I certainly didn't expect this.
Any word on this? Been four months now.
Also it should be noted that you need to do <kbd>emerge metadata</kbd> after changing the PORTDIR - otherwise the next time you try to emerge something (I tried on emerge world), after an extremely slow dependencies calculation it fails with <code>portage_exception.DirectoryNotFound: '/var/cache/edb/dep//usr/share/portage/sys-apps'</code>.
Hm that's a new one on me. Too bad this has been wholly ignored.
Added a comment regarding make.profile, but not emerge metadata. That'll fix itself on-the-fly or at the next sync. The exception you got is more than likely due to running to emerges at concurrently while the cache was being built (on-the-fly) which should be fixed now.
Nice, thanks. It's not really covered by this bug, but it'd be nice if notices such as these, which are telling me my profile isn't supported any longer, pulled the dir variables from make.conf : # emerge -n '>=sys-apps/portage-2.0.51' # cd /etc/ # rm make.profile # ln -s ../usr/portage/profiles/default-linux/x86/2005.0 make.profile On this system my portdir is /var/portage . Could easily nail someone not familiar with this. But anyway I imagine this specific bug can be closed?
Fixed on or before 2.0.51.22-r1
Looking through the batch of bugs, I'm not sure that some of these are actually fixed in stable. Others, the requirements have possibly changed after the initial fix was committed. If you think this bug has been closed incorrectly, please reopen or ask that it be reopened.