MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/submodules' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/scripts/mmc --make --options-file - use_submodule.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/submodules' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/submodules' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/scripts/mmc --make --options-file - use_submodule Making Mercury/int3s/use_submodule.int3 Making Mercury/int3s/use_submodule_helper_1.int3 Making Mercury/int3s/use_submodule_helper_1.use_submodule_helper_2.int3 Making Mercury/int3s/use_submodule_helper_1.use_submodule_helper_3.int3 Making Mercury/int0s/use_submodule_helper_1.int0 Making Mercury/int0s/use_submodule_helper_1.use_submodule_helper_3.int0 Making Mercury/int0s/use_submodule_helper_1.use_submodule_helper_2.int0 Making Mercury/ints/use_submodule_helper_1.use_submodule_helper_3.int Making Mercury/ints/use_submodule_helper_1.use_submodule_helper_2.int Making Mercury/ints/use_submodule_helper_1.int Making Mercury/ints/use_submodule.int Making Mercury/javas/jmercury/use_submodule.java Making Mercury/javas/jmercury/use_submodule_helper_1.java Making Mercury/javas/jmercury/use_submodule_helper_1__use_submodule_helper_2.java Making Mercury/javas/jmercury/use_submodule_helper_1__use_submodule_helper_3.java Making Java class files Mercury/javas/jmercury/use_submodule.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "use_submodule"; ^ Mercury/javas/jmercury/use_submodule.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/use_submodule.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/use_submodule.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class use_submodule Mercury/javas/jmercury/use_submodule.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class use_submodule Mercury/javas/jmercury/use_submodule.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/use_submodule.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class use_submodule Mercury/javas/jmercury/use_submodule.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class use_submodule Mercury/javas/jmercury/use_submodule.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class use_submodule Mercury/javas/jmercury/use_submodule.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class use_submodule Mercury/javas/jmercury/use_submodule.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/use_submodule_helper_1.java:22: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class use_submodule_helper_1 Mercury/javas/jmercury/use_submodule_helper_1__nested.java:22: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class use_submodule_helper_1__nested Mercury/javas/jmercury/use_submodule_helper_1__use_submodule_helper_2.java:22: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class use_submodule_helper_1__use_submodule_helper_2 Mercury/javas/jmercury/use_submodule_helper_1__use_submodule_helper_2.java:32: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class use_submodule_helper_1__use_submodule_helper_2 Mercury/javas/jmercury/use_submodule_helper_1__use_submodule_helper_2__nested.java:22: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class use_submodule_helper_1__use_submodule_helper_2__nested Mercury/javas/jmercury/use_submodule_helper_1__use_submodule_helper_3.java:22: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class use_submodule_helper_1__use_submodule_helper_3 Mercury/javas/jmercury/use_submodule_helper_1__use_submodule_helper_3__nested.java:22: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class use_submodule_helper_1__use_submodule_helper_3__nested 18 errors make[3]: *** [/tmp/mmake.jsAN4V:1200: use_submodule] Error 1 make[3]: Target 'use_submodule.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/submodules'