[Omake] Re: [Caml-list] Announcing OMake 0.9.8.3;
pre-announcing OMake 0.9.9
with automated C library wrapping for OCaml
Aleksey Nogin
anogin at hrl.com
Fri Jun 1 14:58:09 PDT 2007
Alexis,
The denied write accesses that you are seeing are a result of OMake
trying to check if those directories are on a case-insensitive
filesystem. Attempting to create a tmp file is a last resort-thing that
OMake does when there the directory contains no file/subdirectory with a
letter in its name.
I will have to check why it's trying to look at /.omake directory (seems
like a minor bug).
The reason it's looking at /usr/x86_64-pc-linux-gnu/gcc-bin, /usr/kde
and /usr/qt is that they are in your PATH. Do they actually exist on
your system? We can probably make sure that OMake aborts the case
sensitivity testing earlier in case the directory does not exist.
Finally, /usr/lib64/omake is tested when OMake is about to look up its
files in the system library location, except it does not make much sense
for self-builds, so, again, it should probably be considered a minor bug
that I will look into.
Aleksey
On 01.06.2007 14:31, Alexis Ballier wrote:
> Hi !
>
>
> I've just tried to package 0.9.8.3 but I get those error messages :
>
>
>
> ocamlc -c omake_builtin_shell.ml
> ocamlc -c omake_builtin_rule.ml
> ocamlc -c omake_builtin_test.ml
> ocamlc -c omake_builtin_object.ml
> ocamlc -c omake_shell.ml
> ocamlc -c omake_main.ml
> ocamlc -a -o build.cma omake_rule.cmo omake_build_type.cmo omake_build_util.cmo omake_builtin_type.cmo omake_builtin_util.cmo omake_target.cmo omake_builtin.cmo omake_build_tee.cmo omake_build.cmo
> ocamlc -linkall -a -o builtin.cma omake_builtin_base.cmo omake_builtin_arith.cmo omake_builtin_file.cmo omake_builtin_fun.cmo omake_builtin_io.cmo omake_builtin_io_fun.cmo omake_builtin_sys.cmo omake_builtin_target.cmo omake_builtin_shell.cmo omake_builtin_rule.cmo omake_builtin_test.cmo omake_builtin_object.cmo
> ocamlc -custom -o omake -cclib clib.a unix.cma lm.cma util.cma magic.cma ast.cma ir.cma env.cma exec.cma eval.cma shell.cma build.cma builtin.cma omake_shell.cmo omake_main.cmo
> make[1]: Leaving directory `/var/tmp/portage/dev-util/omake-0.9.8.3/work/omake-0.9.8.3/boot'
> touch .config
> OMAKEFLAGS= OMAKEPATH=lib ./omake-boot --dotomake .omake --force-dotomake -j2 main
> ACCESS DENIED open_wr: /.omake/OMe82b4f.tmp
> *** omake: reading OMakefiles
> --- Checking for gcc... ACCESS DENIED open_wr: /usr/x86_64-pc-linux-gnu/gcc-bin/OMd3b863.tmp
> ACCESS DENIED open_wr: /usr/kde/OMb8d0b3.tmp
> ACCESS DENIED open_wr: /usr/qt/OM02410f.tmp
> (found /usr/bin/gcc)
> --- Checking for g++... (found /usr/bin/g++)
> --- Checking for ocamlfind... (FAILED - no ocamlfind found)
> --- Checking for ocamlc.opt... (found /usr/bin/ocamlc.opt)
> --- Checking for ocamlopt.opt... (found /usr/bin/ocamlopt.opt)
> --- Checking whether ocamlc understands the "z" warnings... (yes)
> --- Checking if ocamldep understands -modules... (yes)
> --- Checking for menhir... (FAILED - no menhir found)
> --- Checking for latex... (found /usr/bin/latex)
> --- Checking LaTeX capabilities... (tetex2 mode enabled)
> --- Checking for svn... (found /usr/bin/svn)
> --- Checking for FAM... (found)
> --- Checking whether FAM supports Gamin's extensions... (yes)
> --- Checking for ncurses... (found)
> --- Checking for readline... (found, GNU)
> Updating the .config file.
> --- Checking for function snprintf... (found)
> --- Checking for optimal filesystem case-sensitivity test... (Generic)
> --- Checking for hevea... (FAILED - no hevea found)
> *** omake: finished reading OMakefiles (2.4 sec)
> *** omake: warning: stdout is not a tty, disabling the progress bar
> (use --progress to override).
> *** omake: saved .omakedb
> *** omake: saved .omakedb
> *** omake: done (33.7 sec, 221/221 scans, 331/483 rules, 755/1999 digests)
> OMAKEFLAGS= OMAKEPATH=lib src/main/omake --dotomake .omake --force-dotomake -j2 all
> ACCESS DENIED open_wr: /usr/lib64/omake/OM91b57d.tmp
> ACCESS DENIED open_wr: /.omake/OMf84c86.tmp
> *** omake: reading OMakefiles
> ACCESS DENIED open_wr: /usr/x86_64-pc-linux-gnu/gcc-bin/OM870303.tmp
> ACCESS DENIED open_wr: /usr/kde/OMf5cd0d.tmp
> ACCESS DENIED open_wr: /usr/qt/OM18d534.tmp
> *** omake: finished reading OMakefiles (0.1 sec)
> *** omake: warning: stdout is not a tty, disabling the progress bar
> (use --progress to override).
> *** omake: done (1.3 sec, 1/222 scans, 22/507 rules, 29/1520 digests)
>>>> Source compiled.
> --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
> LOG FILE = "/var/log/sandbox/sandbox-dev-util_-_omake-0.9.8.3-11703.log"
>
> open_wr: /.omake/OMe82b4f.tmp
> open_wr: /usr/x86_64-pc-linux-gnu/gcc-bin/OMd3b863.tmp
> open_wr: /usr/kde/OMb8d0b3.tmp
> open_wr: /usr/qt/OM02410f.tmp
> open_wr: /usr/lib64/omake/OM91b57d.tmp
> open_wr: /.omake/OMf84c86.tmp
> open_wr: /usr/x86_64-pc-linux-gnu/gcc-bin/OM870303.tmp
> open_wr: /usr/kde/OMf5cd0d.tmp
> open_wr: /usr/qt/OM18d534.tmp
> --------------------------------------------------------------------------------
>
>
>
>
> that's during a "make all", it tries to write to directories in the system and
> the sandbox is yelling ;)
> Everything was fine with 0.9.8.1, I couldn't find anything related in changelog...
> so I'm rather stuck here ^^
>
>
> I supposed it was a side effect, please tell me if you need any additional information.
>
> Regards,
>
> Alexis.
--
Aleksey Nogin, Research Scientist
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA
More information about the Omake
mailing list