MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-09-21/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-09-21/stage2/scripts/mmc --make --options-file - foreign_import_module.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-09-21/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-09-21/stage2/scripts/mmc --make --options-file - foreign_import_module Making Mercury/int3s/foreign_import_module.int3 Making Mercury/int3s/foreign_import_module_helper_1.int3 Making Mercury/ints/foreign_import_module_helper_1.int Making Mercury/ints/foreign_import_module.int Making Mercury/javas/jmercury/foreign_import_module.java Making Mercury/javas/jmercury/foreign_import_module_helper_1.java Making Java class files Mercury/javas/jmercury/foreign_import_module.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "foreign_import_module"; ^ Mercury/javas/jmercury/foreign_import_module.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/foreign_import_module.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/foreign_import_module.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/foreign_import_module.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/foreign_import_module.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_11_11 = null; ^ Mercury/javas/jmercury/foreign_import_module.java:93: error: cannot find symbol TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:93: error: package jmercury.runtime does not exist TypeCtorInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/foreign_import_module.java:95: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_11_11, java.lang.Integer.valueOf(X_4)); ^ symbol: variable io location: class foreign_import_module Mercury/javas/jmercury/foreign_import_module.java:110: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_11_11, java.lang.Integer.valueOf(Y_5)); ^ symbol: variable io location: class foreign_import_module 16 errors make[3]: *** [/tmp/mmake.15L87V:2364: foreign_import_module] Error 1 make[3]: Target 'foreign_import_module.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/hard_coded'