MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'
{ echo MCFLAGS += '--grade java    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/scripts/mmc --make --options-file - ppc_bug.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'
{ echo MCFLAGS += '--grade java    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/scripts/mmc --make --options-file - ppc_bug
Making Mercury/int3s/ppc_bug.int3
Making Mercury/ints/ppc_bug.int
Making Mercury/javas/jmercury/ppc_bug.java
Making Java class files
Mercury/javas/jmercury/ppc_bug.java:32: error: package list.List_1 does not exist 
  private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1];
                                  ^
Mercury/javas/jmercury/ppc_bug.java:33: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[4];
                                  ^
Mercury/javas/jmercury/ppc_bug.java:68: error: package list does not exist 
    list.List_1 HeadVar__1_1,
        ^
Mercury/javas/jmercury/ppc_bug.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "ppc_bug";
                    ^
Mercury/javas/jmercury/ppc_bug.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/ppc_bug.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/ppc_bug.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class ppc_bug
Mercury/javas/jmercury/ppc_bug.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class ppc_bug
Mercury/javas/jmercury/ppc_bug.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/ppc_bug.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class ppc_bug
Mercury/javas/jmercury/ppc_bug.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class ppc_bug
Mercury/javas/jmercury/ppc_bug.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class ppc_bug
Mercury/javas/jmercury/ppc_bug.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class ppc_bug
Mercury/javas/jmercury/ppc_bug.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/ppc_bug.java:32: error: package list.List_1 does not exist 
  private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1];
                                                                                 ^
Mercury/javas/jmercury/ppc_bug.java:33: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[4];
                                                                                  ^
Mercury/javas/jmercury/ppc_bug.java:37: error: package list.List_1 does not exist 
      new list.List_1.F_nil_0();
                     ^
Mercury/javas/jmercury/ppc_bug.java:39: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/ppc_bug.java:40: error: package bool does not exist 
        ((java.lang.Object) (bool.Bool_0.K1)),
                                 ^
Mercury/javas/jmercury/ppc_bug.java:40: error: illegal start of type 
        ((java.lang.Object) (bool.Bool_0.K1)),
                            ^
Mercury/javas/jmercury/ppc_bug.java:41: error: package list does not exist 
        (list.List_1) ppc_bug.MR_scalar_common_1[0]
             ^
Mercury/javas/jmercury/ppc_bug.java:44: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/ppc_bug.java:45: error: package bool does not exist 
        ((java.lang.Object) (bool.Bool_0.K1)),
                                 ^
Mercury/javas/jmercury/ppc_bug.java:45: error: illegal start of type 
        ((java.lang.Object) (bool.Bool_0.K1)),
                            ^
Mercury/javas/jmercury/ppc_bug.java:46: error: package list does not exist 
        (list.List_1) ppc_bug.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/ppc_bug.java:49: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/ppc_bug.java:50: error: package bool does not exist 
        ((java.lang.Object) (bool.Bool_0.K0)),
                                 ^
Mercury/javas/jmercury/ppc_bug.java:50: error: illegal start of type 
        ((java.lang.Object) (bool.Bool_0.K0)),
                            ^
Mercury/javas/jmercury/ppc_bug.java:51: error: package list does not exist 
        (list.List_1) ppc_bug.MR_scalar_common_2[1]
             ^
Mercury/javas/jmercury/ppc_bug.java:54: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/ppc_bug.java:55: error: package bool does not exist 
        ((java.lang.Object) (bool.Bool_0.K1)),
                                 ^
Mercury/javas/jmercury/ppc_bug.java:55: error: illegal start of type 
        ((java.lang.Object) (bool.Bool_0.K1)),
                            ^
Mercury/javas/jmercury/ppc_bug.java:56: error: package list does not exist 
        (list.List_1) ppc_bug.MR_scalar_common_2[2]
             ^
Mercury/javas/jmercury/ppc_bug.java:80: error: package jmercury.runtime does not exist 
        jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0);
                        ^
Mercury/javas/jmercury/ppc_bug.java:80: error: cannot find symbol 
        jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0);
                                                                                                         ^
  symbol:   variable builtin
  location: class ppc_bug
Mercury/javas/jmercury/ppc_bug.java:80: error: package jmercury.runtime does not exist 
        jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0);
                                                                              ^
Mercury/javas/jmercury/ppc_bug.java:84: error: cannot find symbol 
          exception.throw_1_p_0(TypeCtorInfo_20_20, ((java.lang.Object) (Var_8)));
          ^
  symbol:   variable exception
  location: class ppc_bug
Mercury/javas/jmercury/ppc_bug.java:89: error: package bool does not exist 
        bool.Bool_0 B_9 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1);
            ^
Mercury/javas/jmercury/ppc_bug.java:89: error: package bool does not exist 
        bool.Bool_0 B_9 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1);
                                ^
Mercury/javas/jmercury/ppc_bug.java:89: error: package list.List_1 does not exist 
        bool.Bool_0 B_9 = ((bool.Bool_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1);
                                                      ^
Mercury/javas/jmercury/ppc_bug.java:90: error: package list does not exist 
        list.List_1 Bs_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2;
            ^
Mercury/javas/jmercury/ppc_bug.java:90: error: package list.List_1 does not exist 
        list.List_1 Bs_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2;
                                         ^
Mercury/javas/jmercury/ppc_bug.java:92: error: illegal start of type 
        switch (B_9.MR_value) {
               ^
Mercury/javas/jmercury/ppc_bug.java:97: error: package list does not exist 
              list.List_1 next_value_of_HeadVar__1_1 = null;
                  ^
Mercury/javas/jmercury/ppc_bug.java:119: error: package list does not exist 
                list.List_1 next_value_of_HeadVar__1_1 = null;
                    ^
Mercury/javas/jmercury/ppc_bug.java:138: error: package jmercury.runtime does not exist 
            throw new jmercury.runtime.UnreachableDefault();
                                      ^
Mercury/javas/jmercury/ppc_bug.java:149: error: package list does not exist 
    list.List_1 Var_7 = (list.List_1) ppc_bug.MR_scalar_common_2[3];
        ^
Mercury/javas/jmercury/ppc_bug.java:149: error: package list does not exist 
    list.List_1 Var_7 = (list.List_1) ppc_bug.MR_scalar_common_2[3];
                             ^
Mercury/javas/jmercury/ppc_bug.java:157: error: cannot find symbol 
      io.write_int_3_p_0(X_4);
      ^
  symbol:   variable io
  location: class ppc_bug
Mercury/javas/jmercury/ppc_bug.java:160: error: cannot find symbol 
      io.nl_2_p_0();
      ^
  symbol:   variable io
  location: class ppc_bug
50 errors
gmake[3]: *** [/tmp/mmake.EVNzC2:2362: ppc_bug] Error 1
gmake[3]: Target 'ppc_bug.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'