+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gprolog-1.4.5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gprolog-1.4.5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for gprolog-1.4.5
cd EnginePl; /opt/pkg/bin/bmake config
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -o pl_config pl_config.c
./pl_config

	-------------------------------
	--- GNU PROLOG INSTALLATION ---
	-------------------------------

GNU Prolog version: 1.4.5 (Jul 21 2024)
Operating system  : solaris2.11
Processor         : x86_64
Size of a WAM word: 64 bits
C compiler        : gcc
C flags           :  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations 
C flags machine   : -m64 -fno-strict-aliasing
Assembler         : gas
Assembler flags   : --64
Loader flags      : -Wl,-R/opt/pkg/lib
Loader libraries  : -lm -lsocket -lnsl
Use line editor   : Yes
Use piped consult : Yes
Use sockets       : Yes
Use FD solver     : Yes
Use machine regs. : Yes
Used register(s)  : r12 (pl_reg_bank)  r13 (TR)  r14 (B)  r15 (H)  

	------------------------------

(cd ../TopComp; /opt/pkg/bin/bmake gplc)
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o gplc top_comp.c -lm -lsocket -lnsl
. ./SETVARS;for i in EnginePl TopComp Wam2Ma Ma2Asm Linedit   BipsPl Pl2Wam Fd2C EngineFD BipsFD;do (cd $i; /opt/pkg/bin/bmake) || exit 1; done; (cd TopComp; /opt/pkg/bin/bmake top-level) || exit 1; (cd Pl2Wam; /opt/pkg/bin/bmake stage2)
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -o cpp_headers cpp_headers.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' machine1.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' mem_alloc.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' misc.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' hash_fct.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' hash.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' obj_chain.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' engine.c
gplc -c -o engine1.o engine1.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' wam_inst.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' atom.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' pred.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' oper.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' if_no_fd.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' main.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' machine.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' stacks_sigsegv.c
rm -f libengine_pl.a
ar rc libengine_pl.a machine.o machine1.o stacks_sigsegv.o mem_alloc.o  misc.o hash_fct.o hash.o obj_chain.o  engine.o engine1.o wam_inst.o  atom.o pred.o oper.o  if_no_fd.o main.o
ranlib libengine_pl.a
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o hexgplc hexfilter.c
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c wam2ma.c
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c wam_parser.c
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o wam2ma wam2ma.o wam_parser.o
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c ma2asm.c
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c ma_parser.c
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c ma2asm_inst.c
gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o ma2asm ma2asm.o ma2asm_inst.o ma_parser.o
gcc -m64 -fno-strict-aliasing -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char linedit.c
gcc -m64 -fno-strict-aliasing -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char terminal.c
gcc -m64 -fno-strict-aliasing -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char ctrl_c.c
rm -f liblinedit.a
ar rc liblinedit.a linedit.o terminal.o ctrl_c.o
ranlib liblinedit.a
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' error_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' c_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' foreign_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' pred_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' term_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' stream_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' scan_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' parse_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' write_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' dynam_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' callinf_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' bc_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' assert_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' read_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' write_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' const_io_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' oper_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' pred_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' atom_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' control_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' call_args_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' throw_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' flag_supp.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' flag_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' arith_inl_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' type_inl_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' term_inl_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' g_var_inl_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' all_solut_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' sort_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' list_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' stat_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' stream_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' file_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' char_io_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' format_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' os_interf_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' expand_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' consult_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' pretty_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' random_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' top_level_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' debugger_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' src_rdr_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' sockets_c.c
gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' le_interf_c.c
gplc -c foreign.wam
gplc -c pl_error.wam
gplc -c utils.wam
gplc -c unify.wam
gplc -c assert.wam
gplc -c read.wam
gplc -c write.wam
gplc -c print.wam
gplc -c const_io.wam
gplc -c oper.wam
gplc -c pred.wam
gplc -c atom.wam
gplc -c control.wam
gplc -c call.wam
gplc -c call_args.wam
gplc -c catch.wam
gplc -c throw.wam
gplc -c flag.wam
gplc -c arith_inl.wam
gplc -c type_inl.wam
gplc -c term_inl.wam
gplc -c g_var_inl.wam
gplc -c all_solut.wam
gplc -c sort.wam
gplc -c list.wam
gplc -c stat.wam
gplc -c stream.wam
gplc -c file.wam
gplc -c char_io.wam
gplc -c dec10io.wam
gplc -c format.wam
gplc -c os_interf.wam
gplc -c expand.wam
gplc -c consult.wam
gplc -c pretty.wam
gplc -c random.wam
gplc -c top_level.wam
gplc -c debugger.wam
gplc -c src_rdr.wam
gplc -c all_pl_bips.wam
gplc -c sockets.wam
gplc -c le_interf.wam
rm -f libbips_pl.a
ar rc libbips_pl.a error_supp.o  c_supp.o  foreign_supp.o  pred_supp.o  term_supp.o  stream_supp.o  scan_supp.o  parse_supp.o  write_supp.o  dynam_supp.o  callinf_supp.o  bc_supp.o  foreign.o  pl_error.o  utils.o  unify.o  assert.o assert_c.o  read.o read_c.o  write.o write_c.o print.o  const_io.o const_io_c.o  oper.o oper_c.o  pred.o pred_c.o  atom.o atom_c.o  control.o control_c.o  call.o  call_args.o call_args_c.o  catch.o throw.o throw_c.o  flag_supp.o flag.o flag_c.o  arith_inl.o arith_inl_c.o  type_inl.o type_inl_c.o  term_inl.o term_inl_c.o  g_var_inl.o g_var_inl_c.o  all_solut.o all_solut_c.o  sort.o sort_c.o  list.o list_c.o  stat.o stat_c.o  stream.o stream_c.o  file.o file_c.o  char_io.o char_io_c.o  dec10io.o  format.o format_c.o  os_interf.o os_interf_c.o  expand.o expand_c.o  consult.o consult_c.o  pretty.o pretty_c.o  random.o random_c.o  top_level.o top_level_c.o  debugger.o debugger_c.o  src_rdr.o src_rdr_c.o  all_pl_bips.o  sockets.o sockets_c.o  le_interf.o le_interf_c.o
ranlib libbips_pl.a
gplc -c pl2wam.wam
gplc -c read_file.wam
gplc -c syn_sugar.wam
gplc -c internal.wam
gplc -c code_gen.wam
gplc -c reg_alloc.wam
gplc -c inst_codif.wam
gplc -c first_arg.wam
gplc -c indexing.wam
gplc -c wam_emit.wam
[ ! -f  pl2wam ] || cp pl2wam pl2wam0
gplc -o pl2wam --no-fd-lib-warn --no-top-level pl2wam.o read_file.o syn_sugar.o internal.o code_gen.o reg_alloc.o inst_codif.o first_arg.o indexing.o wam_emit.o
gplc -c --fast-math fd2c.pl
Warning: no initial goal executed
   use a directive :- initialization(Goal)
   or remove the link option --no-top-level (or --min-bips or --min-size)
compilation failed
*** [fd2c.o] Error code 1

bmake[1]: stopped in /home/pbulk/build/lang/gprolog/work/gprolog-1.4.5/src/Fd2C
1 error

bmake[1]: stopped in /home/pbulk/build/lang/gprolog/work/gprolog-1.4.5/src/Fd2C
*** [all] Error code 1

bmake: stopped in /home/pbulk/build/lang/gprolog/work/gprolog-1.4.5/src
1 error

bmake: stopped in /home/pbulk/build/lang/gprolog/work/gprolog-1.4.5/src
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/gprolog
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/gprolog