MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs --warn-duplicate-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/scripts/mmc --make --options-file - duplicate_call.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs --warn-duplicate-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/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-10/stage2/scripts/mmc --make --options-file - duplicate_call.err Making Mercury/int3s/duplicate_call.int3 Making Mercury/ints/duplicate_call.int ** Nothing to be done for `duplicate_call.err'. rm -f duplicate_call.res_error diff -u duplicate_call.err_exp duplicate_call.err > duplicate_call.res_error || \ { test -f duplicate_call.err_exp2 && \ diff -u duplicate_call.err_exp2 duplicate_call.err > duplicate_call.res_error; } || \ { test -f duplicate_call.err_exp3 && \ diff -u duplicate_call.err_exp3 duplicate_call.err > duplicate_call.res_error; } || \ { test -f duplicate_call.err_exp4 && \ diff -u duplicate_call.err_exp4 duplicate_call.err > duplicate_call.res_error; } || \ { cat duplicate_call.err; cat duplicate_call.res_error; exit 1; } --- duplicate_call.err_exp 2024-05-01 21:28:03.000000000 +1000 +++ duplicate_call.err 2024-08-11 15:56:59.077144653 +1000 @@ -1,4 +0,0 @@ -duplicate_call.m:022: Warning: redundant call to predicate -duplicate_call.m:022: `duplicate_call.called'/3. -duplicate_call.m:021: Here is the previous call to predicate -duplicate_call.m:021: `duplicate_call.called'/3. make[3]: *** [/tmp/mmake.IqqOu7:922: duplicate_call.res_error] Error 1 make[3]: Target 'duplicate_call.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/warnings'