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

        * PYTHON_VERSION_DEFAULT = 312

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

        * PYPACKAGE = python312

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-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
=> Full dependency libXt>=1.0.0: found libXt-1.3.1
=> Full dependency python312>=3.12: found python312-3.12.8nb2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency libICE>=0.99.1: found libICE-1.1.2
=> Full dependency libSM>=0.99.2: found libSM-1.2.5
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
===> Overriding tools for cooledit-3.17.17nb11
===> Extracting for cooledit-3.17.17nb11
===> Patching for cooledit-3.17.17nb11
=> Applying pkgsrc patches for cooledit-3.17.17nb11
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.3 2006/07/22 04:34:48 minskim Exp $
|
|--- widget/coollocal.h.orig	2005-04-04 13:47:45.000000000 -0700
|+++ widget/coollocal.h
--------------------------
Patching file widget/coollocal.h using Plan A...
Hunk #1 succeeded at 49.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
|
|--- widget/libgettext.h.orig	Sat Jul  6 15:38:39 2002
|+++ widget/libgettext.h
--------------------------
Patching file widget/libgettext.h using Plan A...
Hunk #1 succeeded at 126.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
|
|--- widget/mad.c.orig	Sat Oct 27 14:36:12 2001
|+++ widget/mad.c
--------------------------
Patching file widget/mad.c using Plan A...
Hunk #1 succeeded at 24.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
|
|--- editor/postscript.c.orig	Sat Oct 27 14:36:12 2001
|+++ editor/postscript.c
--------------------------
Patching file editor/postscript.c using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $
|
|--- widget/aafont.c.orig	Sat Oct 27 14:36:12 2001
|+++ widget/aafont.c
--------------------------
Patching file widget/aafont.c using Plan A...
Hunk #1 succeeded at 20.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-ah
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-ah
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ah,v 1.2 2004/11/08 15:48:20 adam Exp $
|
|--- widget/editcmd.c.orig	2004-10-18 19:56:57.000000000 +0000
|+++ widget/editcmd.c
--------------------------
Patching file widget/editcmd.c using Plan A...
Hunk #1 succeeded at 236.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-ai
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-ai
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ai,v 1.2 2004/11/08 15:48:20 adam Exp $
|
|--- editor/shell.c.orig	2004-10-18 19:56:58.000000000 +0000
|+++ editor/shell.c
--------------------------
Patching file editor/shell.c using Plan A...
Hunk #1 succeeded at 437.
Hunk #2 succeeded at 559.
Hunk #3 succeeded at 584.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-rxvt___rxvtlib_h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-rxvt___rxvtlib_h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-rxvt___rxvtlib_h,v 1.1 2011/12/21 08:45:34 dholland Exp $
|
|If the configuration detects /dev/ptmx, it tries to use it; but avoid
|in that case trying to do STREAMS things.
|
|--- rxvt/_rxvtlib.h~	2005-04-04 20:47:45.000000000 +0000
|+++ rxvt/_rxvtlib.h
--------------------------
Patching file rxvt/_rxvtlib.h using Plan A...
Hunk #1 succeeded at 130.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-rxvt_rxvtlib__command_c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/cooledit/patches/patch-rxvt_rxvtlib__command_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-rxvt_rxvtlib__command_c,v 1.1 2011/12/21 08:45:34 dholland Exp $
|
|If the configuration detects /dev/ptmx, it tries to use it; but avoid
|in that case trying to do STREAMS things.
|
|--- rxvt/rxvtlib_command.c~	2005-04-04 20:47:45.000000000 +0000
|+++ rxvt/rxvtlib_command.c
--------------------------
Patching file rxvt/rxvtlib_command.c using Plan A...
Hunk #1 succeeded at 386.
Hunk #2 succeeded at 399.
done
===> Creating toolchain wrappers for cooledit-3.17.17nb11
===> Configuring for cooledit-3.17.17nb11
=> 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.
INFO: [subst.mk:pkglocaledir] Nothing changed in "Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "lib/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "m4/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "man/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "pixmap/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "rxvt/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "syntax/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "widget/Makefile.in".
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes

Now configuring cooledit-3.17.17

