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

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg

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

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * TERMCAP_TYPE = curses

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.70.5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency ImageMagick-[0-9]*: found ImageMagick-7.1.0.37
=> Build dependency ocaml>=3.04: found ocaml-4.14.0
=> Build dependency ocaml-findlib>=1.2.6: found ocaml-findlib-1.9.3nb1
=> Build dependency vera-ttf-[0-9]*: found vera-ttf-1.10nb6
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2
=> Full dependency camlimages>=4.0.1nb98: found camlimages-4.0.1nb98
=> Full dependency tex-fontinst>=1.933: found tex-fontinst-1.933.62517
=> Full dependency tex-texlive-scripts-extra-[0-9]*: found tex-texlive-scripts-extra-2020nb2
=> Full dependency tex-cyrillic-bin>=2013: found tex-cyrillic-bin-2020
=> Full dependency hevea-[0-9]*: found hevea-2.35nb1
=> Full dependency kpathsea>=3.5.7: found kpathsea-6.3.4
=> Full dependency ghostscript>=6.01: found ghostscript-9.05nb27
=> Full dependency ocaml>=4.14.0: found ocaml-4.14.0
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency png>=1.6.0nb1: found png-1.6.37nb1
=> Full dependency tiff>=4.0.3nb5: found tiff-4.4.0
=> Full dependency nspr>=4.9.3.2: found nspr-4.34
=> Full dependency giflib>=5.2.1nb4: found giflib-5.2.1nb4
=> Full dependency freetype2>=2.8.1: found freetype2-2.12.1
=> Full dependency ocaml-lablgtk>=2.18.12nb1: found ocaml-lablgtk-2.18.12nb2
=> Full dependency gtk2+>=2.24.33nb3: found gtk2+-2.24.33nb4
=> Full dependency libXinerama>=1.0.1: found libXinerama-1.1.4
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.13
=> Full dependency ocaml-graphics>=2.0.0nb3: found ocaml-graphics-2.0.0nb3
===> Overriding tools for advi-1.10.2nb55
===> Extracting for advi-1.10.2nb55
/bin/cp /home/pbulk/build/print/advi/work/advi-1.10.2/tex/*.eps /home/pbulk/build/print/advi/work/advi-1.10.2/doc
/usr/bin/mkdir -p /home/pbulk/build/print/advi/work/advi-1.10.2/doc.orig
/bin/cp /home/pbulk/build/print/advi/work/advi-1.10.2/doc/*.dvi /home/pbulk/build/print/advi/work/advi-1.10.2/doc.orig
===> Patching for advi-1.10.2nb55
=> Applying pkgsrc patches for advi-1.10.2nb55
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-doc_pngs_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-doc_pngs_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-doc_pngs_Makefile.in,v 1.1 2016/12/24 10:17:50 joerg Exp $
|
|montage errors out without some font, even if it doesn't actually end up
|using it.
|
|--- doc/pngs/Makefile.in.orig	2016-12-24 09:37:47.381222017 +0000
|+++ doc/pngs/Makefile.in
--------------------------
Patching file doc/pngs/Makefile.in using Plan A...
Hunk #1 succeeded at 489.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in,v 1.4 2021/12/27 00:49:02 dholland Exp $
|
|Fix build with modular Xorg.1.2 (link with X_LIBS and honor LDFLAGS)
|
|Hack ocaml-graphics paths into the build. The makefiles date from when
|it was part of the ocaml stdlib.
|
|--- src/Makefile.in.orig	2011-09-27 07:45:41.000000000 +0000
|+++ src/Makefile.in
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 292.
Hunk #2 succeeded at 624.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_drawimage.ml
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_drawimage.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_drawimage.ml,v 1.1 2021/12/27 00:49:02 dholland Exp $
|
|Hack up the code for immutable strings.
|
|--- src/drawimage.ml~	2007-01-18 14:14:35.000000000 +0000
|+++ src/drawimage.ml
--------------------------
Patching file src/drawimage.ml using Plan A...
Hunk #1 succeeded at 161.
Hunk #2 succeeded at 216.
Hunk #3 succeeded at 247.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_dvi.ml
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_dvi.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_dvi.ml,v 1.1 2021/12/27 00:49:02 dholland Exp $
|
|Hack up the code for immutable strings.
|
|--- src/dvi.ml~	2010-04-05 08:15:06.000000000 +0000
|+++ src/dvi.ml
--------------------------
Patching file src/dvi.ml using Plan A...
Hunk #1 succeeded at 363.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_glyph.ml
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_glyph.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_glyph.ml,v 1.1 2021/12/27 00:49:02 dholland Exp $
|
|Hack up the code for immutable strings.
|
|--- src/glyph.ml~	2007-01-18 14:14:36.000000000 +0000
|+++ src/glyph.ml
--------------------------
Patching file src/glyph.ml using Plan A...
Hunk #1 succeeded at 61.
Hunk #2 succeeded at 92.
Hunk #3 succeeded at 100.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_grdev.ml
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_grdev.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_grdev.ml,v 1.1 2021/12/27 00:49:02 dholland Exp $
|
|Hack up the code for immutable strings.
|
|--- src/grdev.ml~	2011-08-05 08:24:17.000000000 +0000
|+++ src/grdev.ml
--------------------------
Patching file src/grdev.ml using Plan A...
Hunk #1 succeeded at 169.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_gterm.ml
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_gterm.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gterm.ml,v 1.1 2021/12/27 00:49:02 dholland Exp $
|
|Hack up the code for immutable strings.
|
|--- src/gterm.ml~	2007-01-18 14:14:36.000000000 +0000
|+++ src/gterm.ml
--------------------------
Patching file src/gterm.ml using Plan A...
Hunk #1 succeeded at 28.
Hunk #2 succeeded at 71.
Hunk #3 succeeded at 147.
Hunk #4 succeeded at 156.
Hunk #5 succeeded at 223.
Hunk #6 succeeded at 305.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_input.ml
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_input.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_input.ml,v 1.1 2021/12/27 00:49:02 dholland Exp $
|
|Hack up the code for immutable strings.
|
|--- src/input.ml~	2007-01-18 14:14:36.000000000 +0000
|+++ src/input.ml
--------------------------
Patching file src/input.ml using Plan A...
Hunk #1 succeeded at 84.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_pkfont.ml
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_pkfont.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_pkfont.ml,v 1.1 2021/12/27 00:49:02 dholland Exp $
|
|Hack up the code for immutable strings.
|
|--- src/pkfont.ml~	2007-01-18 14:14:36.000000000 +0000
|+++ src/pkfont.ml
--------------------------
Patching file src/pkfont.ml using Plan A...
Hunk #1 succeeded at 237.
Hunk #2 succeeded at 246.
Hunk #3 succeeded at 254.
Hunk #4 succeeded at 295.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_ttfont.ml
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/advi/patches/patch-src_ttfont.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ttfont.ml,v 1.1 2021/12/27 00:49:02 dholland Exp $
|
|Hack up the code for immutable strings.
|
|--- src/ttfont.ml~	2010-08-18 10:05:40.000000000 +0000
|+++ src/ttfont.ml
--------------------------
Patching file src/ttfont.ml using Plan A...
Hunk #1 succeeded at 57.
Hunk #2 succeeded at 72.
Hunk #3 succeeded at 82.
done
===> Creating toolchain wrappers for advi-1.10.2nb55
===> Configuring for advi-1.10.2nb55
=> 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
configure: WARNING: unrecognized options: --with-gs, --with-libiconv-prefix
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... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for ocamlc... /home/pbulk/build/print/advi/work/.buildlink/bin/ocamlc
checking for OCaml version... 4.14.0
checking for OCaml library path... /opt/pkg/lib/ocaml
checking for ocamlc.opt... /home/pbulk/build/print/advi/work/.buildlink/bin/ocamlc.opt
checking wether ocamlc.opt version = 4.14.0... yes
checking for ocamlopt... /home/pbulk/build/print/advi/work/.buildlink/bin/ocamlopt
checking wether ocamlopt version = 4.14.0... yes
checking if OCaml C compiler works... yes
checking for ocamlopt.opt... /home/pbulk/build/print/advi/work/.buildlink/bin/ocamlopt.opt
checking wether ocamlopt.opt version = 4.14.0... yes
checking for ocamldep... /home/pbulk/build/print/advi/work/.buildlink/bin/ocamldep
checking for ocamldep.opt... /opt/pkg/bin/ocamldep.opt
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ocamlfind... /opt/pkg/bin/ocamlfind
checking for ocamlmklib... /home/pbulk/build/print/advi/work/.buildlink/bin/ocamlmklib
checking for camlimages... yes
checking wether to build native program... yes
checking wether to build bytecode program... yes
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... no
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 X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryScreens in -lXinerama... yes
checking for kpsexpand... /opt/pkg/bin/kpsexpand
checking TeX root path... /opt/pkg/share/texmf-dist
checking LaTeX root path... /opt/pkg/share/texmf-dist/tex/latex
checking for latex... /opt/pkg/bin/latex
checking for makeindex... no
configure: WARNING: makeindex not found, you won't be able to rebuild the index
checking for dvips... /opt/pkg/bin/dvips
checking for dvipdfm... no
configure: WARNING: dvips not found, you won't be able to rebuild documention
checking for hevea... /opt/pkg/bin/hevea
checking for hacha... /opt/pkg/bin/hacha
checking for convert... /opt/pkg/bin/convert
checking for montage... /opt/pkg/bin/montage
checking for gs... /home/pbulk/build/print/advi/work/.tools/bin/gs
checking if gs version >= 6.52... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/pngs/Makefile
config.status: creating tex/Makefile
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --with-gs, --with-libiconv-prefix
Configuration summary

Language:    /home/pbulk/build/print/advi/work/.buildlink/bin/ocamlc.opt version 4.14.0
Camlimages:  true
LablTk:      
Resources:   ${docdir}
Hevea:       /opt/pkg/bin/hevea
Xinerama:    true
HAVE_GS:     true
GS:          /home/pbulk/build/print/advi/work/.tools/bin/gs
gunzip:      
bunzip2:     
=> Fixing hard-coded path to gs