MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - test_semaphore.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - test_semaphore Making Mercury/int3s/test_semaphore.int3 Making Mercury/ints/test_semaphore.int Making Mercury/javas/jmercury/test_semaphore.java Making Java class files Mercury/javas/jmercury/test_semaphore.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_semaphore"; ^ Mercury/javas/jmercury/test_semaphore.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_semaphore.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_semaphore.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_semaphore.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_semaphore.java:36: error: package jmercury.runtime does not exist jmercury.runtime.Semaphore S_4 = null; ^ Mercury/javas/jmercury/test_semaphore.java:40: error: cannot find symbol S_4 = thread__semaphore.init_3_p_0(); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:43: error: cannot find symbol thread__semaphore.signal_3_p_0(S_4); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:46: error: cannot find symbol thread__semaphore.signal_3_p_0(S_4); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:49: error: cannot find symbol thread__semaphore.wait_3_p_0(S_4); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:52: error: cannot find symbol thread__semaphore.wait_3_p_0(S_4); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:55: error: cannot find symbol thread__semaphore.signal_3_p_0(S_4); ^ symbol: variable thread__semaphore location: class test_semaphore Mercury/javas/jmercury/test_semaphore.java:59: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class test_semaphore 19 errors make[3]: *** [/tmp/mmake.c2RO6j:2364: test_semaphore] Error 1 make[3]: Target 'test_semaphore.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'