+ 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/pcb-4.1.3nb12/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pcb-4.1.3nb12/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pcb-4.1.3.tar.gz
=> Checksum SHA512 OK for pcb-4.1.3.tar.gz
===> Installing dependencies for pcb-4.1.3nb12
==========================================================================
The supported build options for pcb are:

	batch gl gtk motif png

The currently selected options are:

	gl gtk png

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.pcb (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
pcb-4.1.3nb12.  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 glib2-tools-[0-9]*: found glib2-tools-2.78.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb7
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3
=> 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
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Full dependency gettext-tools>=0.14.6: found gettext-tools-0.22.3
=> Full dependency tk>=8.4: found tk-8.6.13nb1
=> Full dependency gtkglext>=1.2.0nb52: found gtkglext-1.2.0nb52
=> Full dependency glib2>=2.76.4nb1: found glib2-2.78.1nb1
=> Full dependency glu>=7.11.2: found glu-9.0.3
=> Full dependency gtk2+>=2.24.33nb16: found gtk2+-2.24.33nb16
=> Full dependency dbus>=0.91: found dbus-1.14.10
=> Full dependency gd>=2.3.3nb12: found gd-2.3.3nb12
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
===> Overriding tools for pcb-4.1.3nb12
===> Extracting for pcb-4.1.3nb12
/bin/chmod -R go-w /home/pbulk/build/cad/pcb/work/pcb-4.1.3
===> Patching for pcb-4.1.3nb12
===> Creating toolchain wrappers for pcb-4.1.3nb12
===> Configuring for pcb-4.1.3nb12
=> 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 for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/cad/pcb/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
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 if you are building from a git checkout... no
checking if you are building from a anoncvs checkout... no
checking if the documentation should be built... yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for windows... no
checking for x86_64-redhat-linux-gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a sed that does not truncate output... /bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/pkg/bin/msgfmt
checking for gmsgfmt... /usr/pkg/bin/msgfmt
checking for xgettext... /usr/pkg/bin/xgettext
checking for msgmerge... /usr/pkg/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for inline... inline
checking for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... 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 integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned long long int... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by cc... /home/pbulk/build/cad/pcb/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/cad/pcb/work/.cwrapper/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for multithread API to use... posix
checking for pthread_rwlock_t... yes
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for uselocale... yes
checking for argz_count... yes
checking for argz_stringify... yes
checking for argz_next... yes
checking for __fsetlocking... yes
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking for bison... bison
checking version of bison... 3.8.2, ok
checking for long long int... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for symlink... yes
checking for working fcntl.h... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ptrdiff_t... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for newlocale... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... yes
checking for wcrtomb... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether included gettext is requested... no
checking for GNU gettext in libc... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking if /usr/pkg/bin/msgfmt understands msgctxt (message context)... yes
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /home/pbulk/build/cad/pcb/work/.tools/bin/intltool-update
checking for intltool-merge... /home/pbulk/build/cad/pcb/work/.tools/bin/intltool-merge
checking for intltool-extract... /home/pbulk/build/cad/pcb/work/.tools/bin/intltool-extract
checking for xgettext... (cached) /usr/pkg/bin/xgettext
checking for msgmerge... (cached) /usr/pkg/bin/msgmerge
checking for msgfmt... (cached) /usr/pkg/bin/msgfmt
checking for gmsgfmt... (cached) /usr/pkg/bin/msgfmt
checking for perl... /usr/pkg/bin/perl
checking for perl >= 5.8.1... 5.38.2
checking for XML::Parser... ok
checking for inline... (cached) inline
checking for cc option to accept ISO C99... none needed
checking for cc option to accept ISO Standard C... (cached) none needed
checking for cc option to accept ISO C99... (cached) none needed
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cc -E
checking that C compiler supports C99... yes
checking for gawk... (cached) /bin/gawk
checking for flex... /usr/pkg/bin/flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for /usr/pkg/bin/flex... (cached) /usr/pkg/bin/flex
checking for bison... /usr/pkg/bin/bison -y
checking for /usr/pkg/bin/bison... (cached) /usr/pkg/bin/bison
checking for x86_64-redhat-linux-ranlib... ranlib
checking for xpmtoppm... notfound
checking for ppmtowinicon... notfound
checking for convert... notfound
checking If the compiler accepts -rdynamic... yes
checking ./src/hid/batch/hid.conf
checking ./src/hid/bom/hid.conf
checking ./src/hid/gcode/hid.conf
checking ./src/hid/gerber/hid.conf
checking ./src/hid/gsvit/hid.conf
checking ./src/hid/gtk/hid.conf
checking ./src/hid/ipcd356/hid.conf
checking ./src/hid/lesstif/hid.conf
checking ./src/hid/lpr/hid.conf
checking ./src/hid/nelma/hid.conf
checking ./src/hid/png/hid.conf
checking ./src/hid/ps/hid.conf
checking for which gui to use... gtk
checking whether to enable toporouter... yes
checking whether to enable toporouter output... no
checking pkg-config is at least version 0.9.0... yes
checking for whether to use DBUS... yes
checking for DBUS... yes
checking for dbus_watch_get_unix_fd... yes
checking for whether to use GL drawing... yes
checking for X... libraries , headers 
checking for pthread_join in LIBS=-lpthread -lrt with CFLAGS= -pthread ... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether we are using the Microsoft C compiler... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for GL/gl.h... yes
checking for OpenGL/gl.h... no
checking for OpenGL library... -lGL
checking for GL/glu.h... yes
checking for OpenGL/glu.h... no
checking for OpenGL Utility library... -lGLU
checking for varargs GLU tesselator callback function type... no
checking for which printer to use... lpr
checking for which exporters to use... bom gcode gerber gsvit ipcd356 ps gcode nelma png
checking gtk dependencies
checking lpr dependencies
checking bom dependencies
checking gcode dependencies
checking gerber dependencies
checking gsvit dependencies
checking ipcd356 dependencies
checking ps dependencies
checking gcode dependencies
checking nelma dependencies
checking png dependencies
checking for env... /bin/env
checking for gtk-update-icon-path... true
checking for gm4... /bin/m4
checking if /bin/m4 has the division involving negative numbers bug... no
checking for wish... /usr/pkg/bin/wish
checking for pdflatex... notfound
checking for texi2dvi... notfound
checking for ps2pdf... notfound
checking for gschem... notfound
checking for animate... notfound
checking for compare... notfound
checking for composite... notfound
checking for convert... notfound
checking for display... notfound
checking for montage... notfound
checking for xhost... notfound
checking if all ImageMagick tools needed for the testsuite were found... no.  The testsuite will be disabled because the following
tools from the ImageMagick suite were not found:
 animate compare composite convert display montage
No loss in pcb functionality should be experienced, you just will not
be able to run the full regression testsuite.

checking for gerbv... notfound
checking if all the required testsuite tools were found... no -- the testsuite will be disabled
checking for sqrt in -lm... yes
checking for dlopen in -ldl... yes
checking for gethostbyname in -lxnet... no
checking for yywrap in -lfl... no
checking for getline... yes
checking for strcasestr... yes
checking for strerror... yes
checking for regcomp... yes
checking for re_comp... yes
checking for logf... yes
checking for expf... yes
checking for rint... yes
checking for vsnprintf... yes
checking for getpwuid... yes
checking for getcwd... (cached) yes
checking for rand... yes
checking for random... yes
checking for stat... yes
checking for mkdtemp... yes
checking for popen... yes
checking for realpath... yes
checking for canonicalize_file_name... yes
checking whether canonicalize_file_name must be declared... no
checking for _spawnvp... no
checking for ANSI C header files... (cached) yes
checking for limits.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for string.h... (cached) yes
checking for sys/types.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for sys/param.h... (cached) yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for GLIB... yes
checking for pkg-config... /home/pbulk/build/cad/pcb/work/.tools/bin/pkg-config
checking for GTK... yes
checking for GTKGLEXT... yes
checking if GIF output from the png HID is desired... yes
checking if JPEG output from the png HID is desired... yes
checking if PNG output from the png HID is desired... yes
checking for GDLIB... yes
checking for library containing gdImageCreate... none required
checking for gdImageGif... yes
checking for gdImageJpeg... yes
checking for gdImagePng... yes
checking if the m4lib to newlib export should create png previews... no
checking If pcblib-newlib was built with png previews... no
checking If pcblib-newlib needs to be rebuilt... no
checking for XRenderQueryExtension in -lXrender... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking if dmalloc debugging should be enabled... no
checking if ElectricFence debugging should be enabled... no
checking for whether to enable debugging code... no
checking for mkdir... yes
checking for _mkdir... no
checking whether mkdir takes one argument... no
checking for stdint.h... (cached) yes
no:no:yes
checking if the compiler accepts -Wall... yes
checking if the compiler accepts -Wdeclaration-after-statement... yes
checking for the bindir to pcblibdir relative path... ../share/pcb
checking for the bindir to pcbtreedir relative path... ../share/pcb/newlib
checking for the bindir to exec_prefix relative path... ..
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating README_FILES/Makefile
config.status: creating doc/Makefile
config.status: creating example/Makefile
config.status: creating example/libraries/Makefile
config.status: creating lib/CreateLibraryContents.sh
config.status: creating lib/CreateLibrary.sh
config.status: creating lib/ListLibraryContents.sh
config.status: creating lib/Makefile
config.status: creating lib/QueryLibrary.sh
config.status: creating lib/qfp-ui
config.status: creating newlib/2_pin_thru-hole_packages/Makefile
config.status: creating newlib/Makefile
config.status: creating newlib/connectors/Makefile
config.status: creating newlib/crystal/Makefile
config.status: creating newlib/electro-optics/Makefile
config.status: creating newlib/headers/Makefile
config.status: creating newlib/keystone/Makefile
config.status: creating newlib/msp430/Makefile
config.status: creating newlib/not_vetted_ingo/Makefile
config.status: creating newlib/sockets/Makefile
config.status: creating newlib/tests/Makefile
config.status: creating src/Makefile
config.status: creating src/icons/Makefile
config.status: creating tools/Makefile
config.status: creating tutorial/Makefile
config.status: creating tests/Makefile
config.status: creating gts/Makefile
config.status: creating w32/Makefile
config.status: creating win32/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing po/stamp-it commands

** Configuration summary for pcb 4.1.3:

   Cross Compiling:          no
   CC:                       cc
   CXX:                      c++
   CPPFLAGS:                 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm  -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/webp -I/usr/pkg/include/libpng16 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/cairo -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -D_REENTRANT -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/fribidi -pthread   -I/usr/pkg/include/gtkglext-1.0 -I/usr/pkg/lib/gtkglext-1.0/include -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/cairo -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -D_REENTRANT -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/fribidi -pthread  -pthread   -pthread  -DPREFIXDIR=\"${prefix}\" -DBINDIR=\"${bindir}\" -DHOST=\"${host}\" -DPCBLIBDIR=\"${datarootdir}/pcb\" -DPCBTREEDIR=\"${datarootdir}/pcb/newlib\" -DPCBTREEPATH=\"${datarootdir}/pcb/newlib:${datarootdir}/pcb/pcblib-newlib\"
   CFLAGS:                   -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm -Wall -Wdeclaration-after-statement
   CXXFLAGS:                 -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm -Wall
   LIBS:                     -ldl -lm   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ldbus-1 -lXinerama -lXrender   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgd -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lharfbuzz -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lpangoft2-1.0 -lpango-1.0 -Wl,-R/usr/pkg/lib -lfontconfig -lfreetype     -L/usr/pkg/lib -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lharfbuzz -lpangox-1.0 -lX11 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lpangoft2-1.0 -lpango-1.0 -Wl,-R/usr/pkg/lib -lfontconfig -lfreetype -lGLU -lGL -lpthread -lrt
   PCB:                      ${top_builddir}/src/pcb

   GUI:                      gtk
   Printer:                  lpr
   Exporters:                bom gcode gerber gsvit ipcd356 ps gcode nelma png
   Coordinate type:          long
   Source tree distribution: tarball
   Build documentation:      yes
   Build toporouter:         yes
   Enable toporouter output: no
   xdg data directory:       ${datarootdir}
   KDE data directory:       ${datarootdir}
   dmalloc debugging:        no
   ElectricFence debugging:  no
   Regression tests enabled: no

=> Overriding intltool.