+ 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/ncview-2.1.7nb12/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ncview-2.1.7nb12/work.log
=> Checksum BLAKE2s OK for ncview-2.1.7.tar.gz
=> Checksum SHA512 OK for ncview-2.1.7.tar.gz
===> Installing dependencies for ncview-2.1.7nb12
==========================================================================
The following variables will affect the build process of this package,
ncview-2.1.7nb12.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private
        * XAW_TYPE = standard

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency expat>=2.0.0nb1: found expat-2.7.1
=> Full dependency hdf5>=1.8.11: found hdf5-1.14.6
=> Full dependency libXaw>=1.0.5: found libXaw-1.0.16
=> Full dependency netcdf>=4.9.2nb7: found netcdf-4.9.2nb7
=> Full dependency netcdf-fortran>=4.2nb31: found netcdf-fortran-4.2nb31
=> Full dependency png>=1.6.0nb1: found png-1.6.47
=> Full dependency udunits>=2.2.26: found udunits-2.2.26
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency curl>=7.12.3: found curl-8.12.1
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libICE>=0.99.1: found libICE-1.1.2
=> Full dependency libSM>=0.99.2: found libSM-1.2.6
=> Full dependency libX11>=1.1: found libX11-1.8.12
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXmu>=1.0.0: found libXmu-1.2.1
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
=> Full dependency libXt>=1.0.0: found libXt-1.3.1
=> Full dependency libaec>=1.0.4: found libaec-1.1.3
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxml2>=2.6.2: found libxml2-2.12.10
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.65.0
=> Full dependency openssl>=1.1.1: found openssl-3.4.1
=> Full dependency xz>=5.0.0: found xz-5.8.1
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for ncview-2.1.7nb12
===> Extracting for ncview-2.1.7nb12
===> Patching for ncview-2.1.7nb12
=> Applying pkgsrc patches for ncview-2.1.7nb12
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ncview/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ncview/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2020/08/08 22:18:27 brook Exp $
|
|Using == with test is not portable; replace with =.
|
|Use pkg-config to define compiler flags for libpng.
|
|--- configure.orig	2020-08-07 23:28:40.807171000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4218.
Hunk #2 succeeded at 5496.
Hunk #3 succeeded at 5508.
Hunk #4 succeeded at 5713.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ncview/patches/patch-configure.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ncview/patches/patch-configure.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.in,v 1.1 2020/08/08 22:18:27 brook Exp $
|
|Using == with test is not portable; replace with =.
|
|--- configure.in.orig	2020-08-07 15:08:28.220236050 +0000
|+++ configure.in
--------------------------
Patching file configure.in using Plan A...
Hunk #1 succeeded at 39.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ncview/patches/patch-m4macros_png.m4
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ncview/patches/patch-m4macros_png.m4
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-m4macros_png.m4,v 1.1 2020/08/08 22:18:27 brook Exp $
|
|Use pkg-config to define compiler flags for libpng.
|
|--- m4macros/png.m4.orig	2016-03-20 17:45:53.000000000 +0000
|+++ m4macros/png.m4
--------------------------
Patching file m4macros/png.m4 using Plan A...
Hunk #1 succeeded at 56.
Hunk #2 succeeded at 68.
Hunk #3 succeeded at 112.
done
===> Creating toolchain wrappers for ncview-2.1.7nb12
===> Configuring for ncview-2.1.7nb12
=> 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
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for nc-config... yes
Netcdf library version: netCDF 4.9.2
Netcdf library has version 4 interface present: yes
Netcdf library was compiled with C compiler: gcc
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 for library containing strerror... none required
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 a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
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 the Athena widgets... 
checking for XtWindow in -lXt... yes
checking for XawScrollbarSetThumb in -lXaw... 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 X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking X11/Xaw/Simple.h usability... yes
checking X11/Xaw/Simple.h presence... yes
checking for X11/Xaw/Simple.h... yes
X Athena widget (Xaw) libraries: -lXaw -lXt 
checking for X11 library... 
checking for XPutImage in -lX11... yes
X11 libraries: -lX11 
checking /opt/pkg/include/converter.h usability... yes
checking /opt/pkg/include/converter.h presence... yes
checking for /opt/pkg/include/converter.h... yes
Using user-specified udunits2 include dir=/opt/pkg/include
checking /opt/pkg/include/udunits2.h usability... yes
checking /opt/pkg/include/udunits2.h presence... yes
checking for /opt/pkg/include/udunits2.h... yes
Using user-specified udunits2 include dir=/opt/pkg/include
checking for /opt/pkg/lib/libudunits2.a... yes
Using user-specified udunits2 library dir=/opt/pkg/lib
checking for ut_read_xml in -ludunits2... yes
checking for expat library (required by udunits2)... 
checking for XML_GetBase in -lexpat... yes
Expat libraries (needed by udunits2): -lexpat -L. -ludunits2
****************************************************************************
Udunits library version 2 support enabled.   
udunits2 dirs: include: /opt/pkg/include  library: .  libname: udunits2
****************************************************************************
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_write_png in -lpng... yes
ac_computer_gnu: yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --with-libiconv-prefix
 
----------- Configure Summary ----------
Compiler:
        CC                 = gcc
        Runtime path flags =  -Wl,-rpath,/opt/pkg/lib
 
UDUNITS:
        UDUNITS2_LIBS     = -ludunits2
        UDUNITS2_CPPFLAGS = -I/opt/pkg/include
        UDUNITS2_LDFLAGS  = -L. -ludunits2 -lexpat -L. -ludunits2
 
 
NETCDF:
        VERSION          = netCDF 4.9.2
        COMPILER USED    = gcc
        NETCDF_CPPFLAGS  = -I/opt/pkg/include -I/usr/include -I/opt/pkg/include
        NETCDF_LDFLAGS   = -L/opt/pkg/lib -lnetcdf
        NETCDF_V4        = yes
 
X:
        X_CFLAGS         = 
        X11_LIBS         = -lX11 
        XAW_LIBS         = -lXaw -lXt 
        X_PRE_LIBS       =  -lSM -lICE
        X_LIBS           = 
        X_EXTRA_LIBS     = -lsocket  -lnsl
 
PNG:
        PNG_LIBS         = -lpng
        PNG_CPPFLAGS     = -I.
        PNG_LDFLAGS      = -L. -lpng