+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/lilypond-2.18.2nb25/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/lilypond-2.18.2nb25/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for lilypond-2.18.2.tar.gz
=> Checksum SHA512 OK for lilypond-2.18.2.tar.gz
===> Installing dependencies for lilypond-2.18.2nb25
==========================================================================
The following variables will affect the build process of this package,
lilypond-2.18.2nb25.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * PYTHON_VERSION_DEFAULT = 39

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

        * CURSES_TYPE = ncurses
        * PYPACKAGE = python27
        * 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 bison>=1.0: found bison-3.8.2
=> Tool dependency flex>=2.6.0: found flex-2.6.4
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency gtexinfo>=4.11: found gtexinfo-6.8
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency perl>=5.0: found perl-5.34.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency texi2html>=1.76: found texi2html-5.0nb10
=> Tool dependency zip-[0-9]*: found zip-3.0nb3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency tex-metafont-[0-9]*: found tex-metafont-2021
=> Build dependency tex-metapost-[0-9]*: found tex-metapost-1.803pl49482nb1
=> Build dependency urw-fonts-[0-9]*: found urw-fonts-2.0nb1
=> Build dependency intlfonts-[0-9]*: found intlfonts-1.2.1nb6
=> Build dependency font-cronyx-cyrillic-[0-9]*: found font-cronyx-cyrillic-1.0.3
=> Build dependency kochi-ttf-[0-9]*: found kochi-ttf-20030809nb6
=> Build dependency fontforge>=20060125: found fontforge-20220308nb1
=> Build dependency t1utils>=1.33: found t1utils-1.42
=> Build dependency dblatex-[0-9]*: found dblatex-0.3.10nb7
=> Build dependency rsync-[0-9]*: found rsync-3.2.4
=> Build dependency netpbm-[0-9]*: found netpbm-10.86.25nb1
=> Build dependency ImageMagick-[0-9]*: found ImageMagick-7.1.0.37
=> Build dependency flex>=2.6.0: found flex-2.6.4
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2
=> Full dependency tex-cyrillic-[0-9]*: found tex-cyrillic-2018
=> Full dependency tex-lh-[0-9]*: found tex-lh-3.5g
=> Full dependency tex-psnfss-[0-9]*: found tex-psnfss-9.3nb1
=> Full dependency tex-epsf-[0-9]*: found tex-epsf-2.7.4
=> Full dependency tex-graphics-[0-9]*: found tex-graphics-1.4d
=> Full dependency potrace>=1.8: found potrace-1.15
=> Full dependency ghostscript>=6.01: found ghostscript-9.05nb27
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency pango>=1.48.10: found pango-1.50.7
=> Full dependency fontconfig>=2.13.1nb1: found fontconfig-2.13.1nb6
=> Full dependency guile18>=1.8.8nb8: found guile18-1.8.8nb12
=> Full dependency python27>=2.7.1nb2: found python27-2.7.18nb8
=> Full dependency rarian>=0.6.0: found rarian-0.8.1nb10
===> Overriding tools for lilypond-2.18.2nb25
===> Extracting for lilypond-2.18.2nb25
===> Patching for lilypond-2.18.2nb25
=> Applying pkgsrc patches for lilypond-2.18.2nb25
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/lilypond/patches/patch-Documentation_common-macros.itexi
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/lilypond/patches/patch-Documentation_common-macros.itexi
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Documentation_common-macros.itexi,v 1.1 2022/03/27 17:21:11 riastradh Exp $
|
|Fix makeinfo errors.
|
|Backported from upstream commit:
|
|https://gitlab.com/lilypond/lilypond/-/commit/094528f1d2dfa7de0ee61a0f3081b4e72701eafb
|
|--- Documentation/common-macros.itexi.orig	2014-03-17 15:29:16.000000000 +0000
|+++ Documentation/common-macros.itexi
--------------------------
Patching file Documentation/common-macros.itexi using Plan A...
Hunk #1 succeeded at 178.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/lilypond/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/lilypond/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.5 2014/01/05 22:29:47 wiz Exp $
|
|Do not install emacs lisp files.
|
|--- GNUmakefile.in.orig	2013-01-12 14:15:07.000000000 +0000
|+++ GNUmakefile.in
--------------------------
Patching file GNUmakefile.in using Plan A...
Hunk #1 succeeded at 7.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/print/lilypond/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/print/lilypond/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.5 2019/12/28 21:48:09 gutteridge Exp $
|
|Disable c/c++ version check; it fails e.g. with clang emulating gcc.
|Allow more metapost versions than upstream until pkgsrc contains
|a new enough metapost.
|
|Ignore result of broken pkg-config version test.
|
|Fix various searches for executables: "type -p" no longer works in
|NetBSD's /bin/sh, nor does it work as expected on some other OSes
|(e.g. DragonFly). As discussed in NetBSD PR bin/54803.
|
|--- configure.orig	2014-03-17 15:29:16.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 2264.
Hunk #2 succeeded at 2413.
Hunk #3 succeeded at 2563.
Hunk #4 succeeded at 2820.
Hunk #5 succeeded at 4331.
Hunk #6 succeeded at 5240.
Hunk #7 succeeded at 5297.
Hunk #8 succeeded at 5757.
Hunk #9 succeeded at 5814.
Hunk #10 succeeded at 6063.
Hunk #11 succeeded at 6557.
Hunk #12 succeeded at 6638.
Hunk #13 succeeded at 6795.
Hunk #14 succeeded at 7676.
Hunk #15 succeeded at 7827.
Hunk #16 succeeded at 7976.
Hunk #17 succeeded at 8087.
Hunk #18 succeeded at 8192.
Hunk #19 succeeded at 8292.
Hunk #20 succeeded at 8397.
Hunk #21 succeeded at 9298.
Hunk #22 succeeded at 9779.
Hunk #23 succeeded at 9976.
Hunk #24 succeeded at 10890.
Hunk #25 succeeded at 10947.
Hunk #26 succeeded at 11787.
Hunk #27 succeeded at 11871.
Hunk #28 succeeded at 12087.
Hunk #29 succeeded at 12287.
Hunk #30 succeeded at 12492.
Hunk #31 succeeded at 12643.
Hunk #32 succeeded at 12792.
Hunk #33 succeeded at 12941.
Hunk #34 succeeded at 13090.
Hunk #35 succeeded at 13239.
Hunk #36 succeeded at 13388.
Hunk #37 succeeded at 13537.
Hunk #38 succeeded at 13686.
Hunk #39 succeeded at 13861.
Hunk #40 succeeded at 14010.
Hunk #41 succeeded at 14160.
Hunk #42 succeeded at 14309.
done
===> Creating toolchain wrappers for lilypond-2.18.2nb25
===> Configuring for lilypond-2.18.2nb25
=> 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
=> Replacing python interpreter in scripts/build/yyout2grammar.py.
INFO: [replace-interpreter] Nothing changed in scripts/build/yyout2grammar.py.
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking build system type... x86_64-sun-solaris2.11
checking Package... LILYPOND
checking builddir... /home/pbulk/build/print/lilypond/work/lilypond-2.18.2
checking for stepmake... ./stepmake  (${datarootdir}/stepmake not found)
checking host system type... x86_64-sun-solaris2.11
checking for gmake... make
checking for find... /usr/bin/find
checking for tar... /usr/bin/gtar
checking for bash... /usr/bin/bash
checking for python... /opt/pkg/bin/python2.7
checking /opt/pkg/bin/python2.7 version... 2.7.18
checking for /opt/pkg/bin/python2.7... /opt/pkg/bin/python2.7
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 compiler understands -pipe... yes
checking for IEEE-conformance compiler flags... none
checking for fc-list... fc-list
checking for New Century Schoolbook PFB files... yes
checking for python... /opt/pkg/bin/python2.7
checking /opt/pkg/bin/python2.7 version... 2.7.18
checking for /opt/pkg/bin/python2.7... (cached) /opt/pkg/bin/python2.7
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -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 gcc version... 10.3.0
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking g++ version... 10.3.0
checking options for known g++ bugs... none
checking whether explicit instantiation is needed... no
checking for stl.data () method... yes
checking for ar... ar
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for bison... /opt/pkg/bin/bison -y
checking for bison... /home/pbulk/build/print/lilypond/work/.tools/bin/bison
checking for flex... /home/pbulk/build/print/lilypond/work/.tools/bin/flex
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 FlexLexer.h usability... yes
checking FlexLexer.h presence... yes
checking for FlexLexer.h... yes
checking for yyFlexLexer.yy_current_buffer... no
checking FlexLexer.h location... /home/pbulk/build/print/lilypond/work/.buildlink/include/FlexLexer.h
checking language... English
checking for gettext in -lintl... yes
checking for gettext... yes
checking for msgfmt... msgfmt
checking for mf-nowin... mf-nowin
checking for mpost... mpost
checking for working metafont mode... ljfour
checking for kpsewhich... kpsewhich
checking for metapost required files... yes
checking for guile-config... guile-config
checking guile-config version... 1.8.8
checking guile compile flags... -I/opt/pkg/guile/1.8/include -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/ncurses -D_REENTRANT  -pthread 
checking guile link flags... -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/ncurses -D_REENTRANT  -pthread  -L/opt/pkg/guile/1.8/lib -Wl,-R/opt/pkg/guile/1.8/lib -lguile -lltdl -Wl,-R/opt/pkg/guile/1.8/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -pthread -lpthread -lrt -lgmp -lsocket -lnsl -lm -lltdl -lpthread -lrt
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking for scm_boot_guile in -lguile... yes
checking for scm_boot_guile... yes
checking for scm_t_hash_fold_fn... no
checking for scm_t_hash_handle_fn... no
checking for scm_t_subr... no
checking for usable C++ demangler... yes
checking GUILE rational bugfix... ok
checking for python... /opt/pkg/bin/python2.7
checking /opt/pkg/bin/python2.7 version... 2.7.18
checking for /opt/pkg/bin/python2.7... (cached) /opt/pkg/bin/python2.7
checking for python2.7-config... python2.7-config
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for fontforge... fontforge
checking for fontforge... /opt/pkg/bin/fontforge
checking /opt/pkg/bin/fontforge version... 20220308
checking for t1asm... t1asm
checking for t1asm... /opt/pkg/bin/t1asm
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libio.h usability... no
checking libio.h presence... no
checking for libio.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for sys/stat.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking fpu_control.h usability... no
checking fpu_control.h presence... no
checking for fpu_control.h... no
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking whether stat file-mode macros are broken... no
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for chroot... yes
checking for fopencookie... no
checking for gettext... (cached) yes
checking for isinf... no
checking for memmem... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for pkg-config... /home/pbulk/build/print/lilypond/work/.tools/bin/pkg-config
checking /home/pbulk/build/print/lilypond/work/.tools/bin/pkg-config version... 1.8.0
checking whether to enable dynamic relocation... no
checking for rpath linkage... no
checking for pangoft2 >= 1.6.0... yes
checking PANGO_FT2_CFLAGS... -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -pthread -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT 
checking PANGO_FT2_LIBS... -L/opt/pkg/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lharfbuzz -Wl,-R/opt/pkg/lib -lfontconfig -lfreetype 
checking pango/pangoft2.h usability... yes
checking pango/pangoft2.h presence... yes
checking for pango/pangoft2.h... yes
checking for pango_ft2_font_map_create_context... yes
checking for fontconfig >= 2.4.0... yes
checking FONTCONFIG_CFLAGS... -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 
checking FONTCONFIG_LIBS... -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lfontconfig -lfreetype 
checking for freetype2 >= 2.1.10... yes
checking FREETYPE2_CFLAGS... -I/opt/pkg/include/freetype2 -I/opt/pkg/include -I/opt/pkg/include/libpng16 
checking FREETYPE2_LIBS... -L/opt/pkg/lib -lfreetype 
checking host system type... (cached) x86_64-sun-solaris2.11
checking host system type... (cached) x86_64-sun-solaris2.11
checking for some flavor of Windows... no
checking for -windres... no
checking for windres... no
checking for guile... guile
checking guile version... 1.8.8
checking for guile... guile
checking for guile... /home/pbulk/build/print/lilypond/work/.buildlink/bin/guile
checking for perl... /opt/pkg/bin/perl
checking for perl... /opt/pkg/bin/perl
checking for gs... gs
checking for gs... /home/pbulk/build/print/lilypond/work/.tools/bin/gs
checking /home/pbulk/build/print/lilypond/work/.tools/bin/gs version... 9.56.1
checking for makeinfo... /home/pbulk/build/print/lilypond/work/.tools/bin/makeinfo
checking /home/pbulk/build/print/lilypond/work/.tools/bin/makeinfo version... 6.8
checking for texi2html... texi2html
checking texi2html version... 5.0
checking for dblatex... dblatex
checking dblatex version... 0.3.10
checking for bibtex... bibtex
checking for pdflatex... pdflatex
checking for pdfetex... pdfetex
checking for texi2pdf... texi2pdf
checking for texindex... texindex
checking for epsf.tex... /opt/pkg/share/texmf-dist/tex/generic/epsf/epsf.tex
checking for Cyrillic characters support in TeX... yes
checking for pngtopnm... pngtopnm
checking for convert... convert
checking for zip... zip
checking for rsync... rsync
configure: creating ./config.status
config.status: creating config.make
config.status: creating config.hh
configure: WARNING: unrecognized options: --with-libiconv-prefix

Type:
    make all       to build LilyPond
    make install   to install LilyPond
    make help      to see all possible targets

Edit local.make for local Makefile overrides.