MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-higher-order '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-08-15/stage2/scripts/mmc --make --options-file - ho_spec_branch_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --optimize-higher-order '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-08-15/stage2/scripts/mmc --make --options-file - ho_spec_branch_bug Making Mercury/int3s/ho_spec_branch_bug.int3 Making Mercury/ints/ho_spec_branch_bug.int Making Mercury/javas/jmercury/ho_spec_branch_bug.java Making Java class files Mercury/javas/jmercury/ho_spec_branch_bug.java:106: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "ho_spec_branch_bug"; ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:41: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:41: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:42: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:42: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:64: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:74: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class ho_spec_branch_bug Mercury/javas/jmercury/ho_spec_branch_bug.java:82: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_9)[1]); ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:82: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_9)[1]); ^ Mercury/javas/jmercury/ho_spec_branch_bug.java:86: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_5 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_9))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ 21 errors make[3]: *** [/tmp/mmake.V2KmHH:1282: ho_spec_branch_bug] Error 1 make[3]: Target 'ho_spec_branch_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/general'