+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fluent-bit-0.13.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fluent-bit-0.13.2/work.log
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
===> Building for fluent-bit-0.13.2
[  1%] Creating directories for 'backtrace'
[  2%] Creating directories for 'onigmo'
[  3%] Building C object lib/jsmn/CMakeFiles/jsmn.dir/jsmn.c.o
[  3%] Building C object lib/sqlite-amalgamation-3230000/CMakeFiles/sqlite3.dir/sqlite3.c.o
[  3%] No download step for 'backtrace'
[  3%] Linking C static library ../../library/libjsmn.a
[  3%] No download step for 'onigmo'
[  3%] No update step for 'backtrace'
[  3%] No update step for 'onigmo'
[  3%] Built target jsmn
[  4%] Building C object lib/flb_libco/CMakeFiles/co.dir/libco.c.o
[  4%] No patch step for 'backtrace'
[  4%] No patch step for 'onigmo'
[  4%] Linking C static library ../../library/libco.a
[  5%] Performing configure step for 'backtrace'
[  6%] Performing configure step for 'onigmo'
[  6%] Built target co
checking for a BSD-compatible install... /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/install -c
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
checking target system type... x86_64-pc-solaris2.11
checking for 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... 
[  6%] Building C object lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_rconf.c.o
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
In file included from /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/mk_core/../include/monkey/mk_core/mk_memory.h:29,
                 from /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/mk_core/../include/monkey/mk_core/mk_rconf.h:26,
                 from /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/mk_core/mk_rconf.c:29:
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/mk_core/mk_rconf.c: In function 'mk_rconf_open':
checking how to run the C preprocessor... cpp
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/mk_core/mk_rconf.c:463:17: warning: '%s' directive argument is null [-Wformat-overflow=]
  463 |         mk_warn("[config] invalid path file %s", path);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/mk_core/../include/monkey/mk_core/mk_macros.h:42:41: note: in definition of macro 'mk_warn'
   42 | #define mk_warn(...)  mk_print(MK_WARN, __VA_ARGS__)
      |                                         ^~~~~~~~~~~
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/mk_core/mk_rconf.c:463:45: note: format string is defined here
  463 |         mk_warn("[config] invalid path file %s", path);
      |                                             ^~
[  7%] Building C object lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_string.c.o
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/onigmo/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for grep that handles long lines and -e... /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/grep
checking for egrep... /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/grep -E
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 ANSI C header files... yes
[  7%] Building C object lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_memory.c.o
checking for suffix of object files... o
checking for sys/types.h... yes
checking whether we are using the GNU C compiler... yes
checking for sys/stat.h... yes
checking whether gcc accepts -g... yes
checking for stdlib.h... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
[  7%] Building C object lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_event.c.o
checking for string.h... yes
In file included from /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/mk_core/../include/monkey/mk_core/mk_event.h:74,
                 from /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/mk_core/mk_event.c:29:
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/mk_core/../include/monkey/mk_core/mk_event_kqueue.h:26:13: fatal error: sys/event.h: No such file or directory
   26 |    #include <sys/event.h>
      |             ^~~~~~~~~~~~~
compilation terminated.
checking dependency style of gcc... gcc3
--- lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_event.c.o ---
*** [lib/monkey/mk_core/CMakeFiles/mk_core.dir/mk_event.c.o] Error code 1

bmake[2]: stopped making "lib/monkey/mk_core/CMakeFiles/mk_core.dir/build" in /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2
bmake[2]: 1 error

bmake[2]: stopped making "lib/monkey/mk_core/CMakeFiles/mk_core.dir/build" in /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2
--- lib/monkey/mk_core/CMakeFiles/mk_core.dir/all ---
*** [lib/monkey/mk_core/CMakeFiles/mk_core.dir/all] Error code 2

bmake[1]: stopped making "all" in /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2
checking for memory.h... yes
checking for strings.h... yes
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
checking how to print strings... print -r
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking for a sed that does not truncate output... /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/sed
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/install -c
checking for grep that handles long lines and -e... /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/grep
checking for egrep... /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/grep -E
checking for fgrep... /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/grep -F
checking for ld used by gcc... /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-pc-solaris2.11 file names to x86_64-pc-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-pc-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc 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 mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/libbacktrace-177940370/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for gawk... (cached) nawk
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for a sed that does not truncate output... /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/sed
checking for fgrep... /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/grep -F
checking for ld used by gcc... /bin/ld
checking for stdlib.h... yes
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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking for string.h... yes
checking for memory.h... yes
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for strings.h... yes
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/sqlite-amalgamation-3230000/sqlite3.c: In function 'sqlite3DefaultRowEst':
checking for dlfcn.h... yes
checking for objdir... .libs
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/sqlite-amalgamation-3230000/sqlite3.c:106598:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
106598 |   if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10;  assert( 10==sqlite3LogEst(2) );
       |   ^~
