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

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

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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.4
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> 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 pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency libarchive>=3.3.1: found libarchive-3.7.2
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency flac>=1.4.0: found flac-1.4.3
=> Full dependency libsmf>=1.3: found libsmf-1.3nb6
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4
=> Full dependency libgsf>=1.14.50nb2: found libgsf-1.14.50nb2
=> Full dependency tiff>=4.6.0: found tiff-4.6.0nb3
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency libltdl>=2.4.2: found libltdl-2.4.7
=> Full dependency ImageMagick>=7.1.1.21nb1: found ImageMagick-7.1.1.28
=> Full dependency exiv2>=0.28.0: found exiv2-0.28.2
=> Full dependency giflib>=5.2.1nb4: found giflib-5.2.1nb6
=> Full dependency ffmpeg4>=4.4.4nb7: found ffmpeg4-4.4.4nb9
=> Full dependency libmpeg2>=0.4.0bnb5: found libmpeg2-0.5.1
=> Full dependency mp4v2>=2.0.0: found mp4v2-5.0.1
=> Full dependency openssl>=3: found openssl-3.1.5
=> Full dependency file>=4.17: found file-5.42
=> Full dependency tidy>=5.1.25<20000000: found tidy-5.8.0
===> Overriding tools for libextractor-1.11nb19
===> Extracting for libextractor-1.11nb19
===> Patching for libextractor-1.11nb19
=> Applying pkgsrc patches for libextractor-1.11nb19
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libextractor/patches/patch-src_plugins_exiv2__extractor.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libextractor/patches/patch-src_plugins_exiv2__extractor.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_plugins_exiv2__extractor.cc,v 1.1 2023/07/19 07:35:25 wiz Exp $
|
|Fix build with exiv2.
|From Arch:
|https://gitlab.archlinux.org/archlinux/packaging/packages/libextractor/-/blob/main/exiv2-0.28.patch
|
|--- src/plugins/exiv2_extractor.cc.orig	2020-06-25 22:42:32.000000000 +0000
|+++ src/plugins/exiv2_extractor.cc
--------------------------
Patching file src/plugins/exiv2_extractor.cc using Plan A...
Hunk #1 succeeded at 90.
Hunk #2 succeeded at 103.
Hunk #3 succeeded at 130.
Hunk #4 succeeded at 144.
Hunk #5 succeeded at 194.
Hunk #6 succeeded at 239.
Hunk #7 succeeded at 260.
Hunk #8 succeeded at 300.
Hunk #9 succeeded at 322.
Hunk #10 succeeded at 349.
Hunk #11 succeeded at 369.
Hunk #12 succeeded at 388.
Hunk #13 succeeded at 408.
Hunk #14 succeeded at 440.
Hunk #15 succeeded at 491.
Hunk #16 succeeded at 518.
Hunk #17 succeeded at 586.
Hunk #18 succeeded at 613.
Hunk #19 succeeded at 631.
Hunk #20 succeeded at 822.
Hunk #21 succeeded at 912.
done
===> Creating toolchain wrappers for libextractor-1.11nb19
===> Configuring for libextractor-1.11nb19
=> 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
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... x86_64-sun-solaris2.11
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... build-aux/install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gawk... (cached) /usr/bin/nawk
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for g++... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether _stati64 is declared... no
checking for res_init in -lresolv... yes
checking for ld used by gcc... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking for shared library run path origin... done
checking for 64-bit host... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether the linker accepts -fvisibility=hidden... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for libltdl... --with-ltdl not specified
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for lt_dlopenext in -lltdl... yes
libltdl found
checking for aa_change_profile in -lapparmor... no
checking for ov_open_callbacks in -lvorbisfile... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking for FLAC__stream_decoder_init_stream in -lFLAC... yes
checking FLAC/all.h usability... yes
checking FLAC/all.h presence... yes
checking for FLAC/all.h... yes
checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC... yes
checking for vorbis_comment_query in -lvorbisfile... no
checking for inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for BZ2_bzDecompress in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for rpmReadPackageFile in -lrpm... no
checking for mpeg2_init in -lmpeg2... yes
checking mpeg2dec/mpeg2.h usability... yes
checking mpeg2dec/mpeg2.h presence... yes
checking for mpeg2dec/mpeg2.h... yes
checking for MP4ReadProvider in -lmp4v2... yes
checking mp4v2/mp4v2.h usability... yes
checking mp4v2/mp4v2.h presence... yes
checking for mp4v2/mp4v2.h... yes
checking for jpeg_mem_src in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for TIFFClientOpen in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for archive_read_open in -larchive... yes
checking archive.h usability... yes
checking archive.h presence... yes
checking for archive.h... yes
checking whether to compile experimental code... no
checking for ImageFactory::iptcData in -lexiv2... yes
checking for DGifOpen -lgif... checking for DGifOpen in -lgif... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking for magic_open -lmagic... checking for magic_open in -lmagic... yes
checking magic.h usability... yes
checking magic.h presence... yes
checking for magic.h... yes
checking for tidyNodeGetValue -ltidy... yes
checking whether to run tests... 
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for zlib.h... (cached) yes
checking for inline... inline
checking for size_t... yes
checking for pid_t... yes
checking endianess... little
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... 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 whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for error_at_line... no
checking for library containing dlopen... none required
checking for library containing shm_open... none required
checking for mkstemp... yes
checking for strndup... yes
checking for munmap... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for memmove... yes
checking for memset... yes
checking for strtoul... yes
checking for floor... no
checking for getcwd... yes
checking for pow... no
checking for setenv... yes
checking for sqrt... no
checking for strchr... yes
checking for strcspn... yes
checking for strrchr... yes
checking for strnlen... yes
checking for strndup... (cached) yes
checking for ftruncate... yes
checking for shm_open... yes
checking for shm_unlink... yes
checking for lseek64... no
checking for sockets... yes
checking whether NLS is requested... yes
checking for msgfmt... /home/pbulk/build/devel/libextractor/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/devel/libextractor/work/.tools/bin/msgfmt
checking for xgettext... /home/pbulk/build/devel/libextractor/work/.tools/bin/xgettext
checking for msgmerge... /home/pbulk/build/devel/libextractor/work/.tools/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking if the linker (/bin/ld -64) is GNU ld... (cached) no
checking for glib... checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.0.0... yes (version 2.78.4)
checking whether glib is disabled... allowed
checking for smf_load_from_memory in -lsmf... yes
checking smf.h usability... yes
checking smf.h presence... yes
checking for smf.h... yes
checking for gdk-pixbuf... checking for GDK_PIXBUF... yes
checking for GSTREAMER... no
checking for GSTREAMER_PBUTILS... no
checking for GSTREAMER_TAG... no
checking for GSTREAMER_APP... no
checking for GSF... yes
checking for GSF_GNOME... no

