MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { 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 - print_date.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { 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 - print_date Making Mercury/int3s/print_date.int3 Making Mercury/ints/print_date.int Making Mercury/javas/jmercury/print_date.java Making Java class files Mercury/javas/jmercury/print_date.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "print_date"; ^ Mercury/javas/jmercury/print_date.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/print_date.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/print_date.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class print_date Mercury/javas/jmercury/print_date.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class print_date Mercury/javas/jmercury/print_date.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/print_date.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class print_date Mercury/javas/jmercury/print_date.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class print_date Mercury/javas/jmercury/print_date.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class print_date Mercury/javas/jmercury/print_date.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class print_date Mercury/javas/jmercury/print_date.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/print_date.java:36: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_24_24 = null; ^ Mercury/javas/jmercury/print_date.java:37: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_25_25 = null; ^ Mercury/javas/jmercury/print_date.java:38: error: package calendar does not exist calendar.Date_0 Date1_4 = null; ^ Mercury/javas/jmercury/print_date.java:39: error: package calendar does not exist calendar.Date_0 Date2_5 = null; ^ Mercury/javas/jmercury/print_date.java:40: error: package calendar does not exist calendar.Duration_0 Duration_6 = null; ^ Mercury/javas/jmercury/print_date.java:42: error: package calendar does not exist calendar.Month_0 Var_10 = calendar.Month_0.K11; ^ Mercury/javas/jmercury/print_date.java:42: error: package calendar does not exist calendar.Month_0 Var_10 = calendar.Month_0.K11; ^ Mercury/javas/jmercury/print_date.java:49: error: package calendar does not exist calendar.Month_0 Var_17 = null; ^ Mercury/javas/jmercury/print_date.java:57: error: cannot find symbol Date1_4 = calendar.det_init_date_7_f_0(Var_9, Var_10, Var_11, Var_12, Var_13, Var_14, Var_15); ^ symbol: variable calendar location: class print_date Mercury/javas/jmercury/print_date.java:60: error: package calendar does not exist Var_17 = calendar.Month_0.K11; ^ Mercury/javas/jmercury/print_date.java:67: error: cannot find symbol Date2_5 = calendar.det_init_date_7_f_0(Var_16, Var_17, Var_18, Var_19, Var_20, Var_21, Var_22); ^ symbol: variable calendar location: class print_date Mercury/javas/jmercury/print_date.java:69: error: cannot find symbol TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(calendar.calendar__type_ctor_info_date_0); ^ symbol: variable calendar location: class print_date Mercury/javas/jmercury/print_date.java:69: error: package jmercury.runtime does not exist TypeCtorInfo_24_24 = jmercury.runtime.TypeInfo_Struct.maybe_new(calendar.calendar__type_ctor_info_date_0); ^ Mercury/javas/jmercury/print_date.java:71: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_24_24, ((java.lang.Object) (Date1_4))); ^ symbol: variable io location: class print_date Mercury/javas/jmercury/print_date.java:74: error: cannot find symbol Duration_6 = calendar.duration_2_f_0(Date1_4, Date2_5); ^ symbol: variable calendar location: class print_date Mercury/javas/jmercury/print_date.java:76: error: cannot find symbol TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(calendar.calendar__type_ctor_info_duration_0); ^ symbol: variable calendar location: class print_date Mercury/javas/jmercury/print_date.java:76: error: package jmercury.runtime does not exist TypeCtorInfo_25_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(calendar.calendar__type_ctor_info_duration_0); ^ Mercury/javas/jmercury/print_date.java:78: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_25_25, ((java.lang.Object) (Duration_6))); ^ symbol: variable io location: class print_date 29 errors make[3]: *** [/tmp/mmake.run0XI:2360: print_date] Error 1 make[3]: Target 'print_date.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'