[m-dev.] Nightly tests on taura.

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Oct 17 22:45:15 AEDT 2011


Hi Paul,

On Mon, 17 Oct 2011, Paul Bone wrote:

> I've been trying to fix the nightly tests on taura, I've resolved a couple of problems but have hit a hurdle that is confusing.
>
> The test log ends with:
>
>    make[4]: *** [unify_typeinfo_bug.log] Error 1
>    make[5]: *** No rule to make target `builtin.mih', needed by `uniq_mode_inf_bug.o'.
>    make[5]: *** No rule to make target `int.mih', needed by `uniq_mode_inf_bug.o'.
>    make[5]: *** No rule to make target `list.mih', needed by `uniq_mode_inf_bug.o'.
>    make[5]: *** No rule to make target `private_builtin.mih', needed by `uniq_mode_inf_bug.o'.
>    make[4]: *** [uniq_mode_inf_bug.log] Error 1
>    make[5]: *** No rule to make target `builtin.mih', needed by `uniq_unify.o'.
>    make[5]: *** No rule to make target `io.mih', needed by `uniq_unify.o'.
>    make[5]: *** No rule to make target `private_builtin.mih', needed by `uniq_unify.o'.
>    make[4]: *** [uniq_unify.log] Error 1
>    make[5]: *** No rule to make target `builtin.mih', needed by `unreachable_code.o'.
>    make[5]: *** No rule to make target `private_builtin.mih', needed by `unreachable_code.o'.
>    make[5]: *** No rule to make target `require.mih', needed by `unreachable_code.o'.
>    make[4]: *** [unreachable_code.log] Error 1
>    make[5]: *** No rule to make target `builtin.mih', needed by `unused_args_test2.o'.
>    make[5]: *** No rule to make target `private_builtin.mih', needed by `unused_args_test2.o'.
>    make[4]: *** [unused_args_test2.log] Error 1
>    make[5]: *** No rule to make target `array.mih', needed by `vn_float.o'.
>    make[5]: *** No rule to make target `builtin.mih', needed by `vn_float.o'.
>    make[5]: *** No rule to make target `float.mih', needed by `vn_float.o'.
>    make[5]: *** No rule to make target `int.mih', needed by `vn_float.o'.
>    make[5]: *** No rule to make target `list.mih', needed by `vn_float.o'.
>    make[5]: *** No rule to make target `math.mih', needed by `vn_float.o'.
>    make[5]: *** No rule to make target `private_builtin.mih', needed by `vn_float.o'.
>    make[5]: *** No rule to make target `require.mih', needed by `vn_float.o'.
>    make[5]: *** No rule to make target `std_util.mih', needed by `vn_float.o'.
>    make[4]: *** [vn_float.log] Error 1
>    make[5]: *** No rule to make target `builtin.mih', needed by `wrapper_arg_lvals.o'.
>    make[5]: *** No rule to make target `private_builtin.mih', needed by `wrapper_arg_lvals.o'.
>    make[4]: *** [wrapper_arg_lvals.log] Error 1
>    make[5]: *** No rule to make target `builtin.mih', needed by `zero_arity.o'.
>    make[5]: *** No rule to make target `private_builtin.mih', needed by `zero_arity.o'.
>    make[5]: *** No rule to make target `std_util.mih', needed by `zero_arity.o'.
>    make[4]: *** [zero_arity.log] Error 1
>    make[5]: *** No rule to make target `builtin.mih', needed by `zf_erlang_bug.o'.
>    make[5]: *** No rule to make target `io.mih', needed by `zf_erlang_bug.o'.
>    make[5]: *** No rule to make target `list.mih', needed by `zf_erlang_bug.o'.
>    make[5]: *** No rule to make target `private_builtin.mih', needed by `zf_erlang_bug.o'.
>    make[4]: *** [zf_erlang_bug.log] Error 1
>    make[3]: *** [runtests_local] Error 1
>    make[2]: *** [runtests] Error 1
>    make[1]: *** [runtests_in_valid] Error 2
>    make: *** [runtests] Error 1
>    + echo ** Error in tests in grade hlc.gc.trseg
>    ** Error in tests in grade hlc.gc.trseg
>
> Does anyone know what might be the problem here? Has anyone seen mmake behave
> this way before?

It looks like the Mercury installation on taura is broken.  There
appears to be some problem installing files in /home/taura/public,
from the test logs (in /home/taura/workspaces/test_mercury_taura/logs):

make[1]: [install_scripts] Error 1 (ignored)
cp mprof_merge_runs mtc vpath_find c2init canonical_grade mdb mdprof
mercury.bat mercury_config mercury_update_interface mgnuc
mkfifo_using_mknod ml mmake mmc mprof mtags prepare_install_dir
/home/taura/public/mercury-latest/x86_64-unknown-linux-gnu/bin
cp: cannot create regular file
`/home/taura/public/mercury-latest/x86_64-unknown-linux-gnu/bin/mprof_merge_runs':
Permission denied
cp: cannot create regular file
`/home/taura/public/mercury-latest/x86_64-unknown-linux-gnu/bin/mtc':
Permission denied

/snip much more of the above

Actually the problem is this:

drwxr-sr-x 5 mercury mercury 4096 2011-10-15 13:19 .
drwxr-sr-x 6 mercury mercury 4096 2010-10-18 15:24 ..
drwxr-sr-x 7 mercury mercury 4096 2011-04-25 00:02
mercury_install_backup
drwxr-sr-x 7 mercury mercury 4096 2011-02-06 23:59 old
drwxr-sr-x 6 root    mercury 4096 2011-10-15 13:20
x86_64-unknown-linux-gnu

For some reason the installation directory is not writable
by the mercury user (it should in fact be owned by the mercury
user.)

I suggest you fix the permission problems, nuke the current installation
and re-install from the current rotd source distribution.

Julien.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list