d ./../..//Programs && make api make[3]: Entering directory `/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Programs' make[3]: Nothing to be done for `api'. make[3]: Leaving directory `/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Programs' set -- --quiet build --build-temp .; \ [ "linux-gnu" != "mingw32" ] || set -- "${@}" --compiler mingw32; \ /usr/bin/python ./setup.py "${@}" make[2]: Leaving directory `/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Bindings/Python' set -- Caml Python; \ for language \ do (cd ./..//Bindings/$language && make install) || exit 1; \ done make[2]: Entering directory `/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Bindings/Caml' ocamlfind remove brlapi ocamlfind: [WARNING] No such directory: /usr/lib64/ocaml/site-packages/brlapi ocamlfind install brlapi ./META brlapi.mli brlapi.cmi libbrlapi.a dllbrlapi.so brlapi.cma ACCESS DENIED mkdir: /usr/lib64/ocaml/site-packages/brlapi ocamlfind: Cannot mkdir /usr/lib64/ocaml/site-packages/brlapi: Permission denied make[2]: *** [install-with-findlib] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Bindings/Caml' make[1]: *** [install-api-bindings] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-accessibility/brltty-3.9/work/brltty-3.9/Programs' make: *** [install] Error 2 * * ERROR: app-accessibility/brltty-3.9 failed. * Call stack: * ebuild.sh, line 46: Called src_install * environment, line 2115: Called die * The specific snippet of code: * make INSTALL_PROGRAM="\${INSTALL_SCRIPT}" INSTALL_ROOT="${D}" install || diefunc "$FUNCNAME" "$LINENO" "$?"; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/app-accessibility:brltty-3.9:20080107-182830.log'. * The ebuild environment file is located at '/var/tmp/portage/app-accessibility/brltty-3.9/temp/environment'. * --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-15825.log" mkdir: /usr/lib64/ocaml/site-packages/brlapi -------------------------------------------------------------------------------- fix is easy though: either inherit findlib eclass and call findlib_src_preinst to get the sane variables exported. But this way (because the eclass suck) you'll get mandatory dep on findlib, so that's probably no good. So, its probably better to just copy the stuff from findlib_src_presinst before make install. Btw, if I hit that, dev-ml/findlib dep is probably missing
I have put a fix for this in portage. Thanks for the report. :-)