I'm using automount to mount the nesseceary partitions for emerge und kernel. The automount directory is at /mnt/.systemExtension So My secondary HDD only needs to spin up when building a kernel or mergings something. The directory /var/tmp is a link to /mnt/.systemExtension/portageTemp. But with this configuration emerge goes crazy and seems to extract the sources to /var/tmp/packages-source instead of /var/tmp/portage/package-source So every emerge fails. It is unimportant whether /var/tmp is a link or /var/tmp/portage same error Workaround: not really ;-) Mounting the Partition directly to /var/tmp/ and everthing is fine except ... The automounting and links :-(
another Workaround: make an separate autmount entry for /var/tmp
It seems to be the same bug as 4256. 4256 does not work either /var or /var/tmp is a link. I am guessing the problem is a simple test that test if /var is a dir. The test should be if what /var links to is a dir.
Fixed in Portage 2.0.12