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
}