MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-27/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1305: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.gqnp74:1951: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-27/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-27/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-27/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-27/stage2/scripts/mmc --make --options-file - pragma_c_code_dup_var.err Making Mercury/int3s/pragma_c_code_dup_var.int3 Making Mercury/ints/pragma_c_code_dup_var.int ** Nothing to be done for `pragma_c_code_dup_var.err'. if { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-27/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-27/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-27/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-27/stage2/scripts/mmc --make --options-file - -r pragma_c_code_dup_var.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing pragma_c_code_dup_var.err with pragma_c_code_dup_var.err_exp*, results in pragma_c_code_dup_var.err_res ** pragma_c_code_dup_var.err did not match the expected error output ** (closest match was pragma_c_code_dup_var.err_res3) --- pragma_c_code_dup_var.err_exp3 2023-10-26 21:55:27.000000000 +1100 +++ pragma_c_code_dup_var.err 2024-08-28 15:21:37.702704995 +1000 @@ -1,5 +1,5 @@ -pragma_c_code_dup_var.m:025: Error: no clauses for function `bread_impl'/7. +pragma_c_code_dup_var.m:025: Error: function `bread_impl'/7 has no clauses. pragma_c_code_dup_var.m:050: In `:- pragma foreign_proc' declaration for pragma_c_code_dup_var.m:050: function `bread_impl'/7: -pragma_c_code_dup_var.m:050: error: variable `Buf' occurs more than once in +pragma_c_code_dup_var.m:050: error: variable `Buf' occurs more than once in pragma_c_code_dup_var.m:050: the argument list. make[3]: *** [../Mmake.common:172: pragma_c_code_dup_var.err_res] Error 1 make[3]: Target 'pragma_c_code_dup_var.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-27/tests/invalid'