In file included from /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/sqlite-amalgamation-3230000/sqlite3.c:13030:
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/sqlite-amalgamation-3230000/sqlite3.c:106598:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
106598 |   if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10;  assert( 10==sqlite3LogEst(2) );
       |                                             ^~~~~~
checking for inttypes.h... yes
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/sqlite-amalgamation-3230000/sqlite3.c:106599:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
106599 |   if( a[0]<33 ) a[0] = 33;                  assert( 33==sqlite3LogEst(10) );
       |   ^~
checking for stdint.h... yes
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/sqlite-amalgamation-3230000/sqlite3.c:106599:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
106599 |   if( a[0]<33 ) a[0] = 33;                  assert( 33==sqlite3LogEst(10) );
       |                                             ^~~~~~
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking for unistd.h... yes
checking if gcc PIC flag -fPIC -DPIC works... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for special C compiler options needed for large files... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking for _FILE_OFFSET_BITS value needed for large files... no
checking if gcc PIC flag -fPIC -DPIC works... yes
checking unwind.h usability... yes
checking if gcc static flag -static works... no
checking unwind.h presence... yes
checking for unwind.h... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for _Unwind_Backtrace... yes
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for -funwind-tables option... yes
checking for -frandom-seed=string option... yes
checking whether gcc supports -W... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc and cc understand -c and -o together... yes
checking whether make sets $(MAKE)... (cached) yes
checking for python3... no
checking for python... no
checking for python2... no
checking for ANSI C header files... (cached) yes
checking whether gcc supports -Wstrict-prototypes... yes
checking sys/time.h usability... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking whether gcc supports -Wold-style-definition... yes
checking sys/times.h usability... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for stdint.h... (cached) yes
checking whether gcc supports -Wcast-qual... yes
checking for _Unwind_GetIPInfo... yes
checking size of int... 4
checking __sync extensions... yes
checking __atomic extensions... yes
checking size of short... 2
checking output filetype... elf64
checking size of long... 8
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking size of void*... 8
checking for mmap... yes
checking link.h usability... yes
checking size of long long... 8
checking for an ANSI C-conforming const... yes
checking link.h presence... yes
checking for link.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for dl_iterate_phdr... yes
checking sys/ldr.h usability... no
checking sys/ldr.h presence... no
checking for sys/ldr.h... no
checking for size_t... yes
checking for fcntl... yes
checking for working alloca.h... yes
checking whether strnlen is declared... yes
checking for alloca... yes
checking for lstat... yes
checking for working memcmp... yes
checking for readlink... yes
configure: creating ./config.status
checking for getexecname... yes
checking for clock_gettime... yes
checking whether -pthread is supported... yes
checking for compress in -lz... no
checking whether --compress-debug-sections is supported... no
checking for objcopy... objcopy
checking whether objcopy supports debuglink... objcopy: /tmp/ls995754: cannot fill debug link section `x': No such file or directory
no
checking whether tests can run... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating onigmo-config
config.status: creating sample/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
--- CMakeFiles/onigmo.dir/all ---
*** [CMakeFiles/onigmo.dir/all] Error code 6

bmake[1]: stopped making "all" in /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2
config.status: creating Makefile
config.status: creating backtrace-supported.h
config.status: creating config.h
config.status: executing libtool commands
config.status: executing default commands
--- CMakeFiles/backtrace.dir/all ---
*** [CMakeFiles/backtrace.dir/all] Error code 6

bmake[1]: stopped making "all" in /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/sqlite-amalgamation-3230000/sqlite3.c: In function 'sqlite3SelectNew':
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/sqlite-amalgamation-3230000/sqlite3.c:120366:10: warning: function may return address of local variable [-Wreturn-local-addr]
120366 |   return pNew;
       |          ^~~~
/home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/sqlite-amalgamation-3230000/sqlite3.c:120328:10: note: declared here
120328 |   Select standin;
       |          ^~~~~~~
--- lib/sqlite-amalgamation-3230000/CMakeFiles/sqlite3.dir/all ---
*** [lib/sqlite-amalgamation-3230000/CMakeFiles/sqlite3.dir/all] Error code 6

bmake[1]: stopped making "all" in /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2
bmake[1]: 4 errors

bmake[1]: stopped making "all" in /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2
*** [all] Error code 2

bmake: stopped making "all" in /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/fluent-bit
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/fluent-bit