+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hdf-4.2.15/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hdf-4.2.15/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for hdf-4.2.15.tar.bz2
=> Checksum SHA512 OK for hdf-4.2.15.tar.bz2
===> Installing dependencies for hdf-4.2.15
==========================================================================
The following variables will affect the build process of this package,
hdf-4.2.15.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libtool-fortran>=2.4.2nb9: found libtool-fortran-2.4.7nb1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Full dependency jpeg>=9: found jpeg-9f
=> Full dependency libaec>=1.0.4: found libaec-1.0.6
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for hdf-4.2.15
===> Extracting for hdf-4.2.15
===> Patching for hdf-4.2.15
=> Applying pkgsrc patches for hdf-4.2.15
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-ao
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-ao
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ao,v 1.8 2022/04/24 21:50:48 tnn Exp $
|
|--- hdf/src/hdfi.h.orig	2020-03-03 17:40:50.000000000 +0000
|+++ hdf/src/hdfi.h
--------------------------
Patching file hdf/src/hdfi.h using Plan A...
Hunk #1 succeeded at 95.
Hunk #2 succeeded at 1117.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-ap
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-ap
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ap,v 1.4 2022/04/24 21:50:48 tnn Exp $
|
|--- hdf/src/hconv.h.orig	2020-03-03 17:40:50.000000000 +0000
|+++ hdf/src/hconv.h
--------------------------
Patching file hdf/src/hconv.h using Plan A...
Hunk #1 succeeded at 59.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-ba
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-ba
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ba,v 1.5 2022/04/24 21:50:48 tnn Exp $
|
|--- configure.orig	2020-03-03 17:40:50.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 24808.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-bin_cmakehdf4
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-bin_cmakehdf4
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-bin_cmakehdf4,v 1.1 2022/04/24 21:50:48 tnn Exp $
|
|--- bin/cmakehdf4.orig	2020-03-03 17:40:50.000000000 +0000
|+++ bin/cmakehdf4
--------------------------
Patching file bin/cmakehdf4 using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-hdf_test_tutils.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-hdf_test_tutils.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-hdf_test_tutils.h,v 1.1 2022/04/24 21:50:48 tnn Exp $
|
|--- hdf/test/tutils.h.orig	2020-03-03 17:40:50.000000000 +0000
|+++ hdf/test/tutils.h
--------------------------
Patching file hdf/test/tutils.h using Plan A...
Hunk #1 succeeded at 114.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-mfhdf_ncgen_ncgen.l
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf/patches/patch-mfhdf_ncgen_ncgen.l
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mfhdf_ncgen_ncgen.l,v 1.2 2022/04/24 21:50:48 tnn Exp $
|
|Ensure the local yywrap is used.
|
|--- mfhdf/ncgen/ncgen.l.orig	2020-03-03 17:40:50.000000000 +0000
|+++ mfhdf/ncgen/ncgen.l
--------------------------
Patching file mfhdf/ncgen/ncgen.l using Plan A...
Hunk #1 succeeded at 17.
done
===> Creating toolchain wrappers for hdf-4.2.15
===> Configuring for hdf-4.2.15
=> 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 a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
/home/pbulk/build/devel/hdf/work/hdf-4.2.15/bin/missing: Unknown `--is-lightweight' option
Try `/home/pbulk/build/devel/hdf/work/hdf-4.2.15/bin/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /home/pbulk/build/devel/hdf/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking shell variables initial values... done
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking if basename works... yes
checking if xargs works... yes
checking for config x86_64-redhat-linux-gnu... no
checking for config x86_64-redhat-linux-gnu... no
checking for config redhat-linux-gnu... no
checking for config redhat-linux-gnu... no
checking for config x86_64-linux-gnu... no
checking for config x86_64-linux-gnu... no
checking for config x86_64-redhat... no
checking for config linux-gnu... found
gfortran: error: unrecognized command-line option '-V'
gfortran: fatal error: no input files
compilation terminated.
No match to get cc_version_info for cc
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-redhat-linux-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking for x86_64-redhat-linux-g77... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran...  -L/home/pbulk/build/devel/hdf/work/.buildlink/lib -L/usr/lib/gcc/x86_64-redhat-linux/11 -L/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/11/../../.. -lgfortran -lm -lquadmath
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
checking if Java JNI interface enabled... no
checking whether ln -s works... yes
checking for ar... ar
checking for bison... /usr/pkg/bin/bison -y
checking for flex... /usr/pkg/bin/flex
checking for diff... /bin/diff
checking for makeinfo... /home/pbulk/build/devel/hdf/work/.tools/bin/makeinfo
checking for neqn... neqn
checking for tbl... tbl
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/devel/hdf/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/devel/hdf/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 2097152
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/devel/hdf/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... (cached) ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from cc object... ok
checking for sysroot... no
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/devel/hdf/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... cpp
checking whether the c++ linker (/home/pbulk/build/devel/hdf/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for c++ option to produce PIC...  -DPIC
checking if c++ PIC flag  -DPIC works... no
checking if c++ static flag  works... no
checking if c++ supports -c -o file.o... no
checking if c++ supports -c -o file.o... (cached) no
checking whether the c++ linker (/home/pbulk/build/devel/hdf/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... unsupported
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking if gfortran supports -c -o file.o... (cached) yes
checking whether the gfortran linker (/home/pbulk/build/devel/hdf/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking if we should install only statically linked executables... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress2 in -lz... yes
checking for compress2... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_start_decompress in -ljpeg... yes
checking szlib.h usability... yes
checking szlib.h presence... yes
checking for szlib.h... yes
checking for szlib encoder... no
checking for xdr library support... checking rpc/rpc.h usability... no
checking rpc/rpc.h presence... no
checking for rpc/rpc.h... no
checking for rpc/rpc.h... (cached) no
configure: error: couldn't find rpc headers
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/devel/hdf