|Anonymous | Login | Signup for a new account||2014-10-31 23:21 CET|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003895||OCaml||OCaml general||public||2005-11-29 05:03||2005-11-29 13:35|
|Target Version||Fixed in Version|
|Summary||0003895: configure has no option to specify temporary file handling|
|Description||Building on Sourceforge Compile Farm alpha machine I get this:|
boot/ocamlyacc -v parsing/parser.mly
boot/ocamlyacc: f - cannot open "/tmp/yacc.aHiN7tb"
This would appear to be a result of attempting to create a temporary
file in a directory I do not have permission to write to:
skaller@usf-cf-alpha-linux-1:~/alpha/ocaml-3.09.0$ man whoami
man: can't create a temporary filename: Read-only file system
Whilst this may well be a misconfiguration of th host
leading to failure of some C function call to create a
temporary file, rather than an Ocaml build bug ..
I am still left unable to build the compiler on this box.
A 'configure' option to specify a directory in which to place
temporary files, plus use of this directory wherever required,
may fix this problem (although not if some external tool
called by Ocaml or the build process tries to write in /tmp ..
and there is no way to pass on the temporary directory name to it ;(
|Additional Information||If there is a workaround please let me know: firstname.lastname@example.org|
[other than creating a user space chroot .. ugg ..]
I couldn't find the 'obvious' solution .. an environment
variable controlling which directory should be used.
BTW: I rated this 'block' because it completely blocks me
from building the compiler, but it probably needs to be
dropped to 'not a bug' or 'feature-request' after assessment.
Any alternative would be for the configuration script
to check that the temporary file function actually works,
not just that it is present (if there is already a
workaround in the case it isn't available).
|Tags||No tags attached.|
This has nothing to do with configure. The correct solution is to have an environment
variable, for example TMPDIR, which specifies where to put the temporary files. And
all tools should use it, not just the OCaml tools.
And this is what the OCaml standard library does: TMPDIR under Unix, TEMP under
Now we "only" need to check all the scripts, Makefiles, and auxiliary tools.
found two problems: in the debugger and labltk
fixed in 309 branch, tested under MacOSX with a non-writable /tmp
|2005-11-29 05:03||anonymous||New Issue|
|2005-11-29 11:15||doligez||Note Added: 0003396|
|2005-11-29 13:34||doligez||Note Added: 0003398|
|2005-11-29 13:35||doligez||Status||new => closed|
|2005-11-29 13:35||doligez||Resolution||open => fixed|
|2006-08-18 11:39||doligez||Relationship added||related to 0004088|
|Copyright © 2000 - 2011 MantisBT Group|