=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for libmicrohttpd-1.0.1.tar.gz => Checksum SHA512 OK for libmicrohttpd-1.0.1.tar.gz ===> Installing dependencies for libmicrohttpd-1.0.1nb2 ========================================================================== The following variables will affect the build process of this package, libmicrohttpd-1.0.1nb2. Their current value is shown below: * KRB5_DEFAULT = heimdal * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal 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 `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Build dependency curl>=8.7.1nb1: found curl-8.9.1 => Full dependency gnutls>=3.8.5nb2: found gnutls-3.8.6 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for libmicrohttpd-1.0.1nb2 ===> Extracting for libmicrohttpd-1.0.1nb2 ===> Patching for libmicrohttpd-1.0.1nb2 ===> Creating toolchain wrappers for libmicrohttpd-1.0.1nb2 ===> Configuring for libmicrohttpd-1.0.1nb2 => Generating pkg-config files for builtin xz package. => 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 => Adding run-time search paths to pkg-config files. checking for build type... neutral. Defaults: use only user-specified compiler and linker flags checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users checking whether build environment is sane... yes checking for a race-free mkdir -p... ./build-aux/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 gawk... (cached) /usr/bin/awk checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for fgrep... /usr/bin/grep -F checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking for x86_64--netbsd-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for presence of stdio.h... yes checking for presence of wchar.h... yes checking for presence of stdlib.h... yes checking for presence of string.h... yes checking for presence of strings.h... yes checking for presence of stdint.h... yes checking for presence of fcntl.h... yes checking for presence of sys/types.h... yes checking for presence of time.h... yes checking for presence of unistd.h... yes checking whether _GNU_SOURCE is already defined... no checking whether headers accept _GNU_SOURCE... yes checking whether to try __BSD_VISIBLE macro... no checking whether to try _DARWIN_C_SOURCE macro... no checking whether to try __EXTENSIONS__ macro... no checking whether to try _NETBSD_SOURCE macro... yes checking whether _NETBSD_SOURCE is already defined... no checking whether headers accept _NETBSD_SOURCE... yes checking whether to try _BSD_SOURCE macro... no checking whether to try _TANDEM_SOURCE macro... no checking whether to try _ALL_SOURCE macro... no checking whether _XOPEN_SOURCE is already defined... no checking headers for POSIX.1-2008/SUSv4 features... available, works with _XOPEN_SOURCE=700, works with extension macro checking for useful system-specific features... no checking for final set of defined symbols... _GNU_SOURCE _NETBSD_SOURCE _XOPEN_SOURCE=700 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... (cached) /usr/bin/egrep checking for ld used by gcc... /pbulk/work/www/libmicrohttpd/work/.cwrapper/bin/ld checking if the linker (/pbulk/work/www/libmicrohttpd/work/.cwrapper/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 the maximum length of command line arguments... (cached) 262144 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 /pbulk/work/www/libmicrohttpd/work/.cwrapper/bin/ld option to reload object files... -r checking for x86_64--netbsd-file... no checking for file... file 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 gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64--netbsd-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 errno.h... yes checking for limits.h... yes checking for fcntl.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... yes 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 (/pbulk/work/www/libmicrohttpd/work/.cwrapper/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-windres... no checking for windres... no checking for gcc options needed to detect all undeclared functions... none needed checking whether MHD_FAVOR_SMALL_CODE is declared... no checking whether MHD_FAVOR_FAST_CODE is declared... no checking whether compiler is configured to optimize for size... no checking whether to use a reduced size version of the code... no (by default) checking for gcc flag to warn on unknown -W parameters... none needed checking whether gcc supports -Wunused-command-line-argument flag... no checking whether gcc supports -Wignored-optimization-argument flag... no checking whether gcc supports -Winvalid-command-line-argument flag... no checking whether gcc supports -Wunknown-argument flag... no checking whether gcc supports -fno-strict-aliasing flag... yes checking whether gcc supports -qlonglong flag... no checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/uio.h... yes checking for sys/time.h... yes checking for time.h... yes checking for endian.h... yes checking for machine/endian.h... yes checking for sys/endian.h... yes checking for sys/byteorder.h... no checking for sys/machine.h... no checking for machine/param.h... yes checking for sys/param.h... yes checking for sys/isa_defs.h... no checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for sys/select.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for net/if.h... yes checking for netdb.h... yes checking for sockLib.h... no checking for inetLib.h... no checking for sys/msg.h... yes checking for sys/mman.h... yes checking for signal.h... yes checking for search.h... yes checking for proper tsearch(), tfind() and tdelete()... yes checking for sys/sysctl.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/icmp_var.h... yes checking for stdbool.h... yes checking for bool... yes checking whether "true" is defined or builtin... yes checking whether "false" is defined or builtin... yes checking whether "true" and "false" could be used... yes checking whether C compiler accepts -Werror=attributes... yes checking whether -Werror=attributes actually works... yes checking for function inline keywords supported by gcc... inline __attribute__((always_inline)) checking for stdalign.h... yes checking for C11 'alignof()' support... yes checking for target host OS... NetBSD 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... no checking for PTHREAD_PRIO_INHERIT... yes checking whether pthread_sigmask(3) is available... yes checking for threading lib to use with libmicrohttpd (auto)... posix checking for pthread_np.h... no checking whether pthread_attr_setname_np is declared... yes checking for pthread_attr_setname_np(3) in NetBSD or OSF1 form... yes checking whether to enable thread names... yes checking whether socket is declared... yes checking for library containing function socket... none required checking for sys/time.h... (cached) yes checking for time.h... (cached) yes checking whether gettimeofday is declared... yes checking for function gettimeofday... yes checking whether usleep is declared... yes checking for function usleep... yes checking whether nanosleep is declared... yes checking for function nanosleep... yes checking for string.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for netinet/in.h... (cached) yes checking for time.h... (cached) yes checking for sys/select.h... (cached) yes checking for netinet/tcp.h... (cached) yes checking whether shutdown of listen socket triggers select()... yes checking for system default FD_SETSIZE value... 256 checking for current FD_SETSIZE value... 256 checking whether FD_SETSIZE is overridable... yes checking whether socket value is a signed type... yes checking whether writev is declared... yes checking for function writev... yes checking whether sendmsg is declared... yes checking for library containing function sendmsg... none required checking whether byte ordering is bigendian... no checking for variable-length arrays... yes checking whether __func__ magic-macro is available... yes checking whether __builtin_bswap32() is available... yes checking whether __builtin_bswap64() is available... yes checking for curl... yes checking for makeinfo... yes checking for poll.h... yes checking whether poll is declared... yes checking for function poll... yes checking for linux/version.h... no checking for Linux epoll(7) interface... no checking for supported 'noreturn' keyword... _Noreturn checking size of tv_sec member of struct timeval... 8 checking size of int64_t... 8 checking size of uint64_t... 8 checking size of int... 4 checking size of unsigned int... 4 checking size of unsigned long long... 8 checking size of size_t... 8 checking for dlfcn.h... (cached) yes checking for zlib.h... yes checking whether random is declared... yes checking for function random... yes checking for struct sockaddr.sa_len... yes checking for struct sockaddr_storage.ss_len... yes checking for struct sockaddr_in.sin_len... yes checking for struct sockaddr_in6.sin6_len... yes checking for working getsockname()... yes checking for usable PAGESIZE macro... no checking for usable PAGE_SIZE macro... no checking for working eventfd(2)... yes checking whether accept4 is declared... yes checking for function accept4... yes checking whether gmtime_r is declared... yes checking for function gmtime_r... yes checking whether memmem is declared... yes checking for function memmem... yes checking whether snprintf is declared... yes checking for function snprintf... yes checking whether gmtime_s is declared... no checking whether SOCK_NONBLOCK is declared... yes checking whether clock_gettime is declared... yes checking for library containing function clock_gettime... none required checking whether clock_get_time is declared... no checking for function clock_get_time... no checking whether gethrtime is declared... no checking for function gethrtime... no checking whether timespec_get is declared... yes checking for function timespec_get... yes checking for sys/time.h... (cached) yes checking for time.h... (cached) yes checking for function gettimeofday... (cached) yes checking for IPv6... yes checking whether sysconf is declared... yes checking for function sysconf... yes checking whether sysctl is declared... yes checking for function sysctl... yes checking whether CTL_NET is declared... yes checking whether PF_INET is declared... yes checking whether IPPROTO_ICMP is declared... yes checking whether ICMPCTL_ICMPLIM is declared... no checking whether sysctlbyname is declared... yes checking for function sysctlbyname... yes checking for function usleep... (cached) yes checking for function nanosleep... (cached) yes checking whether gcc supports -fvisibility=hidden flag... yes checking whether gcc supports __attribute__((visibility("default")))... yes checking for gawk... (cached) /usr/bin/awk checking for curl-config... /usr/pkg/bin/curl-config checking for the version of libcurl... 8.9.1 checking for libcurl >= version 7.16.4... yes checking whether libcurl is usable... yes checking whether curl_free is declared... yes checking whether magic_open is declared... yes checking for function magic_open... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking whether lseek64 is declared... no checking for function lseek64... no checking whether pread64 is declared... no checking for function pread64... no checking whether pread is declared... yes checking for function pread... yes checking for Linux-style sendfile(2)... no checking for FreeBSD-style sendfile(2)... no checking for Darwin-style sendfile(2)... no checking for Solaris-style sendfile(3)... no checking whether to generate text messages... yes checking whether to enable postprocessor... yes checking pkg-config is at least version 0.9.0... yes checking how to find GnuTLS library... automatically checking for gnutls... no checking for gnutls/gnutls.h... yes checking for gnutls_priority_set in -lgnutls... yes checking for gnutls_privkey_import_x509_raw()... yes checking whether GnuTLS require libgcrypt initialisation... no checking whether to support HTTPS... yes (using libgnutls) checking for GnuTLS quirks... no checking for gnutls-cli binary... yes checking whether to support HTTP Basic authentication... yes checking whether to support HTTP Digest authentication... yes checking for Digest Authentication default nonce timeout value... 90 seconds (default) checking for Digest Authentication default maximum nc value... 1000 (default) checking whether to support HTTP "Upgrade"... yes checking whether to support HTTP cookie parsing... yes checking whether to support MD5... yes, built-in checking whether to support SHA-256... yes, built-in checking whether to support SHA-512/256... yes, built-in checking for calloc()... yes checking whether IPv6 could be used for testing... yes checking for features.h... no checking for sys/pstat.h... no checking for vxCpuLib.h... no checking whether _SC_NPROCESSORS_ONLN is declared... yes checking whether _SC_NPROC_ONLN is declared... no checking whether _SC_CRAY_NCPU is declared... no checking whether _SC_NPROCESSORS_CONF is declared... yes checking whether CTL_HW is declared... yes checking whether HW_NCPUONLINE is declared... yes checking whether HW_NCPU is declared... yes checking whether HW_AVAILCPU is declared... no checking whether pstat_getdynamic is declared... no checking for function pstat_getdynamic... no checking whether vxCpuEnabledGet is declared... no checking for function vxCpuEnabledGet... no checking for sched.h... yes checking for sys/_cpuset.h... no checking for sys/cpuset.h... no checking whether getpid is declared... yes checking for function getpid... yes checking whether sched_getaffinity is declared... no checking for function sched_getaffinity... no checking whether sched_getaffinity_np is declared... yes checking for function sched_getaffinity_np... yes checking whether cpuset_getaffinity is declared... no checking for function cpuset_getaffinity... no checking for fork()... yes checking for waitpid()... yes checking whether to compile with support for code coverage analysis... no checking the number of available CPUs... 48 checking for number of CPU cores to use in tests... 6 checking whether NDEBUG macro is defined... no checking whether _DEBUG macro is defined... no checking whether DEBUG macro is defined... no checking whether to enable debug asserts... no checking whether to enable run-time sanitizers... no checking whether to compile experimental code... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating src/microhttpd/microhttpd_dll_res.rc config.status: creating po/po-configure.ac config.status: creating libmicrohttpd.pc config.status: creating w32/common/microhttpd_dll_res_vc.rc config.status: creating Makefile config.status: creating contrib/Makefile config.status: creating doc/Makefile config.status: creating doc/doxygen/libmicrohttpd.doxy config.status: creating doc/doxygen/Makefile config.status: creating doc/examples/Makefile config.status: creating m4/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating src/microhttpd/Makefile config.status: creating src/microhttpd_ws/Makefile config.status: creating src/examples/Makefile config.status: creating src/tools/Makefile config.status: creating src/testcurl/Makefile config.status: creating src/testcurl/https/Makefile config.status: creating src/testzzuf/Makefile config.status: creating MHD_config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory config.status: executing po/Makefile.in commands Skipping update of po/Makefile.in Real update of po/Makefile.in for 'make dist' is performed by po-config.status config.status: executing po-directories commands Skipping po-directories command. Real po-directories command for 'make dist' is implemented in po-config.status configure: Toolchain settings: CC=gcc User/system/default flags: CPPFLAGS="-I/usr/pkg/include -I/usr/include -I/usr/include/krb5" CFLAGS= "-O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5" LDFLAGS= "-Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib" Final set of the flags for tests and examples: CPPFLAGS="-DNDEBUG=1 -D_GNU_SOURCE -D_NETBSD_SOURCE -D_XOPEN_SOURCE=700 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5" CFLAGS= "-fno-strict-aliasing -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5" LDFLAGS= "-Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib" Final set of the flags for GNU libmicrohttpd library: CPPFLAGS="-DNDEBUG=1 -D_GNU_SOURCE -D_NETBSD_SOURCE -D_XOPEN_SOURCE=700 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5" CFLAGS= "-fno-strict-aliasing -pthread -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5" LDFLAGS= "-Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib" configure: GNU libmicrohttpd 1.0.1 Configuration Summary: Target directory: /usr/pkg Cross-compiling: no Operating System: NetBSD Threading lib: posix Inter-thread comm: eventfd Shutdown of listening socket triggers select: yes poll support: yes epoll support: no sendfile used: no HTTPS support: yes (using libgnutls) Messages: yes Cookie parsing: yes Postproc: yes Basic auth.: yes Digest auth.: yes Digest auth. defaults: timeout: 90 seconds (default), max nc: 1000 (default) MD5: yes, built-in SHA-256: yes, built-in SHA-512/256: yes, built-in HTTP "Upgrade": yes Compact code: no (by default) Use thread names: yes Use debug asserts: no Use sanitizers: no Build static lib: yes Build shared lib: yes Build docs: yes Build examples: yes Build tools: yes Test with libcurl: yes Heavy tests: no Fuzzing tests: no, heavy tests are not enabled configure: HTTPS subsystem configuration: License : LGPL version 2.1 or any later version => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp