+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/dnsdist-1.7.2nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/dnsdist-1.7.2nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for dnsdist-1.7.2.tar.bz2 => Checksum SHA512 OK for dnsdist-1.7.2.tar.bz2 ===> Installing dependencies for dnsdist-1.7.2nb2 ========================================================================== The following variables will affect the build process of this package, dnsdist-1.7.2nb2. Their current value is shown below: * CURSES_DEFAULT = ncurses * DNSDIST_GROUP = dnsdist * DNSDIST_USER = dnsdist * LUA_VERSION_DEFAULT = 54 * READLINE_DEFAULT = readline * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/opt/pkg/openssl/certs * SSLDIR = /etc/opt/pkg/openssl * SSLKEYS = /etc/opt/pkg/openssl/private Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses * LUA_PACKAGE = lua54 * READLINE_TYPE = readline * TERMCAP_TYPE = curses 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 mktools-[0-9]*: found mktools-20220614 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency boost-headers-1.82.*: found boost-headers-1.82.0 => Full dependency re2>=20230602: found re2-20230701 => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.6 => Full dependency readline>=6.0: found readline-8.2nb2 => Full dependency fstrm>=0.4.0: found fstrm-0.6.1 => Full dependency libsodium>=0.3: found libsodium-1.0.18 => Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1u => Full dependency nghttp2>=1.52.0nb1: found nghttp2-1.55.1 ===> Overriding tools for dnsdist-1.7.2nb2 ===> Extracting for dnsdist-1.7.2nb2 ===> Patching for dnsdist-1.7.2nb2 => Applying pkgsrc patches for dnsdist-1.7.2nb2 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dnsdist/patches/patch-dnsdist-console.cc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dnsdist/patches/patch-dnsdist-console.cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-dnsdist-console.cc,v 1.5 2020/08/06 16:28:03 adam Exp $ | |Always use the pkgsrc editline layout. | |--- dnsdist-console.cc.orig 2020-07-28 07:39:28.000000000 +0000 |+++ dnsdist-console.cc -------------------------- Patching file dnsdist-console.cc using Plan A... Hunk #1 succeeded at 25 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dnsdist/patches/patch-dnsdist.cc => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dnsdist/patches/patch-dnsdist.cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-dnsdist.cc,v 1.6 2020/08/06 16:28:03 adam Exp $ | |Always use the pkgsrc editline layout. | |--- dnsdist.cc.orig 2020-07-29 16:09:33.000000000 +0000 |+++ dnsdist.cc -------------------------- Patching file dnsdist.cc using Plan A... Hunk #1 succeeded at 31. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dnsdist/patches/patch-ext_json11_json11.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dnsdist/patches/patch-ext_json11_json11.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ext_json11_json11.cpp,v 1.1 2017/05/22 23:41:22 joerg Exp $ | |Clang rejects ordering relations for nullptr, so introduce a template |indirection. | |--- ext/json11/json11.cpp.orig 2016-12-29 12:45:46.000000000 +0000 |+++ ext/json11/json11.cpp -------------------------- Patching file ext/json11/json11.cpp using Plan A... Hunk #1 succeeded at 146 (offset 14 lines). Hunk #2 succeeded at 171 (offset 14 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dnsdist/patches/patch-iputils.hh => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dnsdist/patches/patch-iputils.hh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-iputils.hh,v 1.3 2018/08/08 15:39:55 fhajny Exp $ | |Do not use IP_PKTINFO on NetBSD, the structure is not as expected. | |--- iputils.hh.orig 2017-01-17 08:43:49.000000000 +0000 |+++ iputils.hh -------------------------- Patching file iputils.hh using Plan A... Hunk #1 succeeded at 37 (offset -3 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dnsdist/patches/patch-qtype.hh => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/dnsdist/patches/patch-qtype.hh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-qtype.hh,v 1.2 2022/10/24 11:08:15 jperkin Exp $ | |Avoid symbol pollution on SunOS. | |--- qtype.hh.orig 2022-06-10 13:48:12.000000000 +0000 |+++ qtype.hh -------------------------- Patching file qtype.hh using Plan A... Hunk #1 succeeded at 22. done ===> Creating toolchain wrappers for dnsdist-1.7.2nb2 /usr/bin/ln -s /home/pbulk/build/net/dnsdist/work/.buildlink/lib/pkgconfig/lua-5.4.pc /home/pbulk/build/net/dnsdist/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for dnsdist-1.7.2nb2 => 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 => Checking for portability problems in extracted files configure: WARNING: unrecognized options: --with-libiconv-prefix 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 thread-safe mkdir -p... ./install-sh -c -d checking for gawk... /usr/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... 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 whether make supports nested variables... (cached) yes 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking size of time_t... 8 checking whether time_t is signed... 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... /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-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 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 how to run the C preprocessor... gcc -E 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 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... rm: conftest*: No such file or directory 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... 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 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 how to run the C++ preprocessor... g++ -E checking for ld used by g++... /bin/ld -64 checking if the linker (/bin/ld -64) is GNU ld... no checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ 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 pkg-config is at least version 0.9.0... yes checking whether we will be linking in libsodium... yes checking for LIBSODIUM... yes checking for crypto_box_easy_afternm... yes checking for crypto_box_curve25519xchacha20poly1305_easy... yes checking for randombytes_stir... yes checking for sodium_memcmp... yes checking for crypto_shorthash... yes checking whether we will have dnstap... yes checking for FSTRM... yes checking for fstrm_tcp_writer_init... yes checking for ragel... no checking for LIBEDIT... yes checking for library containing clock_gettime... none required checking whether -latomic is needed for __atomic builtins... no checking for pthread_np.h... no checking for 2-arg pthread_setname_np... yes checking for library containing inet_aton... none required checking for library containing gethostbyname... -lnsl checking for library containing socket... -lsocket checking for library containing gethostent... none required checking for recvmmsg... no checking for sendmmsg... no checking for accept4... yes checking for library containing pthread_setaffinity_np... no checking for library containing pthread_getattr_np... no checking for library containing pthread_get_stackaddr_np... no checking for library containing pthread_get_stacksize_np... no checking for explicit_bzero... yes checking for explicit_memset... no checking for Boost headers version >= 1.42.0... yes checking for Boost's header version... 1_82 checking for the toolset name used by Boost for g++... configure: WARNING: could not figure out which toolset name to use for g++ checking whether to enable unit test building... no checking if we should compile in libre2 for dnsdist... yes checking for RE2... yes checking whether to enable DNSCrypt support... yes checking if we have eBPF support... auto checking linux/bpf.h usability... no checking linux/bpf.h presence... no checking for linux/bpf.h... no checking if we need to link in Net SNMP... no checking whether we will be linking in libcap... auto checking for LIBCAP... no checking systemd/sd-daemon.h usability... no checking systemd/sd-daemon.h presence... no checking for systemd/sd-daemon.h... no checking What user and group will be used by service... dnsdist checking for localtime_r... yes checking for gmtime_r... yes checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep checking which Lua implementation to use... auto checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... yes checking lua.hpp usability... yes checking lua.hpp presence... yes checking for lua.hpp... yes checking for x86_64-sun-solaris2.11-pkg-config... /home/pbulk/build/net/dnsdist/work/.tools/bin/pkg-config checking whether compiling and linking against OpenSSL's libcrypto works... yes checking for RAND_bytes... yes checking for RAND_pseudo_bytes... yes checking for CRYPTO_memcmp... yes checking for OPENSSL_init_crypto... yes checking for EVP_MD_CTX_new... yes checking for EVP_MD_CTX_free... yes checking for RSA_get0_key... yes checking whether EVP_PKEY_CTX_set1_scrypt_salt is declared... yes checking whether to enable DNS over TLS support... yes checking whether to enable incoming DNS over HTTPS (DoH) support... no checking whether we will be linking in OpenSSL libssl... yes checking for LIBSSL... yes checking for SSL_CTX_set_ciphersuites... yes checking for OCSP_basic_sign... yes checking for SSL_CTX_set_num_tickets... yes checking for SSL_CTX_set_keylog_callback... yes checking for SSL_CTX_get0_privatekey... yes checking for SSL_CTX_set_min_proto_version... no checking for SSL_set_hostflags... yes checking for SSL_CTX_set_alpn_protos... yes checking for SSL_CTX_set_next_proto_select_cb... yes checking for SSL_get0_alpn_selected... yes checking for SSL_get0_next_proto_negotiated... yes checking for SSL_CTX_set_alpn_select_cb... yes checking whether we will be linking in GnuTLS... auto checking for GNUTLS... no checking for LIBH2OEVLOOP... no checking whether we will be linking in nghttp2... yes checking for NGHTTP2... yes checking for CDB... no checking cdb.h usability... no checking cdb.h presence... no checking for cdb.h... no checking where to find the lmdb library and headers... auto checking for LMDB... no checking whether g++ supports C++17 features with -std=c++17... yes checking whether we will enable compiler security checks... yes checking whether C++ compiler handles -Werror -Wunknown-warning-option... no checking whether C++ compiler handles -pie... no checking whether C++ compiler handles -Wl,-pie... yes checking whether C++ compiler handles -fstack-protector... yes checking whether C++ compiler handles --param ssp-buffer-size=4... yes checking whether C++ compiler handles -D_FORTIFY_SOURCE=2... yes checking for how to force completely read-only GOT table... unknown checking whether to enable AddressSanitizer... no checking whether to enable MemorySanitizer... no checking whether to enable ThreadSanitizer... no checking whether to enable LeakSanitizer... no checking whether to enable Undefined Behaviour Sanitizer... no checking for a Python interpreter with version >= 3.6... none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating ext/yahttp/Makefile config.status: creating ext/yahttp/yahttp/Makefile config.status: creating ext/ipcrypt/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory configure: WARNING: unrecognized options: --with-libiconv-prefix configure: configure: Configuration summary configure: ===================== configure: configure: dnsdist configured with: '--enable-dns-over-tls' '--enable-dnscrypt' '--enable-dnstap' '--with-libsodium' '--with-libssl' '--with-lua' '--with-nghttp2' '--with-re2' '--without-net-snmp' '--with-libiconv-prefix=/opt/pkg' '--prefix=/opt/pkg' '--build=x86_64-sun-solaris2.11' '--host=x86_64-sun-solaris2.11' '--mandir=/opt/pkg/share/man' '--enable-option-checking=yes' 'build_alias=x86_64-sun-solaris2.11' 'host_alias=x86_64-sun-solaris2.11' 'CC=gcc' 'CFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium' 'LDFLAGS=-L/opt/pkg/lib -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -liconv' 'LIBS=-lpthread -lrt' 'CPPFLAGS=-I/opt/pkg/include -I/usr/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium' 'CXX=g++' 'CXXFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium' 'PKG_CONFIG=/home/pbulk/build/net/dnsdist/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/home/pbulk/build/net/dnsdist/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/net/dnsdist/work/.buildlink/lib/pkgconfig:/home/pbulk/build/net/dnsdist/work/.buildlink/share/pkgconfig' 'LIBEDIT_CFLAGS=-I/opt/pkg/include' 'LIBEDIT_LIBS=-L/opt/pkg/lib ' configure: configure: CC: gcc configure: CXX: g++ -std=c++17 configure: LD: /bin/ld -64 configure: CFLAGS: -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g -O3 -Wall -Wextra -Wshadow -Wno-unused-parameter -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium configure: CPPFLAGS: -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium configure: CXXFLAGS: -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -D_REENTRANT -g -O3 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium configure: LDFLAGS: -L/opt/pkg/lib -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -liconv configure: LIBS: -lsocket -lnsl -lposix4 -lpthread -lpthread -lrt configure: BOOST_CPPFLAGS: configure: configure: Features enabled configure: ---------------- configure: Lua: lua configure: Protobuf: yes configure: systemd: no configure: ipcipher: yes configure: libsodium: yes configure: DNSCrypt: yes configure: dnstap: yes configure: re2: yes configure: SNMP: no configure: DNS over TLS: yes configure: DNS over HTTPS (DoH): no configure: GnuTLS: no configure: OpenSSL: yes configure: nghttp2: yes configure: cdb: no configure: lmdb: no configure: