+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gprolog-1.4.5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gprolog-1.4.5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for gprolog-1.4.5.tar.gz
=> Checksum SHA512 OK for gprolog-1.4.5.tar.gz
===> Installing dependencies for gprolog-1.4.5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for gprolog-1.4.5
===> Extracting for gprolog-1.4.5
===> Patching for gprolog-1.4.5
=> Applying pkgsrc patches for gprolog-1.4.5
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/gprolog/patches/patch-src_EnginePl_dl__malloc.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/gprolog/patches/patch-src_EnginePl_dl__malloc.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_EnginePl_dl__malloc.c,v 1.1 2019/06/14 17:30:13 maya Exp $
|
|(from editors/emacs20):
|Work around bug in gcc 5.x that makes calloc into a call to itself,
|resulting in an infinite loop.
|
|--- src/EnginePl/dl_malloc.c.orig	2013-04-15 07:24:10.000000000 +0000
|+++ src/EnginePl/dl_malloc.c
--------------------------
Patching file src/EnginePl/dl_malloc.c using Plan A...
Hunk #1 succeeded at 4773.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/gprolog/patches/patch-src_Ma2Asm_powerpc__any.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/gprolog/patches/patch-src_Ma2Asm_powerpc__any.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Ma2Asm_powerpc__any.c,v 1.1 2020/12/12 02:01:57 gutteridge Exp $
|
|Fix PowerPC build.
|
|--- src/Ma2Asm/powerpc_any.c.orig	2015-01-13 18:00:19.000000000 +0000
|+++ src/Ma2Asm/powerpc_any.c
--------------------------
Patching file src/Ma2Asm/powerpc_any.c using Plan A...
Hunk #1 succeeded at 1011.
done
===> Creating toolchain wrappers for gprolog-1.4.5
===> Configuring for gprolog-1.4.5
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking for x86_64-sun-solaris2.11-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for x86_64-sun-solaris2.11-gas... no
checking for gas... gas
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for x86_64-sun-solaris2.11-windres... no
checking for windres... no
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking size of long... 8
checking size of void*... 8
checking sys/ioctl_compat.h usability... no
checking sys/ioctl_compat.h presence... no
checking for sys/ioctl_compat.h... no
checking sys/siginfo.h usability... yes
checking sys/siginfo.h presence... yes
checking for sys/siginfo.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for getpagesize... (cached) yes
checking for mprotect... yes
checking for sigaction... yes
checking for mallopt... no
checking for fgetc... yes
checking whether htole32 is declared... yes
checking whether bswap_32 is declared... no
checking for atanh... yes
checking for acosh... yes
checking for asinh... yes
checking for socklen_t... yes
checking for sigsetjmp... yes
checking for a working sigaction... yes
checking constructors execution order... first to last
checking for socket... no
checking for socket in -lsocket... yes
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
DIRECTORIES
--> Installation:       /opt/pkg/lib/gprolog-1.4.5
--> Link to binaries:   /opt/pkg/bin
--> Documentation:      /opt/pkg/share/doc/gprolog
--> HTML documentation: /opt/pkg/share/doc/gprolog/html
--> Examples:           /opt/pkg/share/examples/gprolog
configure: creating ./config.status
config.status: creating Makefile
config.status: creating TopComp/Makefile
config.status: creating Pl2Wam/Makefile
config.status: creating Wam2Ma/Makefile
config.status: creating Ma2Asm/Makefile
config.status: creating Fd2C/Makefile
config.status: creating Linedit/Makefile
config.status: creating W32GUICons/Makefile
config.status: creating EnginePl/Makefile
config.status: creating BipsPl/Makefile
config.status: creating EngineFD/Makefile
config.status: creating BipsFD/Makefile
config.status: creating Ma2Asm/FromC/Makefile
config.status: creating Win32/Makefile
config.status: creating Win32/gp-vars-iss.txt
config.status: creating EnginePl/gp_config.h