My /usr/portage/packages/All is a soft link to a directory on a fat32 partition. After I emerged portage whose version >= 2.1_pre6, emerge can't create pacakge in /usr/portage/packages/All. 2.1_pre5-r4 has not this problem. e.g. I use root account to emerge portage-2.1_pre7-r5 first, and then execute "emerge -b portage", now error messages come out: ACCESS DENIED open_wr: /usr/portage/packages/All/portage-2.1_pre7-r5.tbz2.13472 /usr/lib/portage/bin/misc-functions.sh: line 412: /usr/portage/packages/All/portage-2.1_pre7-r5.tbz2.13472: Permission denied !!! ERROR: sys-apps/portage-2.1_pre7-r5 failed. Call stack: misc-functions.sh, line 469: Called dyn_package misc-functions.sh, line 412: Called die !!! Failed to create tarball !!! If you need support, post the topmost build error, and the call stack if relevant. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-sys-apps_-_portage-2.1_pre7-r5-13471.log" open_wr: /usr/portage/packages/All/portage-2.1_pre7-r5.tbz2.13472 (symlink to /mnt/e/tools/linux/gentoo/amd64/packages/portage-2.1_pre7-r5.tbz2.13472)
This is fixed in svn r3189. I've disabled sandbox during package phase interaction with $PKGDIR for compatibility with symlinks.
Released in 2.1_pre9-r4.