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

        * PYTHON_VERSION_DEFAULT = 311
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private
        * VARBASE = /var/opt/pkg

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

        * PYPACKAGE = python311

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.80.3
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Full dependency syslog-ng-3.38.1{nb*,}: found syslog-ng-3.38.1nb2
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency glib2>=2.76.4nb1: found glib2-2.80.3
=> Full dependency ivykis>=0.39: found ivykis-0.42.3
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency python311>=3.11.0: found python311-3.11.9nb1
=> Full dependency openssl>=3: found openssl-3.3.1
=> Full dependency json-c>=0.14: found json-c-0.17
===> Overriding tools for py311-syslog-ng-3.38.1nb1
===> Extracting for py311-syslog-ng-3.38.1nb1
/usr/bin/rm -rf /home/pbulk/build/sysutils/py-syslog-ng/work/syslog-ng-3.38.1/lib/ivykis
/usr/bin/rm -rf /home/pbulk/build/sysutils/py-syslog-ng/work/syslog-ng-3.38.1/modules/afamqp/rabbitmq-c
/usr/bin/rm -rf /home/pbulk/build/sysutils/py-syslog-ng/work/syslog-ng-3.38.1/modules/afmongodb/mongo-c-driver
===> Patching for py311-syslog-ng-3.38.1nb1
===> Creating toolchain wrappers for py311-syslog-ng-3.38.1nb1
===> Configuring for py311-syslog-ng-3.38.1nb1
=> 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 lib/merge-grammar.py.
=> Replacing AWK interpreter in contrib/syslog2ng.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking whether make supports nested variables... yes
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 race-free mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether UID '500' is supported by ustar format... yes
checking whether GID '500' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... -std=gnu11
checking whether gcc -std=gnu11 understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc -std=gnu11... gcc3
checking for bison... /opt/pkg/bin/bison -y
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... -ll
checking whether yytext is a pointer... yes
checking whether make sets $(MAKE)... (cached) yes
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc -std=gnu11... /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 whether ln -s works... yes
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-file... no
checking for file... file
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 -std=gnu11 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 stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu11 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu11 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu11 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu11 static flag -static works... no
checking if gcc -std=gnu11 supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc -std=gnu11 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu11 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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
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... no
checking whether /opt/pkg/bin/python3.11 version is >= 3.11... yes
checking for /opt/pkg/bin/python3.11 version... 3.11
checking for /opt/pkg/bin/python3.11 platform... sunos5
checking for GNU default /opt/pkg/bin/python3.11 prefix... ${prefix}
checking for GNU default /opt/pkg/bin/python3.11 exec_prefix... ${exec_prefix}
checking for /opt/pkg/bin/python3.11 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages
checking for /opt/pkg/bin/python3.11 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages
checking for C compiler vendor... gnu
checking for C compiler version... 13.3.0
checking CFLAGS_INITIALIZER_OVERRIDES for gcc -Winitializer-overrides... no, unknown
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to enable static linking for certain libraries... GNU or Solaris
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for dmalloc.h... no
checking for dlfcn.h... (cached) yes
checking for strings.h... (cached) yes
checking for getopt.h... yes
checking for stropts.h... yes
checking for sys/strlog.h... yes
checking for door.h... yes
checking for sys/capability.h... no
checking for sys/prctl.h... no
checking for utmp.h... yes
checking for utmpx.h... yes
checking for tcpd.h... yes
checking for struct ucred... no
checking for struct cmsgcred... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_gmtoff... no
checking for struct msghdr.msg_control... yes
checking how to run the C preprocessor... gcc -std=gnu11 -E
checking for I_CONSLOG... yes
checking for O_LARGEFILE... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for PR_SET_KEEPCAPS... yes
checking for modern utmp... yes
checking for round in -lm... yes
checking for door_create in -ldoor... yes
checking for socket in -lsocket... yes
checking for nanosleep in -lrt... yes
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for regexec in -lregex... no
checking for res_init in -lresolv... yes
checking for strdup... yes
checking for strtol... yes
checking for strtoll... yes
checking for strtoimax... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for getaddrinfo... no
checking for getnameinfo... no
checking for getutent... yes
checking for getutxent... yes
checking for pread... yes
checking for pwrite... yes
checking for strcasestr... yes
checking for memrchr... yes
checking for localtime_r... yes
checking for getprotobynumber_r... no
checking for gmtime_r... yes
checking for strnlen... yes
checking for strtok_r... yes
checking for clock_gettime... yes
checking for inotify_init... (cached) no
checking for getrandom... yes
checking for TCP wrapper library... -lwrap
checking for dlsym in -ldl... yes
checking for glib-2.0 >= 2.32 gmodule-2.0 gthread-2.0... yes
checking for g_list_copy_deep... yes
checking for g_ptr_array_find_with_equal_func... yes
checking for g_canonicalize_filename... yes
checking sanity checking Glib headers... yes
checking for MAXMINDDB... checking for MMDB_open in -lmaxminddb... no
checking for libpcre >= 6.1... yes
checking for openssl >= 0.9.8... yes
checking for gcc -std=gnu11 options needed to detect all undeclared functions... none needed
checking whether SSL_CTX_get0_param is declared... yes
checking whether SSL_CTX_set_ciphersuites is declared... yes
checking whether X509_STORE_CTX_get0_cert is declared... yes
checking whether X509_get_extension_flags is declared... yes
checking whether EVP_MD_CTX_reset is declared... yes
checking whether ASN1_STRING_get0_data is declared... yes
checking whether DH_set0_pqg is declared... yes
checking whether BN_get_rfc3526_prime_2048 is declared... yes
checking whether SSL_CTX_set_num_tickets is declared... yes
checking whether SSL_CTX_set1_sigalgs_list is declared... yes
checking whether SSL_CTX_set1_client_sigalgs_list is declared... yes
checking for LIBNET... no
checking whether to enable spoof source support... no
checking whether to enable snmp destination driver... no
checking for criterion >= 2.2.1... no
configure: WARNING: pkg-config was not able to find Criterion >= 2.2.1
checking for ivykis >= 0.36.1... yes
checking for ivykis >= 0.39... yes
checking for json-c >= 0.9... yes
checking for libmongoc-1.0 >= 1.0.0... no
checking for MQTTClient_create in -lpaho-mqtt3cs... no
checking for librabbitmq >= 0.5.3... no
checking for amqp_ssl_socket_set_verify_peer... no
checking for rdkafka >= 1.1.0... no
checking for rd_kafka_init_transactions... no
checking for riemann-client >= 1.6.0... no
checking for libsystemd >= 209... no
checking for libsystemd >= 245... no
checking for python-3.11-embed... yes
checking for PyUnicode_AsUTF8... yes
checking for pylint3... no
checking for pylint... no
configure: WARNING: Could not build Java modules without Java
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking whether to enable Sun STREAMS support... no
checking whether to enable OpenBSD system source support... no
checking whether TCP_KEEPIDLE is declared... yes
checking whether TCP_KEEPINTVL is declared... yes
checking whether TCP_KEEPCNT is declared... yes
checking for libcap... no
checking whether to enable Linux capability support... no
checking whether to enable kafka support... no
checking for struct tm.tm_zone... no
checking whether tzname is declared... yes
checking for tzname... yes
checking for `timezone' variable in time.h... yes
checking for `altzone' variable in time.h... yes
checking for `daylight' variable in time.h... yes
checking for fmemopen... yes
checking whether to enable Valgrind on the unit tests... checking for valgrind... no
yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating syslog-ng-native-connector.pc
config.status: creating dist.conf
config.status: creating Makefile
config.status: creating syslog-ng.pc
config.status: creating libtest/syslog-ng-test.pc
config.status: creating scripts/update-patterndb
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 syslog-ng-config.h commands
config.status: creating syslog-ng-config.h - prefix SYSLOG_NG for config.h defines
configure: WARNING: unrecognized options: --with-libiconv-prefix

syslog-ng Open Source Edition 3.38.1 configured
 Edition settings:
  Release type                : stable
  Pretty version              : 3
  Combined vers.              : 3 (3.38.1)
  Package name                : syslog-ng
 Compiler options:
  compiler                    : gcc -std=gnu11
  compiler options            :  -O2 -g -pthread -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/python3.11 -I/opt/pkg/include -pthread -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -I$(top_srcdir)/lib/eventlog/src -I$(top_builddir)/lib/eventlog/src -I/opt/pkg/include -I/opt/pkg/include   -I/opt/pkg/include  -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  linker flags                : -Wl,-R/opt/pkg/lib -liconv -L/opt/pkg/lib -lintl -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lpthread 
  prefix                      : /opt/pkg
  linking mode                : dynamic
  embedded crypto             : no
  __thread keyword            : yes
 Test dependencies:
  Criterion                   : no
  Unit tests                  : no
 Submodules:
  ivykis                      : system
 Features:
  Forced server mode          : yes
  Debug symbols               : no
  GCC profiling               : no
  Memtrace                    : no
  IPV6 support                : no
  spoof-source support        : no
  tcp-wrapper support         : no
  Linux capability support    : no
  Env wrapper support         : no
  systemd support             : no (unit dir: none)
  systemd-journal support     : no
  JSON support                : yes
 Build options:
  Generate manual pages       : no
  Install manual pages        : yes
 Modules:
  Module search path          : ${exec_prefix}/lib/syslog-ng
  Sun STREAMS support (module): no
  OpenBSD syslog (module)     : no
  SQL support (module)        : no
  PACCT module (EXPERIMENTAL) : no
  MongoDB destination (module): no
  JSON support (module)       : yes
  SMTP support (module)       : no
  HTTP support (module)       : no
  AMQP destination (module)   : no
  STOMP destination (module)  : no
  MQTT (module)               : no
  GEOIP2 support (module)     : no
  Redis support (module)      : no
  Kafka support (module)      : no
  Riemann destination (module): no, microseconds: no
  python                      : yes (pkg-config package: python3)
  java                        : no
  java modules                : no
  afsnmp module               : no
  native bindings             : auto
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp