MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/scripts/mmc --make --options-file - export_before_func.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/scripts/mmc --make --options-file - export_before_func.class Making Mercury/int3s/export_before_func.int3 Making Mercury/ints/export_before_func.int Making Mercury/javas/jmercury/export_before_func.java Making Mercury/classes/jmercury/export_before_func.class Mercury/javas/jmercury/export_before_func.java:21: error: package maybe does not exist private static maybe.Maybe_1 ^ Mercury/javas/jmercury/export_before_func.java:25: error: package maybe does not exist maybe.Maybe_1 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/export_before_func.java:28: error: package maybe.Maybe_1 does not exist HeadVar__2_2 = new maybe.Maybe_1.Yes_1( ^ 3 errors ** Error making `Mercury/classes/jmercury/export_before_func.class'. make[3]: *** [/tmp/mmake.pmVwJj:1500: export_before_func.class] Error 1 make[3]: Target 'export_before_func.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/valid'