+ 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/snns-4.3nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/snns-4.3nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for SNNSv4.3.tar.gz
=> Checksum SHA512 OK for SNNSv4.3.tar.gz
===> Installing dependencies for snns-4.3nb2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency libXaw3d>=1.6.2: found libXaw3d-1.6.5
=> Full dependency libXt>=1.0.0: found libXt-1.3.0nb1
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
===> Overriding tools for snns-4.3nb2
===> Extracting for snns-4.3nb2
===> Patching for snns-4.3nb2
=> Applying pkgsrc patches for snns-4.3nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/snns/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/snns/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.2 2006/01/03 20:20:08 joerg Exp $
|
|--- kernel/sources/kr_typ.h.orig	Wed Jun 27 19:38:31 2001
|+++ kernel/sources/kr_typ.h	Wed Jun 27 19:44:26 2001
--------------------------
Patching file kernel/sources/kr_typ.h using Plan A...
Hunk #1 succeeded at 30.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/snns/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/snns/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.3 2016/05/07 10:04:00 joerg Exp $
|
|--- configuration/Makefile.din.orig	Thu Sep  3 15:44:26 1998
|+++ configuration/Makefile.din
--------------------------
Patching file configuration/Makefile.din using Plan A...
Hunk #1 succeeded at 93.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/snns/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/snns/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2016/05/07 10:04:00 joerg Exp $
|
|--- configure.orig	2008-04-21 07:58:11.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 3706.
Hunk #2 succeeded at 3746.
Hunk #3 succeeded at 3787.
done
===> Creating toolchain wrappers for snns-4.3nb2
[ ! -h /home/pbulk/build/math/snns/work/.buildlink/include/X11/Xaw ] &&  /usr/bin/mkdir -p /home/pbulk/build/math/snns/work/.buildlink/include/X11 &&  /usr/bin/ln -s Xaw3d /home/pbulk/build/math/snns/work/.buildlink/include/X11/Xaw
===> Configuring for snns-4.3nb2
cd /home/pbulk/build/math/snns/work/.buildlink/include/X11 && ln -s Xaw3d Xaw
=> 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
***********************************************************************
    This is SNNS Version 4.2
    Copyright (c) 1990-1995  SNNS Group, IPVR, Univ. Stuttgart, FRG
    Copyright (c) 1996-1998  SNNS Group, WSI, Univ. Tuebingen, FRG

    Running the automated system configuration
    To get help:  read the file Readme.install
                  run 'configure --help'
***********************************************************************
checking whether make sets $(MAKE)... yes
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-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for makedepend... :
configure: WARNING: 'makedepend' is not installed on your system. You don't
configure: WARNING: need to install 'makedepend' now to compile SNNS but
configure: WARNING: you need it if you want to run 'make depend' in any of
configure: WARNING: the sources directories.
checking for bison... :
configure: WARNING: 'bison' is not installed on your system.
configure: WARNING: 'yacc' will not work.
configure: WARNING: You don't need to install 'bison' now to compile SNNS but
configure: WARNING: you need 'bison' after any changes to any grammar file
configure: WARNING: or after 'make maintainer-clean' in any sources directory.
checking for xgrabsc... :
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
configure: WARNING: Since we couldn't find any -lfl library we plan to link
configure: WARNING: with -ll instead. The provided SNNS scanners are based on
configure: WARNING: flex output. So we do not guarantee that this will work.
configure: WARNING: Hope the best!
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/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking return type of signal handlers... void
checking for working memcmp... yes
checking for getcwd... yes
checking for strdup... yes
checking for lrand48... yes
configure: creating ./config.status
config.status: creating Makefile.def
config.status: creating config.h
config.status: config.h is unchanged
***********************************************************************
SNNSv4.2 is now ready to be compiled. Please read carefully all
warning and error messages above if there are any of them. Please
refer to the file Readme.install if you see any problems.

You can now

make compile      to compile all parts of SNNS
make install      to compile, strip, and install all parts of SNNS
make clean        to cleanup all source directories after installation
make uninstall    to remove all installed parts of SNNS

For your convenience the following sub targets exist for the top level:

make install-tools    (implies compiling the kernel)
make install-xgui     (implies compiling the kernel)
make install-man

make clean-kernel
make clean-tools
make clean-xgui

make uninstall-kernel
make uninstall-tools
make uninstall-xgui
make uninstall-man

After installation the programs can be found in
    /opt/pkg/bin    (xgui)
    /opt/pkg/bin   (tools)

And now: Good luck and have fun!
***********************************************************************
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.