MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1301: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1759: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1759: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1759: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1759: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1759: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1759: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1759: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1760: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1760: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1760: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1760: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1760: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1760: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.hA7VEu:1760: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-07-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-07-19/stage2/scripts/mmc --make --options-file - exist_foreign_error.err Making Mercury/int3s/exist_foreign_error.int3 Making Mercury/ints/exist_foreign_error.int Making exist_foreign_error.err exist_foreign_error.m:031: Error: the foreign language code for function exist_foreign_error.m:031: `exist_foreign_error.get_pti_from_arg_types'/2 exist_foreign_error.m:031: should define the variable `TypeInfo_for_T'. ** Error making `exist_foreign_error.err'. make[3]: [/tmp/mmake.hA7VEu:1302: exist_foreign_error.err] Error 1 (ignored) if { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-07-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-07-19/stage2/scripts/mmc --make --options-file - -r exist_foreign_error.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing exist_foreign_error.err with exist_foreign_error.err_exp*, results in exist_foreign_error.err_res ** exist_foreign_error.err did not match the expected error output ** (closest match was exist_foreign_error.err_res1) --- exist_foreign_error.err_exp 2024-05-20 21:50:23.000000000 +1000 +++ exist_foreign_error.err 2024-07-20 15:49:16.361839647 +1000 @@ -1,3 +1,3 @@ -exist_foreign_error.m:017: Error: the foreign language code for function -exist_foreign_error.m:017: `exist_foreign_error.get_pti_from_arg_types'/2 -exist_foreign_error.m:017: should define the variable `TypeInfo_for_T'. +exist_foreign_error.m:031: Error: the foreign language code for function +exist_foreign_error.m:031: `exist_foreign_error.get_pti_from_arg_types'/2 +exist_foreign_error.m:031: should define the variable `TypeInfo_for_T'. make[3]: *** [../Mmake.common:172: exist_foreign_error.err_res] Error 1 make[3]: Target 'exist_foreign_error.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/tests/invalid'