When installing tiff in a different directory than / using ROOT=/home/user/gentoo, the installation fails (permission denied) or Sandbox failures. Reproducible: Always Steps to Reproduce: 1. ROOT="somedir" emerge tiff Actual Results: Permission denied, and/or sandbox access violation Expected Results: Correct installation The reason is that tiff's install.sh uses the ROOT variable. Found by Yannick Koehler. See patch. --- tiff-3.5.7-r1.ebuild.org 2003-06-19 09:36:58.000000000 +0000 +++ tiff-3.5.7-r1.ebuild 2003-06-19 09:37:14.000000000 +0000 @@ -30,7 +30,7 @@ src_install() { dodir /usr/{bin,lib,share/man,share/doc/${PF}/html} dodir /usr/share/doc/${PF}/html - make INSTALL="/bin/sh ${S}/port/install.sh" install || die + make ROOT="" INSTALL="/bin/sh ${S}/port/install.sh" install || die preplib /usr dodoc COPYRIGHT README TODO VERSION }
I could reproduce the problem so I went ahead and applied the patch. Thanks for the bug report Martin. This is fixed in CVS so I'll go ahead and close the bug. Reopen if there's a problem.