checking for style of include used by make... GNU
checking for x86_64-redhat-linux-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for AIX... no
checking for a sed that does not truncate output... /home/pbulk/build/editors/cooledit/work/.tools/bin/sed
checking for ld used by cc... /home/pbulk/build/editors/cooledit/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/editors/cooledit/work/.cwrapper/bin/ld) is GNU ld... yes
checking for /home/pbulk/build/editors/cooledit/work/.cwrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-redhat-linux-g++... c++
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking how to run the C++ preprocessor... cpp
checking for x86_64-redhat-linux-g77... gfortran
checking whether we are using the GNU Fortran 77 compiler... no
checking whether gfortran accepts -g... no
checking the maximum length of command line arguments... (cached) 2097152
checking command to parse nm output from cc object... ok
checking for objdir... .libs
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking if cc static flag  works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/home/pbulk/build/editors/cooledit/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/home/pbulk/build/editors/cooledit/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... 
checking if c++ supports -c -o file.o... no
checking whether the c++ linker (/home/pbulk/build/editors/cooledit/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... unsupported
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... no
checking if gfortran supports -c -o file.o... no
checking whether the gfortran linker (/home/pbulk/build/editors/cooledit/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether make sets $(MAKE)... (cached) yes
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 ANSI C... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for library containing strerror... none required
checking whether man accepts -a... 
yes
checking for rxvt... 
no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for python... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking lastlog.h usability... yes
checking lastlog.h presence... yes
checking for lastlog.h... yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/errno.h usability... yes
checking sys/errno.h presence... yes
checking for sys/errno.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for grp.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for sys/wait.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking select.h usability... no
checking select.h presence... no
checking for select.h... no
checking for sys/stat.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking ioctl.h usability... no
checking ioctl.h presence... no
checking for ioctl.h... no
checking for termios.h... (cached) yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking types.h usability... no
checking types.h presence... no
checking for types.h... no
checking for sys/types.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for mbstate_t... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for long long... yes
checking size of long long... 8
checking for int *... yes
checking size of int *... 8
checking for int16_t... yes
checking for u_int16_t... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking for int64_t... yes
checking for u_int64_t... yes
checking for tolower in -lintl... yes
checking for working alloca.h... yes
checking for alloca... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for unsetenv... yes
checking for putenv... yes
checking for setenv... yes
checking for setutent... yes
checking for seteuid... yes
checking for _getpty... no
checking for grantpt... yes
checking for unlockpt... yes
checking for strerror... yes
checking for getcwd... yes
checking for re_comp... yes
checking for regcomp... yes
checking for strdup... yes
checking for strspn... yes
checking for strstr... yes
checking for strcspn... yes
checking for strchr... yes
checking for strrchr... yes
checking for memmove... yes
checking for memcpy... yes
checking for memset... yes
checking for memchr... yes
checking for memcmp... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strftime... yes
checking for alloca... no
checking for tcgetattr... yes
checking for setsid... yes
checking for setpgrp... yes
checking for tcsetpgrp... yes
checking for nl_langinfo... yes
checking for XPointer... yes
checking for getpt... yes
checking for tty/pty type... BSD
checking for setlocale in -lxpg4... no
checking for forkpty... yes
checking for struct winsize... yes
checking for --with-libs... no
checking for msgfmt... /home/pbulk/build/editors/cooledit/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/editors/cooledit/work/.tools/bin/msgfmt
checking for xgettext... /bin/xgettext
checking for msgmerge... /bin/msgmerge
checking for ld used by GCC... /home/pbulk/build/editors/cooledit/work/.cwrapper/bin/ld -m elf_x86_64
checking if the linker (/home/pbulk/build/editors/cooledit/work/.cwrapper/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rxvt/Makefile
config.status: creating widget/Makefile
config.status: creating editor/Makefile
config.status: creating po/Makefile.in
config.status: creating pixmap/Makefile
config.status: creating lib/Makefile
config.status: creating syntax/Makefile
config.status: creating m4/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands


The Python.h header file or library file could not be found.
This could mean that Python is not installed on your system.
The complete Python sources can be downloaded from http://www.python.org/
Cooledit will work without Python, but will not be custom programmable.
and will lack any features coded in Python.


Configuration done.
Type 'make' to compile cooledit-3.17.17

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
if /bin/grep -q mbstate_t /usr/include/wchar.h ; then :; else  /bin/mv /home/pbulk/build/editors/cooledit/work/cooledit-3.17.17/config.h /home/pbulk/build/editors/cooledit/work/cooledit-3.17.17/config.h.bak ;  /bin/sed 's;^.*HAVE_WCHAR_H.*$;/* mbstate_t is missing from machine/ansi.h */;g'  < /home/pbulk/build/editors/cooledit/work/cooledit-3.17.17/config.h.bak > /home/pbulk/build/editors/cooledit/work/cooledit-3.17.17/config.h ;  fi
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.