+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ndpi-4.8/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ndpi-4.8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for nDPI-4.8.tar.gz
=> Checksum SHA512 OK for nDPI-4.8.tar.gz
===> Installing dependencies for ndpi-4.8
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.4
=> Full dependency json-c>=0.14: found json-c-0.17
===> Overriding tools for ndpi-4.8
===> Extracting for ndpi-4.8
===> Patching for ndpi-4.8
=> Applying pkgsrc patches for ndpi-4.8
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ndpi/patches/patch-src_include_ndpi__includes.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ndpi/patches/patch-src_include_ndpi__includes.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_include_ndpi__includes.h,v 1.2 2023/11/20 17:57:31 adam Exp $
|
|Same case with SunOS.
|
|--- src/include/ndpi_includes.h.orig	2023-10-23 09:45:30.000000000 +0000
|+++ src/include/ndpi_includes.h
--------------------------
Patching file src/include/ndpi_includes.h using Plan A...
Hunk #1 succeeded at 50.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ndpi/patches/patch-src_lib_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ndpi/patches/patch-src_lib_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_lib_Makefile.in,v 1.7 2023/11/20 17:57:31 adam Exp $
|
|Fix building on Darwin.
|
|--- src/lib/Makefile.in.orig	2023-10-23 09:45:30.000000000 +0000
|+++ src/lib/Makefile.in
--------------------------
Patching file src/lib/Makefile.in using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 48.
Hunk #3 succeeded at 69.
Hunk #4 succeeded at 100.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ndpi/patches/patch-src_lib_third__party_include_gcrypt_common.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ndpi/patches/patch-src_lib_third__party_include_gcrypt_common.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_lib_third__party_include_gcrypt_common.h,v 1.1 2023/11/07 22:31:11 he Exp $
|
|Don't conditionalize definition of bswap_64().
|This leaves it undefined on macppc, and you get link errors.
|
|--- src/lib/third_party/include/gcrypt/common.h.orig	2023-02-01 17:29:59.000000000 +0000
|+++ src/lib/third_party/include/gcrypt/common.h
--------------------------
Patching file src/lib/third_party/include/gcrypt/common.h using Plan A...
Hunk #1 succeeded at 53.
done
===> Creating toolchain wrappers for ndpi-4.8
===> Configuring for ndpi-4.8
cd /home/pbulk/build/net/ndpi/work/nDPI-4.8 && ./autogen.sh
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /opt/pkg/bin/autoconf --force
autoreconf: running: /opt/pkg/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:93: installing './compile'
configure.ac:93: installing './config.guess'
configure.ac:93: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
fuzz/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory '.'
./configure 
checking for a BSD-compatible install... /home/pbulk/build/net/ndpi/work/.tools/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... 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 whether make supports the include directive... yes (GNU style)
checking for 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... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /home/pbulk/build/net/ndpi/work/.tools/bin/sed
checking for grep that handles long lines and -e... /home/pbulk/build/net/ndpi/work/.tools/bin/grep
checking for egrep... /home/pbulk/build/net/ndpi/work/.tools/bin/grep -E
checking for fgrep... /home/pbulk/build/net/ndpi/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 file... file
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 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 supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
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 -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... yes
checking for cos in -lm... yes
checking for pkg-config... /home/pbulk/build/net/ndpi/work/.tools/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for inline... inline
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking for ar... (cached) ar
Setting API version to 29956
checking for json-c... yes
checking for json_object_put in -ljson-c... no
configure: WARNING: JSON-C not available. Disabled unit test.
checking for egrep -e... (cached) /home/pbulk/build/net/ndpi/work/.tools/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... -D_POSIX_PTHREAD_SEMANTICS
checking for PTHREAD_PRIO_INHERIT... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for math.h... yes
checking for float.h... yes
checking for sqrt in -lm... no
checking for rrd_fetch_r in -lrrd... no
checking DPDK (used by ndpiReader)... no (missing /root/DPDK)
checking for numa_available in -lnuma... no
checking PF_RING nBPF (/home/pbulk/build/net/ndpi/work/nDPI-4.8/../PF_RING/userland/nbpf)... no
checking for pcap_open_live in -lpcap... no
configure: error: Missing libpcap(-dev) library required to compile the example application.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ndpi
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ndpi