checking for gsf_init in -lgsf-1... yes
checking for gsf_doc_meta_data_read_from_msole in -lgsf-1... yes
checking for zzuf... 0
checking whether to enable the FFmpeg thumbnail extractor... yes
checking libavutil/avutil.h usability... yes
checking libavutil/avutil.h presence... yes
checking for libavutil/avutil.h... yes
checking libavresample/avresample.h usability... yes
checking libavresample/avresample.h presence... yes
checking for libavresample/avresample.h... yes
checking for av_audio_fifo_alloc in -lavutil... yes
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking for libavresample/avresample.h... (cached) yes
checking for av_audio_fifo_alloc in -lavutil... (cached) yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking for libavresample/avresample.h... (cached) yes
checking for av_audio_fifo_alloc in -lavutil... (cached) yes
checking libavutil/frame.h usability... yes
checking libavutil/frame.h presence... yes
checking for libavutil/frame.h... yes
checking for libavresample/avresample.h... (cached) yes
checking for av_audio_fifo_alloc in -lavutil... (cached) yes
checking for sws_getContext in -lswscale... yes
checking for avcodec_alloc_context3 in -lavcodec... yes
checking for libavutil/avutil.h... (cached) yes
checking ffmpeg/avutil.h usability... no
checking ffmpeg/avutil.h presence... no
checking for ffmpeg/avutil.h... no
checking for libavformat/avformat.h... (cached) yes
checking ffmpeg/avformat.h usability... no
checking ffmpeg/avformat.h presence... no
checking for ffmpeg/avformat.h... no
checking for libavcodec/avcodec.h... (cached) yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking libswscale/swscale.h usability... yes
checking libswscale/swscale.h presence... yes
checking for libswscale/swscale.h... yes
checking ffmpeg/swscale.h usability... no
checking ffmpeg/swscale.h presence... no
checking for ffmpeg/swscale.h... no
checking whether -export-symbols-regex works... yes
checking whether to compile with support for code coverage analysis... no
checking our pkgconfig libname... libextractor
checking our pkgconfig version... 1.11
checking our pkgconfig_libdir... ${libdir}/pkgconfig
expanded our pkgconfig_libdir... /opt/pkg/lib/pkgconfig
checking our pkgconfig_libfile... libextractor.pc
checking our package / suffix... libextractor / 
checking our pkgconfig description... Metadata extraction library
checking our pkgconfig requires... 
checking our pkgconfig ext libs... -lextractor
checking our pkgconfig cppflags... 
checking our pkgconfig ldflags... 
noninstalled pkgconfig -L /home/pbulk/build/devel/libextractor/work/libextractor-1.11/src/.libs
noninstalled pkgconfig -I /home/pbulk/build/devel/libextractor/work/libextractor-1.11/.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating contrib/macosx/Info.plist
config.status: creating contrib/macosx/Pkg-Info.plist
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/include/Makefile
config.status: creating src/intlemu/Makefile
config.status: creating src/common/Makefile
config.status: creating src/main/Makefile
config.status: creating src/plugins/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libextractor.pc commands
config.status: creating libextractor.pc.in
config.status: creating libextractor.pc
config.status: creating libextractor-uninstalled.pc
config.status: creating libextractor-uninstalled.sh
configure: NOTICE: gstreamer not found, gstreamer support disabled
configure: NOTICE: libapparmor not found, apparmor support disabled
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
=> Modifying libtool scripts to use pkgsrc shlibtool