error: can't create or remove files in install directory The following error occurred while trying to add or remove files in the installation directory: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/test-easy-install-10060.write-test' The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /usr/lib/python2.7/site-packages/ Perhaps your account does not have write access to this directory? If the installation directory is a system-owned directory, you may need to sign in as the administrator or "root" account. If you do not have administrative access to this machine, you may wish to choose a different installation directory, preferably one that is listed in your PYTHONPATH environment variable. For information on other options, you may wish to consult the documentation at: http://packages.python.org/distribute/easy_install.html Please make the appropriate changes for your system and try again. -- Installing: /var/tmp/portage/sci-libs/vtk-5.8.0/image/usr/lib/vtk-5.8/java/vtk.jar -- Installing: /var/tmp/portage/sci-libs/vtk-5.8.0/image/usr/lib/VTKTargets.cmake -- Installing: /var/tmp/portage/sci-libs/vtk-5.8.0/image/usr/lib/VTKTargets-gentoo.cmake -- Installing: /var/tmp/portage/sci-libs/vtk-5.8.0/image/usr/lib/vtk-5.8/VTKConfig.cmake -- Installing: /var/tmp/portage/sci-libs/vtk-5.8.0/image/usr/lib/vtk-5.8/VTKConfigVersion.cmake >>> Completed installing vtk-5.8.0 into /var/tmp/portage/sci-libs/vtk-5.8.0/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-9127.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /usr/lib/python2.7/site-packages/test-easy-install-10060.write-test A: /usr/lib/python2.7/site-packages/test-easy-install-10060.write-test R: /usr/lib/python2.7/site-packages/test-easy-install-10060.write-test C: /usr/bin/python2.7 setup.py install --prefix=/usr -------------------------------------------------------------------------------- !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.29" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info >>> Failed to emerge sci-libs/vtk-5.8.0, Log file: >>> '/var/tmp/portage/sci-libs/vtk-5.8.0/temp/build.log' Reproducible: Always I revert to 5.6.1 for a while
It takes hours on my athlon-mp server and pentium-m laptop to compile vtk. So I have limited time to try and test ebuilds.
At least a build.log attaching helps.
*** This bug has been marked as a duplicate of bug 396297 ***