=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for snort-2.9.15.1.tar.gz => Checksum RMD160 OK for snort-2.9.15.1.tar.gz => Checksum SHA512 OK for snort-2.9.15.1.tar.gz ===> Installing dependencies for snort-2.9.15.1nb3 ========================================================================== The supported build options for snort are: debug snmp snort-dynamicplugin snort-flexresp snort-flexresp2 snort-gre snort-prelude snort-rulestate snort-timestats ssl You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.snort (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, snort-2.9.15.1nb3. Their current value is shown below: * SSLBASE = /usr * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private * VARBASE = /var You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency bison-[0-9]*: found bison-3.7.1 => Build dependency flex>=2.5.4a: found flex-2.6.4 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency daq>=2.0.0: found daq-2.0.6 => Full dependency nghttp2>=1.40.0nb4: found nghttp2-1.41.0 => Full dependency LuaJIT2>=2.0.3: found LuaJIT2-2.0.5nb1 => Full dependency libdnet>=1.10nb1: found libdnet-1.12nb1 => Full dependency pcre>=8.30nb1: found pcre-8.44 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Overriding tools for snort-2.9.15.1nb3 ===> Extracting for snort-2.9.15.1nb3 => Fixing preprocessors install path. ===> Patching for snort-2.9.15.1nb3 => Applying pkgsrc patches for snort-2.9.15.1nb3 => Verifying /data/pkgsrc/net/snort/patches/patch-src_target-based_sftarget__reader.c => Applying pkgsrc patch /data/pkgsrc/net/snort/patches/patch-src_target-based_sftarget__reader.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_target-based_sftarget__reader.c,v 1.2 2020/02/18 23:00:26 sevan Exp $ | |Sun ar needs at least one symbol in a library. | |--- src/target-based/sftarget_reader.c.orig 2020-02-18 13:13:04.326915274 +0000 |+++ src/target-based/sftarget_reader.c -------------------------- Patching file src/target-based/sftarget_reader.c using Plan A... Hunk #1 succeeded at 31. done ===> Creating toolchain wrappers for snort-2.9.15.1nb3 ===> Configuring for snort-2.9.15.1nb3 => Fixing paths. => 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 checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for x86_64--netbsd-gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking dependency style of clang... gcc3 checking for clang option to accept ISO C99... none needed checking for clang option to accept ISO Standard C... (cached) none needed checking for x86_64--netbsd-gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... (cached) none needed checking dependency style of clang... (cached) gcc3 checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd 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/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64--netbsd-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for x86_64--netbsd-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64--netbsd-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64--netbsd-strip... no checking for strip... strip checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from clang object... ok checking for sysroot... no checking for x86_64--netbsd-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... clang -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 clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... rm: conftest*: No such file or directory yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory no checking dynamic linker characteristics... NetBSD ld.elf_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 checking for x86_64--netbsd-ranlib... ranlib checking whether byte ordering is bigendian... no checking for inline... inline checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for bison... bison checking for flex... flex checking for inttypes.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking for floor in -lm... yes checking for ceil in -lm... yes checking uuid/uuid.h usability... no checking uuid/uuid.h presence... no checking for uuid/uuid.h... no checking for inet_ntoa in -lnsl... no checking for socket in -lsocket... no checking whether printf must be declared... no checking whether fprintf must be declared... no checking whether syslog must be declared... no checking whether puts must be declared... no checking whether fputs must be declared... no checking whether fputc must be declared... no checking whether fopen must be declared... no checking whether fclose must be declared... no checking whether fwrite must be declared... no checking whether fflush must be declared... no checking whether getopt must be declared... no checking whether bzero must be declared... no checking whether bcopy must be declared... no checking whether memset must be declared... no checking whether strtol must be declared... no checking whether strcasecmp must be declared... no checking whether strncasecmp must be declared... no checking whether strerror must be declared... no checking whether perror must be declared... no checking whether socket must be declared... no checking whether sendto must be declared... no checking whether vsnprintf must be declared... no checking whether snprintf must be declared... no checking whether strtoul must be declared... no checking for sigaction... yes checking for strlcpy... yes checking for strlcat... yes checking for strerror... yes checking for vswprintf... yes checking for wprintf... yes checking for memrchr... yes checking for inet_ntop... yes checking for gettid... no checking for snprintf... yes checking for malloc_trim... no checking for mallinfo... no checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long int... 8 checking size of long long int... 8 checking size of unsigned int... 4 checking size of unsigned long int... 8 checking size of unsigned long long int... 8 checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for boolean... no checking for INADDR_NONE... yes checking for __FUNCTION__... yes checking for pcap_datalink in -lpcap... yes checking for pcap_lex_destroy... no checking for pcap_lib_version... yes checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for pcre_compile in -lpcre... yes checking for libpcre version 6.0 or greater... yes checking for SHA256_Init in -lcrypto... yes checking for MD5_Init in -lcrypto... yes ./configure: NetBSD: not found ./configure: NetBSD: not found checking dnet.h usability... yes checking dnet.h presence... yes checking for dnet.h... yes checking dumbnet.h usability... no checking dumbnet.h presence... no checking for dumbnet.h... no checking for eth_set in -ldnet... yes checking for eth_set in -ldumbnet... no checking for dlsym in -ldl... no checking for dlsym in -lc... yes checking for daq_load_modules in -ldaq... yes checking for daq_hup_apply... yes checking for daq_acquire_with_meta... yes checking for daq_dp_add_dc... yes checking for daq real addresses... no checking whether DAQ_PKT_FLAG_DECRYPTED_SSL is declared... no checking whether DAQ_PKT_FLAG_LOCALLY_ORIGINATED is declared... no checking whether DAQ_PKT_FLAG_LOCALLY_DESTINED is declared... no checking for struct _DAQ_DP_key_t.sa.src_ip4... yes checking for daq address space ID... yes checking for daq flow ID... yes checking for daq extended flow modifiers... no checking for daq query flow... no checking for daq data channel flags... no checking for separate IP versions on pinhole endpoints... no checking for DAQ_VERDICT_RETRY... yes checking for daq packet trace... no DAQ version doesn't support packet trace. checking for daq verdict reason... no DAQ version doesn't support tracing verdict reason. checking for sparc... no checking for visibility support... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for inflate in -lz... yes checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for lzma_stream_decoder in -llzma... yes checking for pthread_tryjoin_np... no checking pkg-config is at least version 0.9.0... yes checking for luajit... yes checking openssl/x509.h usability... yes checking openssl/x509.h presence... yes checking for openssl/x509.h... yes checking for d2i_X509 in -lcrypto... yes checking for nghttp2_option_new in -lnghttp2... yes checking for yylex_destroy support... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating snort.pc config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/sfutil/Makefile config.status: creating src/control/Makefile config.status: creating src/file-process/Makefile config.status: creating src/file-process/libs/Makefile config.status: creating src/side-channel/Makefile config.status: creating src/side-channel/dynamic-plugins/Makefile config.status: creating src/side-channel/dynamic-plugins/snort_side_channel.pc config.status: creating src/side-channel/plugins/Makefile config.status: creating src/detection-plugins/Makefile config.status: creating src/dynamic-examples/Makefile config.status: creating src/dynamic-examples/dynamic-preprocessor/Makefile config.status: creating src/dynamic-examples/dynamic-rule/Makefile config.status: creating src/dynamic-plugins/Makefile config.status: creating src/dynamic-plugins/sf_engine/Makefile config.status: creating src/dynamic-plugins/sf_engine/examples/Makefile config.status: creating src/dynamic-plugins/sf_preproc_example/Makefile config.status: creating src/dynamic-preprocessors/Makefile config.status: creating src/dynamic-preprocessors/libs/Makefile config.status: creating src/dynamic-preprocessors/libs/snort_preproc.pc config.status: creating src/dynamic-preprocessors/ftptelnet/Makefile config.status: creating src/dynamic-preprocessors/smtp/Makefile config.status: creating src/dynamic-preprocessors/ssh/Makefile config.status: creating src/dynamic-preprocessors/sip/Makefile config.status: creating src/dynamic-preprocessors/reputation/Makefile config.status: creating src/dynamic-preprocessors/gtp/Makefile config.status: creating src/dynamic-preprocessors/dcerpc2/Makefile config.status: creating src/dynamic-preprocessors/pop/Makefile config.status: creating src/dynamic-preprocessors/imap/Makefile config.status: creating src/dynamic-preprocessors/sdf/Makefile config.status: creating src/dynamic-preprocessors/dns/Makefile config.status: creating src/dynamic-preprocessors/ssl/Makefile config.status: creating src/dynamic-preprocessors/modbus/Makefile config.status: creating src/dynamic-preprocessors/dnp3/Makefile config.status: creating src/dynamic-preprocessors/file/Makefile config.status: creating src/dynamic-preprocessors/appid/Makefile config.status: creating src/dynamic-output/Makefile config.status: creating src/dynamic-output/plugins/Makefile config.status: creating src/dynamic-output/libs/Makefile config.status: creating src/dynamic-output/libs/snort_output.pc config.status: creating src/output-plugins/Makefile config.status: creating src/preprocessors/Makefile config.status: creating src/preprocessors/HttpInspect/Makefile config.status: creating src/preprocessors/HttpInspect/include/Makefile config.status: creating src/preprocessors/HttpInspect/utils/Makefile config.status: creating src/preprocessors/HttpInspect/anomaly_detection/Makefile config.status: creating src/preprocessors/HttpInspect/client/Makefile config.status: creating src/preprocessors/HttpInspect/files/Makefile config.status: creating src/preprocessors/HttpInspect/event_output/Makefile config.status: creating src/preprocessors/HttpInspect/mode_inspection/Makefile config.status: creating src/preprocessors/HttpInspect/normalization/Makefile config.status: creating src/preprocessors/HttpInspect/server/Makefile config.status: creating src/preprocessors/HttpInspect/session_inspection/Makefile config.status: creating src/preprocessors/HttpInspect/user_interface/Makefile config.status: creating src/preprocessors/Session/Makefile config.status: creating src/preprocessors/Stream6/Makefile config.status: creating src/parser/Makefile config.status: creating src/target-based/Makefile config.status: creating doc/Makefile config.status: creating rpm/Makefile config.status: creating preproc_rules/Makefile config.status: creating m4/Makefile config.status: creating etc/Makefile config.status: creating templates/Makefile config.status: creating tools/Makefile config.status: creating tools/control/Makefile config.status: creating tools/u2boat/Makefile config.status: creating tools/u2spewfoo/Makefile config.status: creating tools/u2openappid/Makefile config.status: creating tools/u2streamer/Makefile config.status: creating tools/file_server/Makefile config.status: creating src/win32/Makefile config.status: creating src/reload-adjust/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp