Hello everyone. I thought of putting /var/tmp/portage and /usr/portage/distfiles in another partition, in order to keep gentoo-specific stuff that can grow too much if something goes wrong separate from the root partition. So I mount that partition on a directory /port and make /var/tmp/portage a symbolic link to /port/var_tmp_portage/. Could this work? Well, emerge doesn't like it:
localhost distfiles # emerge aterm Calculating dependencies ...done! >>> emerge (1 of 1) x11-terms/aterm-0.4.2-r3 to / >>> md5 ;-) aterm-0.4.2.tar.bz2 ACCESS DENIED mkdir: /port/var_tmp_portage/aterm-0.4.2-r3/work install: cannot create directory `/var/tmp/portage/aterm-0.4.2-r3/work': Permission denied >>> Unpacking source... >>> Unpacking aterm-0.4.2.tar.bz2 /usr/sbin/ebuild.sh: cd: /var/tmp/portage/aterm-0.4.2-r3/work/aterm-0.4.2/src: No such file or directory cp: cannot stat `feature.h': No such file or directory sed: can't read feature.h.orig: No such file or directory >>> Source unpacked. /usr/sbin/ebuild.sh: ./configure: No such file or directory make: *** No targets specified and no makefile found. Stop. !!! ERROR: x11-terms/aterm-0.4.2-r3 failed. !!! Function src_compile, Line 13, Exitcode 2 !!! (no error message) --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-aterm-0.4.2-r3-2179.log" mkdir: /port/var_tmp_portage/aterm-0.4.2-r3/work aterm is just an example, it is the same with other ebuilds. And it works if I remove the link and remake the directory /var/tmp/portage. Permissions for /port/var_tmp_portage/ are OK (I think), so it must have to do with the way emerge deals with symlinks. Guru-help would be appreciated. -- Jorge Almeida -- [EMAIL PROTECTED] mailing list
